7#include <aws/core/client/AWSClient.h>
8#include <aws/core/client/AWSClientAsyncCRTP.h>
9#include <aws/core/client/ClientConfiguration.h>
10#include <aws/core/utils/json/JsonSerializer.h>
11#include <aws/migrationhub-config/MigrationHubConfigPaginationBase.h>
12#include <aws/migrationhub-config/MigrationHubConfigServiceClientModel.h>
13#include <aws/migrationhub-config/MigrationHubConfig_EXPORTS.h>
16namespace MigrationHubConfig {
48 std::shared_ptr<MigrationHubConfigEndpointProviderBase> endpointProvider =
nullptr);
55 std::shared_ptr<MigrationHubConfigEndpointProviderBase> endpointProvider =
nullptr,
64 std::shared_ptr<MigrationHubConfigEndpointProviderBase> endpointProvider =
nullptr,
103 template <
typename CreateHomeRegionControlRequestT = Model::CreateHomeRegionControlRequest>
105 return SubmitCallable(&MigrationHubConfigClient::CreateHomeRegionControl, request);
112 template <
typename CreateHomeRegionControlRequestT = Model::CreateHomeRegionControlRequest>
115 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
116 return SubmitAsync(&MigrationHubConfigClient::CreateHomeRegionControl, request, handler, context);
132 template <
typename DeleteHomeRegionControlRequestT = Model::DeleteHomeRegionControlRequest>
134 return SubmitCallable(&MigrationHubConfigClient::DeleteHomeRegionControl, request);
141 template <
typename DeleteHomeRegionControlRequestT = Model::DeleteHomeRegionControlRequest>
144 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
145 return SubmitAsync(&MigrationHubConfigClient::DeleteHomeRegionControl, request, handler, context);
161 template <
typename DescribeHomeRegionControlsRequestT = Model::DescribeHomeRegionControlsRequest>
163 const DescribeHomeRegionControlsRequestT& request = {})
const {
164 return SubmitCallable(&MigrationHubConfigClient::DescribeHomeRegionControls, request);
171 template <
typename DescribeHomeRegionControlsRequestT = Model::DescribeHomeRegionControlsRequest>
173 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr,
174 const DescribeHomeRegionControlsRequestT& request = {})
const {
175 return SubmitAsync(&MigrationHubConfigClient::DescribeHomeRegionControls, request, handler, context);
193 template <
typename GetHomeRegionRequestT = Model::GetHomeRegionRequest>
195 return SubmitCallable(&MigrationHubConfigClient::GetHomeRegion, request);
202 template <
typename GetHomeRegionRequestT = Model::GetHomeRegionRequest>
204 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr,
205 const GetHomeRegionRequestT& request = {})
const {
206 return SubmitAsync(&MigrationHubConfigClient::GetHomeRegion, request, handler, context);
217 std::shared_ptr<MigrationHubConfigEndpointProviderBase> m_endpointProvider;
void CreateHomeRegionControlAsync(const CreateHomeRegionControlRequestT &request, const CreateHomeRegionControlResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::CreateHomeRegionControlOutcomeCallable CreateHomeRegionControlCallable(const CreateHomeRegionControlRequestT &request) const
Model::DescribeHomeRegionControlsOutcomeCallable DescribeHomeRegionControlsCallable(const DescribeHomeRegionControlsRequestT &request={}) const
static const char * GetServiceName()
MigrationHubConfigClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual void OverrideEndpoint(const Aws::String &endpoint)
Model::GetHomeRegionOutcomeCallable GetHomeRegionCallable(const GetHomeRegionRequestT &request={}) const
Aws::Client::AWSJsonClient BASECLASS
MigrationHubConfigClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< MigrationHubConfigEndpointProviderBase > endpointProvider=nullptr, const Aws::MigrationHubConfig::MigrationHubConfigClientConfiguration &clientConfiguration=Aws::MigrationHubConfig::MigrationHubConfigClientConfiguration())
MigrationHubConfigClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void DescribeHomeRegionControlsAsync(const DescribeHomeRegionControlsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const DescribeHomeRegionControlsRequestT &request={}) const
virtual ~MigrationHubConfigClient()
MigrationHubConfigClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::DeleteHomeRegionControlOutcome DeleteHomeRegionControl(const Model::DeleteHomeRegionControlRequest &request) const
MigrationHubConfigEndpointProvider EndpointProviderType
void GetHomeRegionAsync(const GetHomeRegionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetHomeRegionRequestT &request={}) const
MigrationHubConfigClient(const Aws::MigrationHubConfig::MigrationHubConfigClientConfiguration &clientConfiguration=Aws::MigrationHubConfig::MigrationHubConfigClientConfiguration(), std::shared_ptr< MigrationHubConfigEndpointProviderBase > endpointProvider=nullptr)
Model::DeleteHomeRegionControlOutcomeCallable DeleteHomeRegionControlCallable(const DeleteHomeRegionControlRequestT &request) const
virtual Model::GetHomeRegionOutcome GetHomeRegion(const Model::GetHomeRegionRequest &request={}) const
MigrationHubConfigClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< MigrationHubConfigEndpointProviderBase > endpointProvider=nullptr, const Aws::MigrationHubConfig::MigrationHubConfigClientConfiguration &clientConfiguration=Aws::MigrationHubConfig::MigrationHubConfigClientConfiguration())
virtual Model::DescribeHomeRegionControlsOutcome DescribeHomeRegionControls(const Model::DescribeHomeRegionControlsRequest &request={}) const
static const char * GetAllocationTag()
MigrationHubConfigClientConfiguration ClientConfigurationType
virtual std::shared_ptr< MigrationHubConfigEndpointProviderBase > & accessEndpointProvider()
virtual Model::CreateHomeRegionControlOutcome CreateHomeRegionControl(const Model::CreateHomeRegionControlRequest &request) const
void DeleteHomeRegionControlAsync(const DeleteHomeRegionControlRequestT &request, const DeleteHomeRegionControlResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::future< GetHomeRegionOutcome > GetHomeRegionOutcomeCallable
std::future< CreateHomeRegionControlOutcome > CreateHomeRegionControlOutcomeCallable
std::future< DescribeHomeRegionControlsOutcome > DescribeHomeRegionControlsOutcomeCallable
std::future< DeleteHomeRegionControlOutcome > DeleteHomeRegionControlOutcomeCallable
std::function< void(const MigrationHubConfigClient *, const Model::GetHomeRegionRequest &, const Model::GetHomeRegionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetHomeRegionResponseReceivedHandler
std::function< void(const MigrationHubConfigClient *, const Model::DeleteHomeRegionControlRequest &, const Model::DeleteHomeRegionControlOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> DeleteHomeRegionControlResponseReceivedHandler
std::function< void(const MigrationHubConfigClient *, const Model::CreateHomeRegionControlRequest &, const Model::CreateHomeRegionControlOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> CreateHomeRegionControlResponseReceivedHandler
std::function< void(const MigrationHubConfigClient *, const Model::DescribeHomeRegionControlsRequest &, const Model::DescribeHomeRegionControlsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> DescribeHomeRegionControlsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String