AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BackupGatewayServiceClientModel.h
1
6#pragma once
7
8/* Generic header includes */
9#include <aws/backup-gateway/BackupGatewayEndpointProvider.h>
10#include <aws/backup-gateway/BackupGatewayErrors.h>
11#include <aws/core/client/AWSError.h>
12#include <aws/core/client/AsyncCallerContext.h>
13#include <aws/core/client/GenericClientConfiguration.h>
14#include <aws/core/http/HttpTypes.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16
17#include <functional>
18#include <future>
19/* End of generic header includes */
20
21/* Service model headers required in BackupGatewayClient header */
22#include <aws/backup-gateway/model/AssociateGatewayToServerResult.h>
23#include <aws/backup-gateway/model/CreateGatewayResult.h>
24#include <aws/backup-gateway/model/DeleteGatewayResult.h>
25#include <aws/backup-gateway/model/DeleteHypervisorResult.h>
26#include <aws/backup-gateway/model/DisassociateGatewayFromServerResult.h>
27#include <aws/backup-gateway/model/GetBandwidthRateLimitScheduleResult.h>
28#include <aws/backup-gateway/model/GetGatewayResult.h>
29#include <aws/backup-gateway/model/GetHypervisorPropertyMappingsResult.h>
30#include <aws/backup-gateway/model/GetHypervisorResult.h>
31#include <aws/backup-gateway/model/GetVirtualMachineResult.h>
32#include <aws/backup-gateway/model/ImportHypervisorConfigurationResult.h>
33#include <aws/backup-gateway/model/ListGatewaysRequest.h>
34#include <aws/backup-gateway/model/ListGatewaysResult.h>
35#include <aws/backup-gateway/model/ListHypervisorsRequest.h>
36#include <aws/backup-gateway/model/ListHypervisorsResult.h>
37#include <aws/backup-gateway/model/ListTagsForResourceResult.h>
38#include <aws/backup-gateway/model/ListVirtualMachinesRequest.h>
39#include <aws/backup-gateway/model/ListVirtualMachinesResult.h>
40#include <aws/backup-gateway/model/PutBandwidthRateLimitScheduleResult.h>
41#include <aws/backup-gateway/model/PutHypervisorPropertyMappingsResult.h>
42#include <aws/backup-gateway/model/PutMaintenanceStartTimeResult.h>
43#include <aws/backup-gateway/model/StartVirtualMachinesMetadataSyncResult.h>
44#include <aws/backup-gateway/model/TagResourceResult.h>
45#include <aws/backup-gateway/model/TestHypervisorConfigurationResult.h>
46#include <aws/backup-gateway/model/UntagResourceResult.h>
47#include <aws/backup-gateway/model/UpdateGatewayInformationResult.h>
48#include <aws/backup-gateway/model/UpdateGatewaySoftwareNowResult.h>
49#include <aws/backup-gateway/model/UpdateHypervisorResult.h>
50/* End of service model headers required in BackupGatewayClient header */
51
52namespace Aws {
53namespace Http {
54class HttpClient;
55class HttpClientFactory;
56} // namespace Http
57
58namespace Utils {
59template <typename R, typename E>
60class Outcome;
61
62namespace Threading {
63class Executor;
64} // namespace Threading
65} // namespace Utils
66
67namespace Auth {
68class AWSCredentials;
69class AWSCredentialsProvider;
70} // namespace Auth
71
72namespace Client {
73class RetryStrategy;
74} // namespace Client
75
76namespace BackupGateway {
80
81namespace Model {
82/* Service model forward declarations required in BackupGatewayClient header */
108/* End of service model forward declarations required in BackupGatewayClient header */
109
110/* Service model Outcome class definitions */
136/* End of service model Outcome class definitions */
137
138/* Service model Outcome callable definitions */
139typedef std::future<AssociateGatewayToServerOutcome> AssociateGatewayToServerOutcomeCallable;
140typedef std::future<CreateGatewayOutcome> CreateGatewayOutcomeCallable;
141typedef std::future<DeleteGatewayOutcome> DeleteGatewayOutcomeCallable;
142typedef std::future<DeleteHypervisorOutcome> DeleteHypervisorOutcomeCallable;
143typedef std::future<DisassociateGatewayFromServerOutcome> DisassociateGatewayFromServerOutcomeCallable;
144typedef std::future<GetBandwidthRateLimitScheduleOutcome> GetBandwidthRateLimitScheduleOutcomeCallable;
145typedef std::future<GetGatewayOutcome> GetGatewayOutcomeCallable;
146typedef std::future<GetHypervisorOutcome> GetHypervisorOutcomeCallable;
147typedef std::future<GetHypervisorPropertyMappingsOutcome> GetHypervisorPropertyMappingsOutcomeCallable;
148typedef std::future<GetVirtualMachineOutcome> GetVirtualMachineOutcomeCallable;
149typedef std::future<ImportHypervisorConfigurationOutcome> ImportHypervisorConfigurationOutcomeCallable;
150typedef std::future<ListGatewaysOutcome> ListGatewaysOutcomeCallable;
151typedef std::future<ListHypervisorsOutcome> ListHypervisorsOutcomeCallable;
152typedef std::future<ListTagsForResourceOutcome> ListTagsForResourceOutcomeCallable;
153typedef std::future<ListVirtualMachinesOutcome> ListVirtualMachinesOutcomeCallable;
154typedef std::future<PutBandwidthRateLimitScheduleOutcome> PutBandwidthRateLimitScheduleOutcomeCallable;
155typedef std::future<PutHypervisorPropertyMappingsOutcome> PutHypervisorPropertyMappingsOutcomeCallable;
156typedef std::future<PutMaintenanceStartTimeOutcome> PutMaintenanceStartTimeOutcomeCallable;
157typedef std::future<StartVirtualMachinesMetadataSyncOutcome> StartVirtualMachinesMetadataSyncOutcomeCallable;
158typedef std::future<TagResourceOutcome> TagResourceOutcomeCallable;
159typedef std::future<TestHypervisorConfigurationOutcome> TestHypervisorConfigurationOutcomeCallable;
160typedef std::future<UntagResourceOutcome> UntagResourceOutcomeCallable;
161typedef std::future<UpdateGatewayInformationOutcome> UpdateGatewayInformationOutcomeCallable;
162typedef std::future<UpdateGatewaySoftwareNowOutcome> UpdateGatewaySoftwareNowOutcomeCallable;
163typedef std::future<UpdateHypervisorOutcome> UpdateHypervisorOutcomeCallable;
164/* End of service model Outcome callable definitions */
165} // namespace Model
166
168
169/* Service model async handlers definitions */
170typedef std::function<void(const BackupGatewayClient*, const Model::AssociateGatewayToServerRequest&,
171 const Model::AssociateGatewayToServerOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
173typedef std::function<void(const BackupGatewayClient*, const Model::CreateGatewayRequest&, const Model::CreateGatewayOutcome&,
174 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
176typedef std::function<void(const BackupGatewayClient*, const Model::DeleteGatewayRequest&, const Model::DeleteGatewayOutcome&,
177 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
179typedef std::function<void(const BackupGatewayClient*, const Model::DeleteHypervisorRequest&, const Model::DeleteHypervisorOutcome&,
180 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
182typedef std::function<void(const BackupGatewayClient*, const Model::DisassociateGatewayFromServerRequest&,
184 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
186typedef std::function<void(const BackupGatewayClient*, const Model::GetBandwidthRateLimitScheduleRequest&,
188 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
190typedef std::function<void(const BackupGatewayClient*, const Model::GetGatewayRequest&, const Model::GetGatewayOutcome&,
191 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
193typedef std::function<void(const BackupGatewayClient*, const Model::GetHypervisorRequest&, const Model::GetHypervisorOutcome&,
194 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
196typedef std::function<void(const BackupGatewayClient*, const Model::GetHypervisorPropertyMappingsRequest&,
198 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
200typedef std::function<void(const BackupGatewayClient*, const Model::GetVirtualMachineRequest&, const Model::GetVirtualMachineOutcome&,
201 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
203typedef std::function<void(const BackupGatewayClient*, const Model::ImportHypervisorConfigurationRequest&,
205 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
207typedef std::function<void(const BackupGatewayClient*, const Model::ListGatewaysRequest&, const Model::ListGatewaysOutcome&,
208 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
210typedef std::function<void(const BackupGatewayClient*, const Model::ListHypervisorsRequest&, const Model::ListHypervisorsOutcome&,
211 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
213typedef std::function<void(const BackupGatewayClient*, const Model::ListTagsForResourceRequest&, const Model::ListTagsForResourceOutcome&,
214 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
216typedef std::function<void(const BackupGatewayClient*, const Model::ListVirtualMachinesRequest&, const Model::ListVirtualMachinesOutcome&,
217 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
219typedef std::function<void(const BackupGatewayClient*, const Model::PutBandwidthRateLimitScheduleRequest&,
221 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
223typedef std::function<void(const BackupGatewayClient*, const Model::PutHypervisorPropertyMappingsRequest&,
225 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
227typedef std::function<void(const BackupGatewayClient*, const Model::PutMaintenanceStartTimeRequest&,
228 const Model::PutMaintenanceStartTimeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
230typedef std::function<void(const BackupGatewayClient*, const Model::StartVirtualMachinesMetadataSyncRequest&,
232 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
234typedef std::function<void(const BackupGatewayClient*, const Model::TagResourceRequest&, const Model::TagResourceOutcome&,
235 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
237typedef std::function<void(const BackupGatewayClient*, const Model::TestHypervisorConfigurationRequest&,
238 const Model::TestHypervisorConfigurationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
240typedef std::function<void(const BackupGatewayClient*, const Model::UntagResourceRequest&, const Model::UntagResourceOutcome&,
241 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
243typedef std::function<void(const BackupGatewayClient*, const Model::UpdateGatewayInformationRequest&,
244 const Model::UpdateGatewayInformationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
246typedef std::function<void(const BackupGatewayClient*, const Model::UpdateGatewaySoftwareNowRequest&,
247 const Model::UpdateGatewaySoftwareNowOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
249typedef std::function<void(const BackupGatewayClient*, const Model::UpdateHypervisorRequest&, const Model::UpdateHypervisorOutcome&,
250 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
252/* End of service model async handlers definitions */
253} // namespace BackupGateway
254} // namespace Aws
EndpointProviderBase< BackupGatewayClientConfiguration, BackupGatewayBuiltInParameters, BackupGatewayClientContextParameters > BackupGatewayEndpointProviderBase
Aws::Utils::Outcome< GetHypervisorResult, BackupGatewayError > GetHypervisorOutcome
Aws::Utils::Outcome< ListGatewaysResult, BackupGatewayError > ListGatewaysOutcome
Aws::Utils::Outcome< DeleteHypervisorResult, BackupGatewayError > DeleteHypervisorOutcome
Aws::Utils::Outcome< ListTagsForResourceResult, BackupGatewayError > ListTagsForResourceOutcome
std::future< GetVirtualMachineOutcome > GetVirtualMachineOutcomeCallable
std::future< PutMaintenanceStartTimeOutcome > PutMaintenanceStartTimeOutcomeCallable
Aws::Utils::Outcome< ListVirtualMachinesResult, BackupGatewayError > ListVirtualMachinesOutcome
Aws::Utils::Outcome< UpdateGatewayInformationResult, BackupGatewayError > UpdateGatewayInformationOutcome
Aws::Utils::Outcome< GetGatewayResult, BackupGatewayError > GetGatewayOutcome
Aws::Utils::Outcome< UpdateHypervisorResult, BackupGatewayError > UpdateHypervisorOutcome
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< GetHypervisorOutcome > GetHypervisorOutcomeCallable
Aws::Utils::Outcome< StartVirtualMachinesMetadataSyncResult, BackupGatewayError > StartVirtualMachinesMetadataSyncOutcome
std::future< PutBandwidthRateLimitScheduleOutcome > PutBandwidthRateLimitScheduleOutcomeCallable
std::future< PutHypervisorPropertyMappingsOutcome > PutHypervisorPropertyMappingsOutcomeCallable
Aws::Utils::Outcome< AssociateGatewayToServerResult, BackupGatewayError > AssociateGatewayToServerOutcome
Aws::Utils::Outcome< PutMaintenanceStartTimeResult, BackupGatewayError > PutMaintenanceStartTimeOutcome
Aws::Utils::Outcome< GetBandwidthRateLimitScheduleResult, BackupGatewayError > GetBandwidthRateLimitScheduleOutcome
Aws::Utils::Outcome< ImportHypervisorConfigurationResult, BackupGatewayError > ImportHypervisorConfigurationOutcome
Aws::Utils::Outcome< ListHypervisorsResult, BackupGatewayError > ListHypervisorsOutcome
std::future< StartVirtualMachinesMetadataSyncOutcome > StartVirtualMachinesMetadataSyncOutcomeCallable
Aws::Utils::Outcome< PutHypervisorPropertyMappingsResult, BackupGatewayError > PutHypervisorPropertyMappingsOutcome
std::future< TagResourceOutcome > TagResourceOutcomeCallable
Aws::Utils::Outcome< DisassociateGatewayFromServerResult, BackupGatewayError > DisassociateGatewayFromServerOutcome
std::future< UpdateHypervisorOutcome > UpdateHypervisorOutcomeCallable
std::future< ListVirtualMachinesOutcome > ListVirtualMachinesOutcomeCallable
Aws::Utils::Outcome< TagResourceResult, BackupGatewayError > TagResourceOutcome
std::future< GetHypervisorPropertyMappingsOutcome > GetHypervisorPropertyMappingsOutcomeCallable
std::future< ImportHypervisorConfigurationOutcome > ImportHypervisorConfigurationOutcomeCallable
std::future< DeleteHypervisorOutcome > DeleteHypervisorOutcomeCallable
std::future< UpdateGatewayInformationOutcome > UpdateGatewayInformationOutcomeCallable
Aws::Utils::Outcome< DeleteGatewayResult, BackupGatewayError > DeleteGatewayOutcome
Aws::Utils::Outcome< PutBandwidthRateLimitScheduleResult, BackupGatewayError > PutBandwidthRateLimitScheduleOutcome
Aws::Utils::Outcome< GetVirtualMachineResult, BackupGatewayError > GetVirtualMachineOutcome
std::future< ListHypervisorsOutcome > ListHypervisorsOutcomeCallable
std::future< AssociateGatewayToServerOutcome > AssociateGatewayToServerOutcomeCallable
Aws::Utils::Outcome< UpdateGatewaySoftwareNowResult, BackupGatewayError > UpdateGatewaySoftwareNowOutcome
std::future< GetBandwidthRateLimitScheduleOutcome > GetBandwidthRateLimitScheduleOutcomeCallable
std::future< CreateGatewayOutcome > CreateGatewayOutcomeCallable
Aws::Utils::Outcome< GetHypervisorPropertyMappingsResult, BackupGatewayError > GetHypervisorPropertyMappingsOutcome
std::future< DisassociateGatewayFromServerOutcome > DisassociateGatewayFromServerOutcomeCallable
std::future< DeleteGatewayOutcome > DeleteGatewayOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< GetGatewayOutcome > GetGatewayOutcomeCallable
std::future< ListGatewaysOutcome > ListGatewaysOutcomeCallable
std::future< TestHypervisorConfigurationOutcome > TestHypervisorConfigurationOutcomeCallable
Aws::Utils::Outcome< UntagResourceResult, BackupGatewayError > UntagResourceOutcome
std::future< UpdateGatewaySoftwareNowOutcome > UpdateGatewaySoftwareNowOutcomeCallable
Aws::Utils::Outcome< TestHypervisorConfigurationResult, BackupGatewayError > TestHypervisorConfigurationOutcome
Aws::Utils::Outcome< CreateGatewayResult, BackupGatewayError > CreateGatewayOutcome
std::function< void(const BackupGatewayClient *, const Model::StartVirtualMachinesMetadataSyncRequest &, const Model::StartVirtualMachinesMetadataSyncOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> StartVirtualMachinesMetadataSyncResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::GetHypervisorRequest &, const Model::GetHypervisorOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetHypervisorResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::GetVirtualMachineRequest &, const Model::GetVirtualMachineOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetVirtualMachineResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> TagResourceResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::ListGatewaysRequest &, const Model::ListGatewaysOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListGatewaysResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::CreateGatewayRequest &, const Model::CreateGatewayOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> CreateGatewayResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListTagsForResourceResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::DeleteGatewayRequest &, const Model::DeleteGatewayOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> DeleteGatewayResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::DisassociateGatewayFromServerRequest &, const Model::DisassociateGatewayFromServerOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> DisassociateGatewayFromServerResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::ImportHypervisorConfigurationRequest &, const Model::ImportHypervisorConfigurationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ImportHypervisorConfigurationResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::PutBandwidthRateLimitScheduleRequest &, const Model::PutBandwidthRateLimitScheduleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> PutBandwidthRateLimitScheduleResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> UntagResourceResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::ListVirtualMachinesRequest &, const Model::ListVirtualMachinesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListVirtualMachinesResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::PutHypervisorPropertyMappingsRequest &, const Model::PutHypervisorPropertyMappingsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> PutHypervisorPropertyMappingsResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::GetGatewayRequest &, const Model::GetGatewayOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetGatewayResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::AssociateGatewayToServerRequest &, const Model::AssociateGatewayToServerOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> AssociateGatewayToServerResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::UpdateGatewayInformationRequest &, const Model::UpdateGatewayInformationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> UpdateGatewayInformationResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::DeleteHypervisorRequest &, const Model::DeleteHypervisorOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> DeleteHypervisorResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::UpdateGatewaySoftwareNowRequest &, const Model::UpdateGatewaySoftwareNowOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> UpdateGatewaySoftwareNowResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::TestHypervisorConfigurationRequest &, const Model::TestHypervisorConfigurationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> TestHypervisorConfigurationResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::GetHypervisorPropertyMappingsRequest &, const Model::GetHypervisorPropertyMappingsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetHypervisorPropertyMappingsResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::ListHypervisorsRequest &, const Model::ListHypervisorsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListHypervisorsResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::UpdateHypervisorRequest &, const Model::UpdateHypervisorOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> UpdateHypervisorResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::GetBandwidthRateLimitScheduleRequest &, const Model::GetBandwidthRateLimitScheduleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetBandwidthRateLimitScheduleResponseReceivedHandler
std::function< void(const BackupGatewayClient *, const Model::PutMaintenanceStartTimeRequest &, const Model::PutMaintenanceStartTimeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> PutMaintenanceStartTimeResponseReceivedHandler