pub fn is_operation_not_supported_exception(&self) -> bool {
        matches!(
            &self.kind,
            DescribePortfolioShareStatusErrorKind::OperationNotSupportedException(_)
        )
    }
/// Returns `true` if the error kind is `DescribePortfolioShareStatusErrorKind::OperationNotSupportedException`.
Returns `true` if the error kind is `DescribePortfolioShareStatusErrorKind::OperationNotSupportedException`.
Returns ` true ` if the error kind is ` DescribePortfolioShareStatusErrorKind :: OperationNotSupportedException ` .
pub fn is_operation_not_supported_exception(&self) -> bool {
        matches!(
            &self.kind,
            DescribePortfolioShareStatusErrorKind::OperationNotSupportedException(_)
        )
    }
pub fn is_operation_not_supported_exception ( & self ) -> bool { matches ! ( self kind DescribePortfolioShareStatusErrorKind OperationNotSupportedException ( ) ) }
Returns `true` if the error kind is `DescribePortfolioShareStatusErrorKind::OperationNotSupportedException`.
Returns ` true ` if the error kind is ` DescribePortfolioShareStatusErrorKind :: OperationNotSupportedException ` .
&self
&self