/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once /* Generic header includes */ #include #include #include #include #include #include #include #include #include /* End of generic header includes */ /* Service model headers required in BackupClient header */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include /* End of service model headers required in BackupClient header */ namespace Aws { namespace Http { class HttpClient; class HttpClientFactory; } // namespace Http namespace Utils { template< typename R, typename E> class Outcome; namespace Threading { class Executor; } // namespace Threading } // namespace Utils namespace Auth { class AWSCredentials; class AWSCredentialsProvider; } // namespace Auth namespace Client { class RetryStrategy; } // namespace Client namespace Backup { using BackupClientConfiguration = Aws::Client::GenericClientConfiguration; using BackupEndpointProviderBase = Aws::Backup::Endpoint::BackupEndpointProviderBase; using BackupEndpointProvider = Aws::Backup::Endpoint::BackupEndpointProvider; namespace Model { /* Service model forward declarations required in BackupClient header */ class CancelLegalHoldRequest; class CreateBackupPlanRequest; class CreateBackupSelectionRequest; class CreateBackupVaultRequest; class CreateFrameworkRequest; class CreateLegalHoldRequest; class CreateReportPlanRequest; class DeleteBackupPlanRequest; class DeleteBackupSelectionRequest; class DeleteBackupVaultRequest; class DeleteBackupVaultAccessPolicyRequest; class DeleteBackupVaultLockConfigurationRequest; class DeleteBackupVaultNotificationsRequest; class DeleteFrameworkRequest; class DeleteRecoveryPointRequest; class DeleteReportPlanRequest; class DescribeBackupJobRequest; class DescribeBackupVaultRequest; class DescribeCopyJobRequest; class DescribeFrameworkRequest; class DescribeGlobalSettingsRequest; class DescribeProtectedResourceRequest; class DescribeRecoveryPointRequest; class DescribeRegionSettingsRequest; class DescribeReportJobRequest; class DescribeReportPlanRequest; class DescribeRestoreJobRequest; class DisassociateRecoveryPointRequest; class DisassociateRecoveryPointFromParentRequest; class ExportBackupPlanTemplateRequest; class GetBackupPlanRequest; class GetBackupPlanFromJSONRequest; class GetBackupPlanFromTemplateRequest; class GetBackupSelectionRequest; class GetBackupVaultAccessPolicyRequest; class GetBackupVaultNotificationsRequest; class GetLegalHoldRequest; class GetRecoveryPointRestoreMetadataRequest; class ListBackupJobsRequest; class ListBackupPlanTemplatesRequest; class ListBackupPlanVersionsRequest; class ListBackupPlansRequest; class ListBackupSelectionsRequest; class ListBackupVaultsRequest; class ListCopyJobsRequest; class ListFrameworksRequest; class ListLegalHoldsRequest; class ListProtectedResourcesRequest; class ListRecoveryPointsByBackupVaultRequest; class ListRecoveryPointsByLegalHoldRequest; class ListRecoveryPointsByResourceRequest; class ListReportJobsRequest; class ListReportPlansRequest; class ListRestoreJobsRequest; class ListTagsRequest; class PutBackupVaultAccessPolicyRequest; class PutBackupVaultLockConfigurationRequest; class PutBackupVaultNotificationsRequest; class StartBackupJobRequest; class StartCopyJobRequest; class StartReportJobRequest; class StartRestoreJobRequest; class StopBackupJobRequest; class TagResourceRequest; class UntagResourceRequest; class UpdateBackupPlanRequest; class UpdateFrameworkRequest; class UpdateGlobalSettingsRequest; class UpdateRecoveryPointLifecycleRequest; class UpdateRegionSettingsRequest; class UpdateReportPlanRequest; /* End of service model forward declarations required in BackupClient header */ /* Service model Outcome class definitions */ typedef Aws::Utils::Outcome CancelLegalHoldOutcome; typedef Aws::Utils::Outcome CreateBackupPlanOutcome; typedef Aws::Utils::Outcome CreateBackupSelectionOutcome; typedef Aws::Utils::Outcome CreateBackupVaultOutcome; typedef Aws::Utils::Outcome CreateFrameworkOutcome; typedef Aws::Utils::Outcome CreateLegalHoldOutcome; typedef Aws::Utils::Outcome CreateReportPlanOutcome; typedef Aws::Utils::Outcome DeleteBackupPlanOutcome; typedef Aws::Utils::Outcome DeleteBackupSelectionOutcome; typedef Aws::Utils::Outcome DeleteBackupVaultOutcome; typedef Aws::Utils::Outcome DeleteBackupVaultAccessPolicyOutcome; typedef Aws::Utils::Outcome DeleteBackupVaultLockConfigurationOutcome; typedef Aws::Utils::Outcome DeleteBackupVaultNotificationsOutcome; typedef Aws::Utils::Outcome DeleteFrameworkOutcome; typedef Aws::Utils::Outcome DeleteRecoveryPointOutcome; typedef Aws::Utils::Outcome DeleteReportPlanOutcome; typedef Aws::Utils::Outcome DescribeBackupJobOutcome; typedef Aws::Utils::Outcome DescribeBackupVaultOutcome; typedef Aws::Utils::Outcome DescribeCopyJobOutcome; typedef Aws::Utils::Outcome DescribeFrameworkOutcome; typedef Aws::Utils::Outcome DescribeGlobalSettingsOutcome; typedef Aws::Utils::Outcome DescribeProtectedResourceOutcome; typedef Aws::Utils::Outcome DescribeRecoveryPointOutcome; typedef Aws::Utils::Outcome DescribeRegionSettingsOutcome; typedef Aws::Utils::Outcome DescribeReportJobOutcome; typedef Aws::Utils::Outcome DescribeReportPlanOutcome; typedef Aws::Utils::Outcome DescribeRestoreJobOutcome; typedef Aws::Utils::Outcome DisassociateRecoveryPointOutcome; typedef Aws::Utils::Outcome DisassociateRecoveryPointFromParentOutcome; typedef Aws::Utils::Outcome ExportBackupPlanTemplateOutcome; typedef Aws::Utils::Outcome GetBackupPlanOutcome; typedef Aws::Utils::Outcome GetBackupPlanFromJSONOutcome; typedef Aws::Utils::Outcome GetBackupPlanFromTemplateOutcome; typedef Aws::Utils::Outcome GetBackupSelectionOutcome; typedef Aws::Utils::Outcome GetBackupVaultAccessPolicyOutcome; typedef Aws::Utils::Outcome GetBackupVaultNotificationsOutcome; typedef Aws::Utils::Outcome GetLegalHoldOutcome; typedef Aws::Utils::Outcome GetRecoveryPointRestoreMetadataOutcome; typedef Aws::Utils::Outcome GetSupportedResourceTypesOutcome; typedef Aws::Utils::Outcome ListBackupJobsOutcome; typedef Aws::Utils::Outcome ListBackupPlanTemplatesOutcome; typedef Aws::Utils::Outcome ListBackupPlanVersionsOutcome; typedef Aws::Utils::Outcome ListBackupPlansOutcome; typedef Aws::Utils::Outcome ListBackupSelectionsOutcome; typedef Aws::Utils::Outcome ListBackupVaultsOutcome; typedef Aws::Utils::Outcome ListCopyJobsOutcome; typedef Aws::Utils::Outcome ListFrameworksOutcome; typedef Aws::Utils::Outcome ListLegalHoldsOutcome; typedef Aws::Utils::Outcome ListProtectedResourcesOutcome; typedef Aws::Utils::Outcome ListRecoveryPointsByBackupVaultOutcome; typedef Aws::Utils::Outcome ListRecoveryPointsByLegalHoldOutcome; typedef Aws::Utils::Outcome ListRecoveryPointsByResourceOutcome; typedef Aws::Utils::Outcome ListReportJobsOutcome; typedef Aws::Utils::Outcome ListReportPlansOutcome; typedef Aws::Utils::Outcome ListRestoreJobsOutcome; typedef Aws::Utils::Outcome ListTagsOutcome; typedef Aws::Utils::Outcome PutBackupVaultAccessPolicyOutcome; typedef Aws::Utils::Outcome PutBackupVaultLockConfigurationOutcome; typedef Aws::Utils::Outcome PutBackupVaultNotificationsOutcome; typedef Aws::Utils::Outcome StartBackupJobOutcome; typedef Aws::Utils::Outcome StartCopyJobOutcome; typedef Aws::Utils::Outcome StartReportJobOutcome; typedef Aws::Utils::Outcome StartRestoreJobOutcome; typedef Aws::Utils::Outcome StopBackupJobOutcome; typedef Aws::Utils::Outcome TagResourceOutcome; typedef Aws::Utils::Outcome UntagResourceOutcome; typedef Aws::Utils::Outcome UpdateBackupPlanOutcome; typedef Aws::Utils::Outcome UpdateFrameworkOutcome; typedef Aws::Utils::Outcome UpdateGlobalSettingsOutcome; typedef Aws::Utils::Outcome UpdateRecoveryPointLifecycleOutcome; typedef Aws::Utils::Outcome UpdateRegionSettingsOutcome; typedef Aws::Utils::Outcome UpdateReportPlanOutcome; /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ typedef std::future CancelLegalHoldOutcomeCallable; typedef std::future CreateBackupPlanOutcomeCallable; typedef std::future CreateBackupSelectionOutcomeCallable; typedef std::future CreateBackupVaultOutcomeCallable; typedef std::future CreateFrameworkOutcomeCallable; typedef std::future CreateLegalHoldOutcomeCallable; typedef std::future CreateReportPlanOutcomeCallable; typedef std::future DeleteBackupPlanOutcomeCallable; typedef std::future DeleteBackupSelectionOutcomeCallable; typedef std::future DeleteBackupVaultOutcomeCallable; typedef std::future DeleteBackupVaultAccessPolicyOutcomeCallable; typedef std::future DeleteBackupVaultLockConfigurationOutcomeCallable; typedef std::future DeleteBackupVaultNotificationsOutcomeCallable; typedef std::future DeleteFrameworkOutcomeCallable; typedef std::future DeleteRecoveryPointOutcomeCallable; typedef std::future DeleteReportPlanOutcomeCallable; typedef std::future DescribeBackupJobOutcomeCallable; typedef std::future DescribeBackupVaultOutcomeCallable; typedef std::future DescribeCopyJobOutcomeCallable; typedef std::future DescribeFrameworkOutcomeCallable; typedef std::future DescribeGlobalSettingsOutcomeCallable; typedef std::future DescribeProtectedResourceOutcomeCallable; typedef std::future DescribeRecoveryPointOutcomeCallable; typedef std::future DescribeRegionSettingsOutcomeCallable; typedef std::future DescribeReportJobOutcomeCallable; typedef std::future DescribeReportPlanOutcomeCallable; typedef std::future DescribeRestoreJobOutcomeCallable; typedef std::future DisassociateRecoveryPointOutcomeCallable; typedef std::future DisassociateRecoveryPointFromParentOutcomeCallable; typedef std::future ExportBackupPlanTemplateOutcomeCallable; typedef std::future GetBackupPlanOutcomeCallable; typedef std::future GetBackupPlanFromJSONOutcomeCallable; typedef std::future GetBackupPlanFromTemplateOutcomeCallable; typedef std::future GetBackupSelectionOutcomeCallable; typedef std::future GetBackupVaultAccessPolicyOutcomeCallable; typedef std::future GetBackupVaultNotificationsOutcomeCallable; typedef std::future GetLegalHoldOutcomeCallable; typedef std::future GetRecoveryPointRestoreMetadataOutcomeCallable; typedef std::future GetSupportedResourceTypesOutcomeCallable; typedef std::future ListBackupJobsOutcomeCallable; typedef std::future ListBackupPlanTemplatesOutcomeCallable; typedef std::future ListBackupPlanVersionsOutcomeCallable; typedef std::future ListBackupPlansOutcomeCallable; typedef std::future ListBackupSelectionsOutcomeCallable; typedef std::future ListBackupVaultsOutcomeCallable; typedef std::future ListCopyJobsOutcomeCallable; typedef std::future ListFrameworksOutcomeCallable; typedef std::future ListLegalHoldsOutcomeCallable; typedef std::future ListProtectedResourcesOutcomeCallable; typedef std::future ListRecoveryPointsByBackupVaultOutcomeCallable; typedef std::future ListRecoveryPointsByLegalHoldOutcomeCallable; typedef std::future ListRecoveryPointsByResourceOutcomeCallable; typedef std::future ListReportJobsOutcomeCallable; typedef std::future ListReportPlansOutcomeCallable; typedef std::future ListRestoreJobsOutcomeCallable; typedef std::future ListTagsOutcomeCallable; typedef std::future PutBackupVaultAccessPolicyOutcomeCallable; typedef std::future PutBackupVaultLockConfigurationOutcomeCallable; typedef std::future PutBackupVaultNotificationsOutcomeCallable; typedef std::future StartBackupJobOutcomeCallable; typedef std::future StartCopyJobOutcomeCallable; typedef std::future StartReportJobOutcomeCallable; typedef std::future StartRestoreJobOutcomeCallable; typedef std::future StopBackupJobOutcomeCallable; typedef std::future TagResourceOutcomeCallable; typedef std::future UntagResourceOutcomeCallable; typedef std::future UpdateBackupPlanOutcomeCallable; typedef std::future UpdateFrameworkOutcomeCallable; typedef std::future UpdateGlobalSettingsOutcomeCallable; typedef std::future UpdateRecoveryPointLifecycleOutcomeCallable; typedef std::future UpdateRegionSettingsOutcomeCallable; typedef std::future UpdateReportPlanOutcomeCallable; /* End of service model Outcome callable definitions */ } // namespace Model class BackupClient; /* Service model async handlers definitions */ typedef std::function&) > CancelLegalHoldResponseReceivedHandler; typedef std::function&) > CreateBackupPlanResponseReceivedHandler; typedef std::function&) > CreateBackupSelectionResponseReceivedHandler; typedef std::function&) > CreateBackupVaultResponseReceivedHandler; typedef std::function&) > CreateFrameworkResponseReceivedHandler; typedef std::function&) > CreateLegalHoldResponseReceivedHandler; typedef std::function&) > CreateReportPlanResponseReceivedHandler; typedef std::function&) > DeleteBackupPlanResponseReceivedHandler; typedef std::function&) > DeleteBackupSelectionResponseReceivedHandler; typedef std::function&) > DeleteBackupVaultResponseReceivedHandler; typedef std::function&) > DeleteBackupVaultAccessPolicyResponseReceivedHandler; typedef std::function&) > DeleteBackupVaultLockConfigurationResponseReceivedHandler; typedef std::function&) > DeleteBackupVaultNotificationsResponseReceivedHandler; typedef std::function&) > DeleteFrameworkResponseReceivedHandler; typedef std::function&) > DeleteRecoveryPointResponseReceivedHandler; typedef std::function&) > DeleteReportPlanResponseReceivedHandler; typedef std::function&) > DescribeBackupJobResponseReceivedHandler; typedef std::function&) > DescribeBackupVaultResponseReceivedHandler; typedef std::function&) > DescribeCopyJobResponseReceivedHandler; typedef std::function&) > DescribeFrameworkResponseReceivedHandler; typedef std::function&) > DescribeGlobalSettingsResponseReceivedHandler; typedef std::function&) > DescribeProtectedResourceResponseReceivedHandler; typedef std::function&) > DescribeRecoveryPointResponseReceivedHandler; typedef std::function&) > DescribeRegionSettingsResponseReceivedHandler; typedef std::function&) > DescribeReportJobResponseReceivedHandler; typedef std::function&) > DescribeReportPlanResponseReceivedHandler; typedef std::function&) > DescribeRestoreJobResponseReceivedHandler; typedef std::function&) > DisassociateRecoveryPointResponseReceivedHandler; typedef std::function&) > DisassociateRecoveryPointFromParentResponseReceivedHandler; typedef std::function&) > ExportBackupPlanTemplateResponseReceivedHandler; typedef std::function&) > GetBackupPlanResponseReceivedHandler; typedef std::function&) > GetBackupPlanFromJSONResponseReceivedHandler; typedef std::function&) > GetBackupPlanFromTemplateResponseReceivedHandler; typedef std::function&) > GetBackupSelectionResponseReceivedHandler; typedef std::function&) > GetBackupVaultAccessPolicyResponseReceivedHandler; typedef std::function&) > GetBackupVaultNotificationsResponseReceivedHandler; typedef std::function&) > GetLegalHoldResponseReceivedHandler; typedef std::function&) > GetRecoveryPointRestoreMetadataResponseReceivedHandler; typedef std::function&) > GetSupportedResourceTypesResponseReceivedHandler; typedef std::function&) > ListBackupJobsResponseReceivedHandler; typedef std::function&) > ListBackupPlanTemplatesResponseReceivedHandler; typedef std::function&) > ListBackupPlanVersionsResponseReceivedHandler; typedef std::function&) > ListBackupPlansResponseReceivedHandler; typedef std::function&) > ListBackupSelectionsResponseReceivedHandler; typedef std::function&) > ListBackupVaultsResponseReceivedHandler; typedef std::function&) > ListCopyJobsResponseReceivedHandler; typedef std::function&) > ListFrameworksResponseReceivedHandler; typedef std::function&) > ListLegalHoldsResponseReceivedHandler; typedef std::function&) > ListProtectedResourcesResponseReceivedHandler; typedef std::function&) > ListRecoveryPointsByBackupVaultResponseReceivedHandler; typedef std::function&) > ListRecoveryPointsByLegalHoldResponseReceivedHandler; typedef std::function&) > ListRecoveryPointsByResourceResponseReceivedHandler; typedef std::function&) > ListReportJobsResponseReceivedHandler; typedef std::function&) > ListReportPlansResponseReceivedHandler; typedef std::function&) > ListRestoreJobsResponseReceivedHandler; typedef std::function&) > ListTagsResponseReceivedHandler; typedef std::function&) > PutBackupVaultAccessPolicyResponseReceivedHandler; typedef std::function&) > PutBackupVaultLockConfigurationResponseReceivedHandler; typedef std::function&) > PutBackupVaultNotificationsResponseReceivedHandler; typedef std::function&) > StartBackupJobResponseReceivedHandler; typedef std::function&) > StartCopyJobResponseReceivedHandler; typedef std::function&) > StartReportJobResponseReceivedHandler; typedef std::function&) > StartRestoreJobResponseReceivedHandler; typedef std::function&) > StopBackupJobResponseReceivedHandler; typedef std::function&) > TagResourceResponseReceivedHandler; typedef std::function&) > UntagResourceResponseReceivedHandler; typedef std::function&) > UpdateBackupPlanResponseReceivedHandler; typedef std::function&) > UpdateFrameworkResponseReceivedHandler; typedef std::function&) > UpdateGlobalSettingsResponseReceivedHandler; typedef std::function&) > UpdateRecoveryPointLifecycleResponseReceivedHandler; typedef std::function&) > UpdateRegionSettingsResponseReceivedHandler; typedef std::function&) > UpdateReportPlanResponseReceivedHandler; /* End of service model async handlers definitions */ } // namespace Backup } // namespace Aws