7#include <aws/cost-optimization-hub/CostOptimizationHub_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/cost-optimization-hub/CostOptimizationHubServiceClientModel.h>
16namespace CostOptimizationHub
41 std::shared_ptr<CostOptimizationHubEndpointProviderBase> endpointProvider =
nullptr);
48 std::shared_ptr<CostOptimizationHubEndpointProviderBase> endpointProvider =
nullptr,
56 std::shared_ptr<CostOptimizationHubEndpointProviderBase> endpointProvider =
nullptr,
98 template<
typename GetPreferencesRequestT = Model::GetPreferencesRequest>
101 return SubmitCallable(&CostOptimizationHubClient::GetPreferences, request);
107 template<
typename GetPreferencesRequestT = Model::GetPreferencesRequest>
110 return SubmitAsync(&CostOptimizationHubClient::GetPreferences, request, handler, context);
128 template<
typename GetRecommendationRequestT = Model::GetRecommendationRequest>
131 return SubmitCallable(&CostOptimizationHubClient::GetRecommendation, request);
137 template<
typename GetRecommendationRequestT = Model::GetRecommendationRequest>
140 return SubmitAsync(&CostOptimizationHubClient::GetRecommendation, request, handler, context);
155 template<
typename ListEnrollmentStatusesRequestT = Model::ListEnrollmentStatusesRequest>
158 return SubmitCallable(&CostOptimizationHubClient::ListEnrollmentStatuses, request);
164 template<
typename ListEnrollmentStatusesRequestT = Model::ListEnrollmentStatusesRequest>
167 return SubmitAsync(&CostOptimizationHubClient::ListEnrollmentStatuses, request, handler, context);
184 template<
typename ListRecommendationSummariesRequestT = Model::ListRecommendationSummariesRequest>
187 return SubmitCallable(&CostOptimizationHubClient::ListRecommendationSummaries, request);
193 template<
typename ListRecommendationSummariesRequestT = Model::ListRecommendationSummariesRequest>
196 return SubmitAsync(&CostOptimizationHubClient::ListRecommendationSummaries, request, handler, context);
209 template<
typename ListRecommendationsRequestT = Model::ListRecommendationsRequest>
212 return SubmitCallable(&CostOptimizationHubClient::ListRecommendations, request);
218 template<
typename ListRecommendationsRequestT = Model::ListRecommendationsRequest>
221 return SubmitAsync(&CostOptimizationHubClient::ListRecommendations, request, handler, context);
240 template<
typename UpdateEnrollmentStatusRequestT = Model::UpdateEnrollmentStatusRequest>
243 return SubmitCallable(&CostOptimizationHubClient::UpdateEnrollmentStatus, request);
249 template<
typename UpdateEnrollmentStatusRequestT = Model::UpdateEnrollmentStatusRequest>
252 return SubmitAsync(&CostOptimizationHubClient::UpdateEnrollmentStatus, request, handler, context);
267 template<
typename UpdatePreferencesRequestT = Model::UpdatePreferencesRequest>
270 return SubmitCallable(&CostOptimizationHubClient::UpdatePreferences, request);
276 template<
typename UpdatePreferencesRequestT = Model::UpdatePreferencesRequest>
279 return SubmitAsync(&CostOptimizationHubClient::UpdatePreferences, request, handler, context);
290 std::shared_ptr<CostOptimizationHubEndpointProviderBase> m_endpointProvider;
CostOptimizationHubClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< CostOptimizationHubEndpointProviderBase > endpointProvider=nullptr, const Aws::CostOptimizationHub::CostOptimizationHubClientConfiguration &clientConfiguration=Aws::CostOptimizationHub::CostOptimizationHubClientConfiguration())
Model::UpdateEnrollmentStatusOutcomeCallable UpdateEnrollmentStatusCallable(const UpdateEnrollmentStatusRequestT &request) const
CostOptimizationHubClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
CostOptimizationHubClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< CostOptimizationHubEndpointProviderBase > endpointProvider=nullptr, const Aws::CostOptimizationHub::CostOptimizationHubClientConfiguration &clientConfiguration=Aws::CostOptimizationHub::CostOptimizationHubClientConfiguration())
void ListRecommendationsAsync(const ListRecommendationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListRecommendationsRequestT &request={}) const
void UpdateEnrollmentStatusAsync(const UpdateEnrollmentStatusRequestT &request, const UpdateEnrollmentStatusResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::shared_ptr< CostOptimizationHubEndpointProviderBase > & accessEndpointProvider()
Aws::Client::AWSJsonClient BASECLASS
void GetRecommendationAsync(const GetRecommendationRequestT &request, const GetRecommendationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetRecommendationOutcomeCallable GetRecommendationCallable(const GetRecommendationRequestT &request) const
virtual Model::UpdatePreferencesOutcome UpdatePreferences(const Model::UpdatePreferencesRequest &request={}) const
void UpdatePreferencesAsync(const UpdatePreferencesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const UpdatePreferencesRequestT &request={}) const
void ListRecommendationSummariesAsync(const ListRecommendationSummariesRequestT &request, const ListRecommendationSummariesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GetRecommendationOutcome GetRecommendation(const Model::GetRecommendationRequest &request) const
virtual Model::GetPreferencesOutcome GetPreferences(const Model::GetPreferencesRequest &request={}) const
void GetPreferencesAsync(const GetPreferencesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetPreferencesRequestT &request={}) const
virtual Model::UpdateEnrollmentStatusOutcome UpdateEnrollmentStatus(const Model::UpdateEnrollmentStatusRequest &request) const
Model::UpdatePreferencesOutcomeCallable UpdatePreferencesCallable(const UpdatePreferencesRequestT &request={}) const
CostOptimizationHubClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::ListEnrollmentStatusesOutcomeCallable ListEnrollmentStatusesCallable(const ListEnrollmentStatusesRequestT &request={}) const
CostOptimizationHubClient(const Aws::Client::ClientConfiguration &clientConfiguration)
CostOptimizationHubEndpointProvider EndpointProviderType
CostOptimizationHubClientConfiguration ClientConfigurationType
virtual Model::ListEnrollmentStatusesOutcome ListEnrollmentStatuses(const Model::ListEnrollmentStatusesRequest &request={}) const
virtual Model::ListRecommendationSummariesOutcome ListRecommendationSummaries(const Model::ListRecommendationSummariesRequest &request) const
Model::ListRecommendationsOutcomeCallable ListRecommendationsCallable(const ListRecommendationsRequestT &request={}) const
virtual Model::ListRecommendationsOutcome ListRecommendations(const Model::ListRecommendationsRequest &request={}) const
static const char * GetServiceName()
void OverrideEndpoint(const Aws::String &endpoint)
void ListEnrollmentStatusesAsync(const ListEnrollmentStatusesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListEnrollmentStatusesRequestT &request={}) const
Model::ListRecommendationSummariesOutcomeCallable ListRecommendationSummariesCallable(const ListRecommendationSummariesRequestT &request) const
static const char * GetAllocationTag()
CostOptimizationHubClient(const Aws::CostOptimizationHub::CostOptimizationHubClientConfiguration &clientConfiguration=Aws::CostOptimizationHub::CostOptimizationHubClientConfiguration(), std::shared_ptr< CostOptimizationHubEndpointProviderBase > endpointProvider=nullptr)
virtual ~CostOptimizationHubClient()
Model::GetPreferencesOutcomeCallable GetPreferencesCallable(const GetPreferencesRequestT &request={}) const
std::future< ListRecommendationSummariesOutcome > ListRecommendationSummariesOutcomeCallable
std::future< ListRecommendationsOutcome > ListRecommendationsOutcomeCallable
std::future< UpdateEnrollmentStatusOutcome > UpdateEnrollmentStatusOutcomeCallable
std::future< UpdatePreferencesOutcome > UpdatePreferencesOutcomeCallable
std::future< GetRecommendationOutcome > GetRecommendationOutcomeCallable
std::future< GetPreferencesOutcome > GetPreferencesOutcomeCallable
std::future< ListEnrollmentStatusesOutcome > ListEnrollmentStatusesOutcomeCallable
std::function< void(const CostOptimizationHubClient *, const Model::GetRecommendationRequest &, const Model::GetRecommendationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetRecommendationResponseReceivedHandler
std::function< void(const CostOptimizationHubClient *, const Model::UpdatePreferencesRequest &, const Model::UpdatePreferencesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdatePreferencesResponseReceivedHandler
std::function< void(const CostOptimizationHubClient *, const Model::ListRecommendationSummariesRequest &, const Model::ListRecommendationSummariesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListRecommendationSummariesResponseReceivedHandler
std::function< void(const CostOptimizationHubClient *, const Model::GetPreferencesRequest &, const Model::GetPreferencesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetPreferencesResponseReceivedHandler
std::function< void(const CostOptimizationHubClient *, const Model::UpdateEnrollmentStatusRequest &, const Model::UpdateEnrollmentStatusOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateEnrollmentStatusResponseReceivedHandler
std::function< void(const CostOptimizationHubClient *, const Model::ListEnrollmentStatusesRequest &, const Model::ListEnrollmentStatusesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListEnrollmentStatusesResponseReceivedHandler
std::function< void(const CostOptimizationHubClient *, const Model::ListRecommendationsRequest &, const Model::ListRecommendationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListRecommendationsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String