/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
namespace Aws
{
namespace MigrationHubStrategyRecommendations
{
/**
* Migration Hub Strategy Recommendations
This API
* reference provides descriptions, syntax, and other details about each of the
* actions and data types for Migration Hub Strategy Recommendations (Strategy
* Recommendations). The topic for each action shows the API request parameters and
* the response. Alternatively, you can use one of the AWS SDKs to access an API
* that is tailored to the programming language or platform that you're using. For
* more information, see AWS
* SDKs.
*/
class AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API MigrationHubStrategyRecommendationsClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods
{
public:
typedef Aws::Client::AWSJsonClient BASECLASS;
static const char* SERVICE_NAME;
static const char* ALLOCATION_TAG;
typedef MigrationHubStrategyRecommendationsClientConfiguration ClientConfigurationType;
typedef MigrationHubStrategyRecommendationsEndpointProvider EndpointProviderType;
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
MigrationHubStrategyRecommendationsClient(const Aws::MigrationHubStrategyRecommendations::MigrationHubStrategyRecommendationsClientConfiguration& clientConfiguration = Aws::MigrationHubStrategyRecommendations::MigrationHubStrategyRecommendationsClientConfiguration(),
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG));
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
MigrationHubStrategyRecommendationsClient(const Aws::Auth::AWSCredentials& credentials,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::MigrationHubStrategyRecommendations::MigrationHubStrategyRecommendationsClientConfiguration& clientConfiguration = Aws::MigrationHubStrategyRecommendations::MigrationHubStrategyRecommendationsClientConfiguration());
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
MigrationHubStrategyRecommendationsClient(const std::shared_ptr& credentialsProvider,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::MigrationHubStrategyRecommendations::MigrationHubStrategyRecommendationsClientConfiguration& clientConfiguration = Aws::MigrationHubStrategyRecommendations::MigrationHubStrategyRecommendationsClientConfiguration());
/* Legacy constructors due deprecation */
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
MigrationHubStrategyRecommendationsClient(const Aws::Client::ClientConfiguration& clientConfiguration);
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
MigrationHubStrategyRecommendationsClient(const Aws::Auth::AWSCredentials& credentials,
const Aws::Client::ClientConfiguration& clientConfiguration);
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
MigrationHubStrategyRecommendationsClient(const std::shared_ptr& credentialsProvider,
const Aws::Client::ClientConfiguration& clientConfiguration);
/* End of legacy constructors due deprecation */
virtual ~MigrationHubStrategyRecommendationsClient();
/**
* Retrieves details about an application component.
See Also:
* AWS
* API Reference
*/
virtual Model::GetApplicationComponentDetailsOutcome GetApplicationComponentDetails(const Model::GetApplicationComponentDetailsRequest& request) const;
/**
* A Callable wrapper for GetApplicationComponentDetails that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetApplicationComponentDetailsOutcomeCallable GetApplicationComponentDetailsCallable(const GetApplicationComponentDetailsRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::GetApplicationComponentDetails, request);
}
/**
* An Async wrapper for GetApplicationComponentDetails that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetApplicationComponentDetailsAsync(const GetApplicationComponentDetailsRequestT& request, const GetApplicationComponentDetailsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::GetApplicationComponentDetails, request, handler, context);
}
/**
* Retrieves a list of all the recommended strategies and tools for an
* application component running on a server.
See Also:
AWS
* API Reference
*/
virtual Model::GetApplicationComponentStrategiesOutcome GetApplicationComponentStrategies(const Model::GetApplicationComponentStrategiesRequest& request) const;
/**
* A Callable wrapper for GetApplicationComponentStrategies that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetApplicationComponentStrategiesOutcomeCallable GetApplicationComponentStrategiesCallable(const GetApplicationComponentStrategiesRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::GetApplicationComponentStrategies, request);
}
/**
* An Async wrapper for GetApplicationComponentStrategies that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetApplicationComponentStrategiesAsync(const GetApplicationComponentStrategiesRequestT& request, const GetApplicationComponentStrategiesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::GetApplicationComponentStrategies, request, handler, context);
}
/**
* Retrieves the status of an on-going assessment.
See Also:
* AWS
* API Reference
*/
virtual Model::GetAssessmentOutcome GetAssessment(const Model::GetAssessmentRequest& request) const;
/**
* A Callable wrapper for GetAssessment that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetAssessmentOutcomeCallable GetAssessmentCallable(const GetAssessmentRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::GetAssessment, request);
}
/**
* An Async wrapper for GetAssessment that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetAssessmentAsync(const GetAssessmentRequestT& request, const GetAssessmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::GetAssessment, request, handler, context);
}
/**
* Retrieves the details about a specific import task.
See
* Also:
AWS
* API Reference
*/
virtual Model::GetImportFileTaskOutcome GetImportFileTask(const Model::GetImportFileTaskRequest& request) const;
/**
* A Callable wrapper for GetImportFileTask that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetImportFileTaskOutcomeCallable GetImportFileTaskCallable(const GetImportFileTaskRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::GetImportFileTask, request);
}
/**
* An Async wrapper for GetImportFileTask that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetImportFileTaskAsync(const GetImportFileTaskRequestT& request, const GetImportFileTaskResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::GetImportFileTask, request, handler, context);
}
/**
* Retrieve the latest ID of a specific assessment task.
See
* Also:
AWS
* API Reference
*/
virtual Model::GetLatestAssessmentIdOutcome GetLatestAssessmentId(const Model::GetLatestAssessmentIdRequest& request) const;
/**
* A Callable wrapper for GetLatestAssessmentId that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetLatestAssessmentIdOutcomeCallable GetLatestAssessmentIdCallable(const GetLatestAssessmentIdRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::GetLatestAssessmentId, request);
}
/**
* An Async wrapper for GetLatestAssessmentId that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetLatestAssessmentIdAsync(const GetLatestAssessmentIdRequestT& request, const GetLatestAssessmentIdResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::GetLatestAssessmentId, request, handler, context);
}
/**
* Retrieves your migration and modernization preferences.
See
* Also:
AWS
* API Reference
*/
virtual Model::GetPortfolioPreferencesOutcome GetPortfolioPreferences(const Model::GetPortfolioPreferencesRequest& request) const;
/**
* A Callable wrapper for GetPortfolioPreferences that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetPortfolioPreferencesOutcomeCallable GetPortfolioPreferencesCallable(const GetPortfolioPreferencesRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::GetPortfolioPreferences, request);
}
/**
* An Async wrapper for GetPortfolioPreferences that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetPortfolioPreferencesAsync(const GetPortfolioPreferencesRequestT& request, const GetPortfolioPreferencesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::GetPortfolioPreferences, request, handler, context);
}
/**
* Retrieves overall summary including the number of servers to rehost and the
* overall number of anti-patterns.
See Also:
AWS
* API Reference
*/
virtual Model::GetPortfolioSummaryOutcome GetPortfolioSummary(const Model::GetPortfolioSummaryRequest& request) const;
/**
* A Callable wrapper for GetPortfolioSummary that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetPortfolioSummaryOutcomeCallable GetPortfolioSummaryCallable(const GetPortfolioSummaryRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::GetPortfolioSummary, request);
}
/**
* An Async wrapper for GetPortfolioSummary that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetPortfolioSummaryAsync(const GetPortfolioSummaryRequestT& request, const GetPortfolioSummaryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::GetPortfolioSummary, request, handler, context);
}
/**
* Retrieves detailed information about the specified recommendation report.
*
See Also:
AWS
* API Reference
*/
virtual Model::GetRecommendationReportDetailsOutcome GetRecommendationReportDetails(const Model::GetRecommendationReportDetailsRequest& request) const;
/**
* A Callable wrapper for GetRecommendationReportDetails that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetRecommendationReportDetailsOutcomeCallable GetRecommendationReportDetailsCallable(const GetRecommendationReportDetailsRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::GetRecommendationReportDetails, request);
}
/**
* An Async wrapper for GetRecommendationReportDetails that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetRecommendationReportDetailsAsync(const GetRecommendationReportDetailsRequestT& request, const GetRecommendationReportDetailsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::GetRecommendationReportDetails, request, handler, context);
}
/**
* Retrieves detailed information about a specified server.
See
* Also:
AWS
* API Reference
*/
virtual Model::GetServerDetailsOutcome GetServerDetails(const Model::GetServerDetailsRequest& request) const;
/**
* A Callable wrapper for GetServerDetails that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetServerDetailsOutcomeCallable GetServerDetailsCallable(const GetServerDetailsRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::GetServerDetails, request);
}
/**
* An Async wrapper for GetServerDetails that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetServerDetailsAsync(const GetServerDetailsRequestT& request, const GetServerDetailsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::GetServerDetails, request, handler, context);
}
/**
* Retrieves recommended strategies and tools for the specified server.
*
See Also:
AWS
* API Reference
*/
virtual Model::GetServerStrategiesOutcome GetServerStrategies(const Model::GetServerStrategiesRequest& request) const;
/**
* A Callable wrapper for GetServerStrategies that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetServerStrategiesOutcomeCallable GetServerStrategiesCallable(const GetServerStrategiesRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::GetServerStrategies, request);
}
/**
* An Async wrapper for GetServerStrategies that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetServerStrategiesAsync(const GetServerStrategiesRequestT& request, const GetServerStrategiesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::GetServerStrategies, request, handler, context);
}
/**
* Retrieves a list of all the application components (processes).
*
See Also:
AWS
* API Reference
*/
virtual Model::ListApplicationComponentsOutcome ListApplicationComponents(const Model::ListApplicationComponentsRequest& request) const;
/**
* A Callable wrapper for ListApplicationComponents that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListApplicationComponentsOutcomeCallable ListApplicationComponentsCallable(const ListApplicationComponentsRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::ListApplicationComponents, request);
}
/**
* An Async wrapper for ListApplicationComponents that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListApplicationComponentsAsync(const ListApplicationComponentsRequestT& request, const ListApplicationComponentsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::ListApplicationComponents, request, handler, context);
}
/**
* Retrieves a list of all the installed collectors.
See Also:
* AWS
* API Reference
*/
virtual Model::ListCollectorsOutcome ListCollectors(const Model::ListCollectorsRequest& request) const;
/**
* A Callable wrapper for ListCollectors that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListCollectorsOutcomeCallable ListCollectorsCallable(const ListCollectorsRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::ListCollectors, request);
}
/**
* An Async wrapper for ListCollectors that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListCollectorsAsync(const ListCollectorsRequestT& request, const ListCollectorsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::ListCollectors, request, handler, context);
}
/**
* Retrieves a list of all the imports performed.
See Also:
* AWS
* API Reference
*/
virtual Model::ListImportFileTaskOutcome ListImportFileTask(const Model::ListImportFileTaskRequest& request) const;
/**
* A Callable wrapper for ListImportFileTask that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListImportFileTaskOutcomeCallable ListImportFileTaskCallable(const ListImportFileTaskRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::ListImportFileTask, request);
}
/**
* An Async wrapper for ListImportFileTask that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListImportFileTaskAsync(const ListImportFileTaskRequestT& request, const ListImportFileTaskResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::ListImportFileTask, request, handler, context);
}
/**
* Returns a list of all the servers.
See Also:
AWS
* API Reference
*/
virtual Model::ListServersOutcome ListServers(const Model::ListServersRequest& request) const;
/**
* A Callable wrapper for ListServers that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListServersOutcomeCallable ListServersCallable(const ListServersRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::ListServers, request);
}
/**
* An Async wrapper for ListServers that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListServersAsync(const ListServersRequestT& request, const ListServersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::ListServers, request, handler, context);
}
/**
* Saves the specified migration and modernization preferences.
See
* Also:
AWS
* API Reference
*/
virtual Model::PutPortfolioPreferencesOutcome PutPortfolioPreferences(const Model::PutPortfolioPreferencesRequest& request) const;
/**
* A Callable wrapper for PutPortfolioPreferences that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::PutPortfolioPreferencesOutcomeCallable PutPortfolioPreferencesCallable(const PutPortfolioPreferencesRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::PutPortfolioPreferences, request);
}
/**
* An Async wrapper for PutPortfolioPreferences that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void PutPortfolioPreferencesAsync(const PutPortfolioPreferencesRequestT& request, const PutPortfolioPreferencesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::PutPortfolioPreferences, request, handler, context);
}
/**
* Starts the assessment of an on-premises environment.
See
* Also:
AWS
* API Reference
*/
virtual Model::StartAssessmentOutcome StartAssessment(const Model::StartAssessmentRequest& request) const;
/**
* A Callable wrapper for StartAssessment that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StartAssessmentOutcomeCallable StartAssessmentCallable(const StartAssessmentRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::StartAssessment, request);
}
/**
* An Async wrapper for StartAssessment that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StartAssessmentAsync(const StartAssessmentRequestT& request, const StartAssessmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::StartAssessment, request, handler, context);
}
/**
* Starts a file import.
See Also:
AWS
* API Reference
*/
virtual Model::StartImportFileTaskOutcome StartImportFileTask(const Model::StartImportFileTaskRequest& request) const;
/**
* A Callable wrapper for StartImportFileTask that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StartImportFileTaskOutcomeCallable StartImportFileTaskCallable(const StartImportFileTaskRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::StartImportFileTask, request);
}
/**
* An Async wrapper for StartImportFileTask that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StartImportFileTaskAsync(const StartImportFileTaskRequestT& request, const StartImportFileTaskResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::StartImportFileTask, request, handler, context);
}
/**
* Starts generating a recommendation report.
See Also:
AWS
* API Reference
*/
virtual Model::StartRecommendationReportGenerationOutcome StartRecommendationReportGeneration(const Model::StartRecommendationReportGenerationRequest& request) const;
/**
* A Callable wrapper for StartRecommendationReportGeneration that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StartRecommendationReportGenerationOutcomeCallable StartRecommendationReportGenerationCallable(const StartRecommendationReportGenerationRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::StartRecommendationReportGeneration, request);
}
/**
* An Async wrapper for StartRecommendationReportGeneration that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StartRecommendationReportGenerationAsync(const StartRecommendationReportGenerationRequestT& request, const StartRecommendationReportGenerationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::StartRecommendationReportGeneration, request, handler, context);
}
/**
* Stops the assessment of an on-premises environment.
See
* Also:
AWS
* API Reference
*/
virtual Model::StopAssessmentOutcome StopAssessment(const Model::StopAssessmentRequest& request) const;
/**
* A Callable wrapper for StopAssessment that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StopAssessmentOutcomeCallable StopAssessmentCallable(const StopAssessmentRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::StopAssessment, request);
}
/**
* An Async wrapper for StopAssessment that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StopAssessmentAsync(const StopAssessmentRequestT& request, const StopAssessmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::StopAssessment, request, handler, context);
}
/**
* Updates the configuration of an application component.
See
* Also:
AWS
* API Reference
*/
virtual Model::UpdateApplicationComponentConfigOutcome UpdateApplicationComponentConfig(const Model::UpdateApplicationComponentConfigRequest& request) const;
/**
* A Callable wrapper for UpdateApplicationComponentConfig that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateApplicationComponentConfigOutcomeCallable UpdateApplicationComponentConfigCallable(const UpdateApplicationComponentConfigRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::UpdateApplicationComponentConfig, request);
}
/**
* An Async wrapper for UpdateApplicationComponentConfig that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateApplicationComponentConfigAsync(const UpdateApplicationComponentConfigRequestT& request, const UpdateApplicationComponentConfigResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::UpdateApplicationComponentConfig, request, handler, context);
}
/**
* Updates the configuration of the specified server.
See Also:
* AWS
* API Reference
*/
virtual Model::UpdateServerConfigOutcome UpdateServerConfig(const Model::UpdateServerConfigRequest& request) const;
/**
* A Callable wrapper for UpdateServerConfig that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateServerConfigOutcomeCallable UpdateServerConfigCallable(const UpdateServerConfigRequestT& request) const
{
return SubmitCallable(&MigrationHubStrategyRecommendationsClient::UpdateServerConfig, request);
}
/**
* An Async wrapper for UpdateServerConfig that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateServerConfigAsync(const UpdateServerConfigRequestT& request, const UpdateServerConfigResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MigrationHubStrategyRecommendationsClient::UpdateServerConfig, request, handler, context);
}
void OverrideEndpoint(const Aws::String& endpoint);
std::shared_ptr& accessEndpointProvider();
private:
friend class Aws::Client::ClientWithAsyncTemplateMethods;
void init(const MigrationHubStrategyRecommendationsClientConfiguration& clientConfiguration);
MigrationHubStrategyRecommendationsClientConfiguration m_clientConfiguration;
std::shared_ptr m_executor;
std::shared_ptr m_endpointProvider;
};
} // namespace MigrationHubStrategyRecommendations
} // namespace Aws