7#include <aws/account/Account_EXPORTS.h>
8#include <aws/core/client/ClientConfiguration.h>
9#include <aws/core/client/AWSClient.h>
10#include <aws/core/client/AWSClientAsyncCRTP.h>
11#include <aws/core/utils/json/JsonSerializer.h>
12#include <aws/account/AccountServiceClientModel.h>
36 std::shared_ptr<AccountEndpointProviderBase> endpointProvider =
nullptr);
43 std::shared_ptr<AccountEndpointProviderBase> endpointProvider =
nullptr,
50 AccountClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
51 std::shared_ptr<AccountEndpointProviderBase> endpointProvider =
nullptr,
73 AccountClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
91 template<
typename AcceptPrimaryEmailUpdateRequestT = Model::AcceptPrimaryEmailUpdateRequest>
94 return SubmitCallable(&AccountClient::AcceptPrimaryEmailUpdate, request);
100 template<
typename AcceptPrimaryEmailUpdateRequestT = Model::AcceptPrimaryEmailUpdateRequest>
103 return SubmitAsync(&AccountClient::AcceptPrimaryEmailUpdate, request, handler, context);
126 template<
typename DeleteAlternateContactRequestT = Model::DeleteAlternateContactRequest>
129 return SubmitCallable(&AccountClient::DeleteAlternateContact, request);
135 template<
typename DeleteAlternateContactRequestT = Model::DeleteAlternateContactRequest>
138 return SubmitAsync(&AccountClient::DeleteAlternateContact, request, handler, context);
153 template<
typename DisableRegionRequestT = Model::DisableRegionRequest>
156 return SubmitCallable(&AccountClient::DisableRegion, request);
162 template<
typename DisableRegionRequestT = Model::DisableRegionRequest>
165 return SubmitAsync(&AccountClient::DisableRegion, request, handler, context);
179 template<
typename EnableRegionRequestT = Model::EnableRegionRequest>
182 return SubmitCallable(&AccountClient::EnableRegion, request);
188 template<
typename EnableRegionRequestT = Model::EnableRegionRequest>
191 return SubmitAsync(&AccountClient::EnableRegion, request, handler, context);
214 template<
typename GetAlternateContactRequestT = Model::GetAlternateContactRequest>
217 return SubmitCallable(&AccountClient::GetAlternateContact, request);
223 template<
typename GetAlternateContactRequestT = Model::GetAlternateContactRequest>
226 return SubmitAsync(&AccountClient::GetAlternateContact, request, handler, context);
243 template<
typename GetContactInformationRequestT = Model::GetContactInformationRequest>
246 return SubmitCallable(&AccountClient::GetContactInformation, request);
252 template<
typename GetContactInformationRequestT = Model::GetContactInformationRequest>
255 return SubmitAsync(&AccountClient::GetContactInformation, request, handler, context);
269 template<
typename GetPrimaryEmailRequestT = Model::GetPrimaryEmailRequest>
272 return SubmitCallable(&AccountClient::GetPrimaryEmail, request);
278 template<
typename GetPrimaryEmailRequestT = Model::GetPrimaryEmailRequest>
281 return SubmitAsync(&AccountClient::GetPrimaryEmail, request, handler, context);
295 template<
typename GetRegionOptStatusRequestT = Model::GetRegionOptStatusRequest>
298 return SubmitCallable(&AccountClient::GetRegionOptStatus, request);
304 template<
typename GetRegionOptStatusRequestT = Model::GetRegionOptStatusRequest>
307 return SubmitAsync(&AccountClient::GetRegionOptStatus, request, handler, context);
323 template<
typename ListRegionsRequestT = Model::ListRegionsRequest>
326 return SubmitCallable(&AccountClient::ListRegions, request);
332 template<
typename ListRegionsRequestT = Model::ListRegionsRequest>
335 return SubmitAsync(&AccountClient::ListRegions, request, handler, context);
358 template<
typename PutAlternateContactRequestT = Model::PutAlternateContactRequest>
361 return SubmitCallable(&AccountClient::PutAlternateContact, request);
367 template<
typename PutAlternateContactRequestT = Model::PutAlternateContactRequest>
370 return SubmitAsync(&AccountClient::PutAlternateContact, request, handler, context);
387 template<
typename PutContactInformationRequestT = Model::PutContactInformationRequest>
390 return SubmitCallable(&AccountClient::PutContactInformation, request);
396 template<
typename PutContactInformationRequestT = Model::PutContactInformationRequest>
399 return SubmitAsync(&AccountClient::PutContactInformation, request, handler, context);
413 template<
typename StartPrimaryEmailUpdateRequestT = Model::StartPrimaryEmailUpdateRequest>
416 return SubmitCallable(&AccountClient::StartPrimaryEmailUpdate, request);
422 template<
typename StartPrimaryEmailUpdateRequestT = Model::StartPrimaryEmailUpdateRequest>
425 return SubmitAsync(&AccountClient::StartPrimaryEmailUpdate, request, handler, context);
436 std::shared_ptr<AccountEndpointProviderBase> m_endpointProvider;
void GetContactInformationAsync(const GetContactInformationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetContactInformationRequestT &request={}) const
void DeleteAlternateContactAsync(const DeleteAlternateContactRequestT &request, const DeleteAlternateContactResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetPrimaryEmailOutcomeCallable GetPrimaryEmailCallable(const GetPrimaryEmailRequestT &request) const
virtual Model::StartPrimaryEmailUpdateOutcome StartPrimaryEmailUpdate(const Model::StartPrimaryEmailUpdateRequest &request) const
Model::GetAlternateContactOutcomeCallable GetAlternateContactCallable(const GetAlternateContactRequestT &request) const
virtual Model::AcceptPrimaryEmailUpdateOutcome AcceptPrimaryEmailUpdate(const Model::AcceptPrimaryEmailUpdateRequest &request) const
Model::DeleteAlternateContactOutcomeCallable DeleteAlternateContactCallable(const DeleteAlternateContactRequestT &request) const
virtual Model::DeleteAlternateContactOutcome DeleteAlternateContact(const Model::DeleteAlternateContactRequest &request) const
virtual Model::GetRegionOptStatusOutcome GetRegionOptStatus(const Model::GetRegionOptStatusRequest &request) const
Model::AcceptPrimaryEmailUpdateOutcomeCallable AcceptPrimaryEmailUpdateCallable(const AcceptPrimaryEmailUpdateRequestT &request) const
Model::ListRegionsOutcomeCallable ListRegionsCallable(const ListRegionsRequestT &request={}) const
Model::GetRegionOptStatusOutcomeCallable GetRegionOptStatusCallable(const GetRegionOptStatusRequestT &request) const
virtual Model::PutContactInformationOutcome PutContactInformation(const Model::PutContactInformationRequest &request) const
void OverrideEndpoint(const Aws::String &endpoint)
virtual Model::ListRegionsOutcome ListRegions(const Model::ListRegionsRequest &request={}) const
AccountEndpointProvider EndpointProviderType
virtual Model::GetContactInformationOutcome GetContactInformation(const Model::GetContactInformationRequest &request={}) const
Model::StartPrimaryEmailUpdateOutcomeCallable StartPrimaryEmailUpdateCallable(const StartPrimaryEmailUpdateRequestT &request) const
virtual Model::GetPrimaryEmailOutcome GetPrimaryEmail(const Model::GetPrimaryEmailRequest &request) const
static const char * GetServiceName()
virtual Model::PutAlternateContactOutcome PutAlternateContact(const Model::PutAlternateContactRequest &request) const
Aws::Client::AWSJsonClient BASECLASS
virtual Model::EnableRegionOutcome EnableRegion(const Model::EnableRegionRequest &request) const
void PutContactInformationAsync(const PutContactInformationRequestT &request, const PutContactInformationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetPrimaryEmailAsync(const GetPrimaryEmailRequestT &request, const GetPrimaryEmailResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void EnableRegionAsync(const EnableRegionRequestT &request, const EnableRegionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::DisableRegionOutcomeCallable DisableRegionCallable(const DisableRegionRequestT &request) const
AccountClientConfiguration ClientConfigurationType
void GetRegionOptStatusAsync(const GetRegionOptStatusRequestT &request, const GetRegionOptStatusResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void PutAlternateContactAsync(const PutAlternateContactRequestT &request, const PutAlternateContactResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
AccountClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::PutAlternateContactOutcomeCallable PutAlternateContactCallable(const PutAlternateContactRequestT &request) const
void GetAlternateContactAsync(const GetAlternateContactRequestT &request, const GetAlternateContactResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DisableRegionOutcome DisableRegion(const Model::DisableRegionRequest &request) const
AccountClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::GetAlternateContactOutcome GetAlternateContact(const Model::GetAlternateContactRequest &request) const
void AcceptPrimaryEmailUpdateAsync(const AcceptPrimaryEmailUpdateRequestT &request, const AcceptPrimaryEmailUpdateResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
static const char * GetAllocationTag()
AccountClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< AccountEndpointProviderBase > endpointProvider=nullptr, const Aws::Account::AccountClientConfiguration &clientConfiguration=Aws::Account::AccountClientConfiguration())
Model::EnableRegionOutcomeCallable EnableRegionCallable(const EnableRegionRequestT &request) const
void StartPrimaryEmailUpdateAsync(const StartPrimaryEmailUpdateRequestT &request, const StartPrimaryEmailUpdateResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::shared_ptr< AccountEndpointProviderBase > & accessEndpointProvider()
void DisableRegionAsync(const DisableRegionRequestT &request, const DisableRegionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
AccountClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
AccountClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< AccountEndpointProviderBase > endpointProvider=nullptr, const Aws::Account::AccountClientConfiguration &clientConfiguration=Aws::Account::AccountClientConfiguration())
void ListRegionsAsync(const ListRegionsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListRegionsRequestT &request={}) const
Model::GetContactInformationOutcomeCallable GetContactInformationCallable(const GetContactInformationRequestT &request={}) const
Model::PutContactInformationOutcomeCallable PutContactInformationCallable(const PutContactInformationRequestT &request) const
AccountClient(const Aws::Account::AccountClientConfiguration &clientConfiguration=Aws::Account::AccountClientConfiguration(), std::shared_ptr< AccountEndpointProviderBase > endpointProvider=nullptr)
std::future< GetContactInformationOutcome > GetContactInformationOutcomeCallable
std::future< GetRegionOptStatusOutcome > GetRegionOptStatusOutcomeCallable
std::future< GetAlternateContactOutcome > GetAlternateContactOutcomeCallable
std::future< DisableRegionOutcome > DisableRegionOutcomeCallable
std::future< GetPrimaryEmailOutcome > GetPrimaryEmailOutcomeCallable
std::future< PutContactInformationOutcome > PutContactInformationOutcomeCallable
std::future< AcceptPrimaryEmailUpdateOutcome > AcceptPrimaryEmailUpdateOutcomeCallable
std::future< PutAlternateContactOutcome > PutAlternateContactOutcomeCallable
std::future< DeleteAlternateContactOutcome > DeleteAlternateContactOutcomeCallable
std::future< ListRegionsOutcome > ListRegionsOutcomeCallable
std::future< EnableRegionOutcome > EnableRegionOutcomeCallable
std::future< StartPrimaryEmailUpdateOutcome > StartPrimaryEmailUpdateOutcomeCallable
std::function< void(const AccountClient *, const Model::PutContactInformationRequest &, const Model::PutContactInformationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutContactInformationResponseReceivedHandler
std::function< void(const AccountClient *, const Model::DeleteAlternateContactRequest &, const Model::DeleteAlternateContactOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteAlternateContactResponseReceivedHandler
std::function< void(const AccountClient *, const Model::GetRegionOptStatusRequest &, const Model::GetRegionOptStatusOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetRegionOptStatusResponseReceivedHandler
std::function< void(const AccountClient *, const Model::GetPrimaryEmailRequest &, const Model::GetPrimaryEmailOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetPrimaryEmailResponseReceivedHandler
std::function< void(const AccountClient *, const Model::EnableRegionRequest &, const Model::EnableRegionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > EnableRegionResponseReceivedHandler
std::function< void(const AccountClient *, const Model::GetAlternateContactRequest &, const Model::GetAlternateContactOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetAlternateContactResponseReceivedHandler
std::function< void(const AccountClient *, const Model::StartPrimaryEmailUpdateRequest &, const Model::StartPrimaryEmailUpdateOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartPrimaryEmailUpdateResponseReceivedHandler
std::function< void(const AccountClient *, const Model::GetContactInformationRequest &, const Model::GetContactInformationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetContactInformationResponseReceivedHandler
std::function< void(const AccountClient *, const Model::ListRegionsRequest &, const Model::ListRegionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListRegionsResponseReceivedHandler
std::function< void(const AccountClient *, const Model::PutAlternateContactRequest &, const Model::PutAlternateContactOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutAlternateContactResponseReceivedHandler
std::function< void(const AccountClient *, const Model::DisableRegionRequest &, const Model::DisableRegionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DisableRegionResponseReceivedHandler
std::function< void(const AccountClient *, const Model::AcceptPrimaryEmailUpdateRequest &, const Model::AcceptPrimaryEmailUpdateOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AcceptPrimaryEmailUpdateResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String