7#include <aws/personalize-runtime/PersonalizeRuntime_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/personalize-runtime/PersonalizeRuntimeServiceClientModel.h>
16namespace PersonalizeRuntime
36 std::shared_ptr<PersonalizeRuntimeEndpointProviderBase> endpointProvider =
nullptr);
43 std::shared_ptr<PersonalizeRuntimeEndpointProviderBase> endpointProvider =
nullptr,
51 std::shared_ptr<PersonalizeRuntimeEndpointProviderBase> endpointProvider =
nullptr,
97 template<
typename GetActionRecommendationsRequestT = Model::GetActionRecommendationsRequest>
100 return SubmitCallable(&PersonalizeRuntimeClient::GetActionRecommendations, request);
106 template<
typename GetActionRecommendationsRequestT = Model::GetActionRecommendationsRequest>
109 return SubmitAsync(&PersonalizeRuntimeClient::GetActionRecommendations, request, handler, context);
125 template<
typename GetPersonalizedRankingRequestT = Model::GetPersonalizedRankingRequest>
128 return SubmitCallable(&PersonalizeRuntimeClient::GetPersonalizedRanking, request);
134 template<
typename GetPersonalizedRankingRequestT = Model::GetPersonalizedRankingRequest>
137 return SubmitAsync(&PersonalizeRuntimeClient::GetPersonalizedRanking, request, handler, context);
162 template<
typename GetRecommendationsRequestT = Model::GetRecommendationsRequest>
165 return SubmitCallable(&PersonalizeRuntimeClient::GetRecommendations, request);
171 template<
typename GetRecommendationsRequestT = Model::GetRecommendationsRequest>
174 return SubmitAsync(&PersonalizeRuntimeClient::GetRecommendations, request, handler, context);
185 std::shared_ptr<PersonalizeRuntimeEndpointProviderBase> m_endpointProvider;
void OverrideEndpoint(const Aws::String &endpoint)
virtual Model::GetRecommendationsOutcome GetRecommendations(const Model::GetRecommendationsRequest &request={}) const
PersonalizeRuntimeClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::GetActionRecommendationsOutcomeCallable GetActionRecommendationsCallable(const GetActionRecommendationsRequestT &request={}) const
Aws::Client::AWSJsonClient BASECLASS
virtual Model::GetActionRecommendationsOutcome GetActionRecommendations(const Model::GetActionRecommendationsRequest &request={}) const
PersonalizeRuntimeClient(const Aws::Client::ClientConfiguration &clientConfiguration)
PersonalizeRuntimeClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
PersonalizeRuntimeClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< PersonalizeRuntimeEndpointProviderBase > endpointProvider=nullptr, const Aws::PersonalizeRuntime::PersonalizeRuntimeClientConfiguration &clientConfiguration=Aws::PersonalizeRuntime::PersonalizeRuntimeClientConfiguration())
virtual ~PersonalizeRuntimeClient()
PersonalizeRuntimeClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< PersonalizeRuntimeEndpointProviderBase > endpointProvider=nullptr, const Aws::PersonalizeRuntime::PersonalizeRuntimeClientConfiguration &clientConfiguration=Aws::PersonalizeRuntime::PersonalizeRuntimeClientConfiguration())
std::shared_ptr< PersonalizeRuntimeEndpointProviderBase > & accessEndpointProvider()
Model::GetRecommendationsOutcomeCallable GetRecommendationsCallable(const GetRecommendationsRequestT &request={}) const
PersonalizeRuntimeClient(const Aws::PersonalizeRuntime::PersonalizeRuntimeClientConfiguration &clientConfiguration=Aws::PersonalizeRuntime::PersonalizeRuntimeClientConfiguration(), std::shared_ptr< PersonalizeRuntimeEndpointProviderBase > endpointProvider=nullptr)
PersonalizeRuntimeClientConfiguration ClientConfigurationType
static const char * GetServiceName()
void GetPersonalizedRankingAsync(const GetPersonalizedRankingRequestT &request, const GetPersonalizedRankingResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetPersonalizedRankingOutcomeCallable GetPersonalizedRankingCallable(const GetPersonalizedRankingRequestT &request) const
static const char * GetAllocationTag()
void GetRecommendationsAsync(const GetRecommendationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetRecommendationsRequestT &request={}) const
void GetActionRecommendationsAsync(const GetActionRecommendationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetActionRecommendationsRequestT &request={}) const
virtual Model::GetPersonalizedRankingOutcome GetPersonalizedRanking(const Model::GetPersonalizedRankingRequest &request) const
PersonalizeRuntimeEndpointProvider EndpointProviderType
std::future< GetRecommendationsOutcome > GetRecommendationsOutcomeCallable
std::future< GetActionRecommendationsOutcome > GetActionRecommendationsOutcomeCallable
std::future< GetPersonalizedRankingOutcome > GetPersonalizedRankingOutcomeCallable
std::function< void(const PersonalizeRuntimeClient *, const Model::GetRecommendationsRequest &, const Model::GetRecommendationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetRecommendationsResponseReceivedHandler
std::function< void(const PersonalizeRuntimeClient *, const Model::GetPersonalizedRankingRequest &, const Model::GetPersonalizedRankingOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetPersonalizedRankingResponseReceivedHandler
std::function< void(const PersonalizeRuntimeClient *, const Model::GetActionRecommendationsRequest &, const Model::GetActionRecommendationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetActionRecommendationsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String