AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PersonalizeEventsClient.h
1
6#pragma once
7#include <aws/personalize-events/PersonalizeEvents_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-events/PersonalizeEventsServiceClientModel.h>
13
14namespace Aws
15{
16namespace PersonalizeEvents
17{
25 class AWS_PERSONALIZEEVENTS_API PersonalizeEventsClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<PersonalizeEventsClient>
26 {
27 public:
29 static const char* GetServiceName();
30 static const char* GetAllocationTag();
31
34
40 std::shared_ptr<PersonalizeEventsEndpointProviderBase> endpointProvider = nullptr);
41
47 std::shared_ptr<PersonalizeEventsEndpointProviderBase> endpointProvider = nullptr,
49
54 PersonalizeEventsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
55 std::shared_ptr<PersonalizeEventsEndpointProviderBase> endpointProvider = nullptr,
57
58
59 /* Legacy constructors due deprecation */
65
71 const Aws::Client::ClientConfiguration& clientConfiguration);
72
77 PersonalizeEventsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
78 const Aws::Client::ClientConfiguration& clientConfiguration);
79
80 /* End of legacy constructors due deprecation */
82
97
101 template<typename PutActionInteractionsRequestT = Model::PutActionInteractionsRequest>
102 Model::PutActionInteractionsOutcomeCallable PutActionInteractionsCallable(const PutActionInteractionsRequestT& request) const
103 {
104 return SubmitCallable(&PersonalizeEventsClient::PutActionInteractions, request);
105 }
106
110 template<typename PutActionInteractionsRequestT = Model::PutActionInteractionsRequest>
111 void PutActionInteractionsAsync(const PutActionInteractionsRequestT& request, const PutActionInteractionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
112 {
113 return SubmitAsync(&PersonalizeEventsClient::PutActionInteractions, request, handler, context);
114 }
115
124
128 template<typename PutActionsRequestT = Model::PutActionsRequest>
129 Model::PutActionsOutcomeCallable PutActionsCallable(const PutActionsRequestT& request) const
130 {
131 return SubmitCallable(&PersonalizeEventsClient::PutActions, request);
132 }
133
137 template<typename PutActionsRequestT = Model::PutActionsRequest>
138 void PutActionsAsync(const PutActionsRequestT& request, const PutActionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
139 {
140 return SubmitAsync(&PersonalizeEventsClient::PutActions, request, handler, context);
141 }
142
151
155 template<typename PutEventsRequestT = Model::PutEventsRequest>
156 Model::PutEventsOutcomeCallable PutEventsCallable(const PutEventsRequestT& request) const
157 {
158 return SubmitCallable(&PersonalizeEventsClient::PutEvents, request);
159 }
160
164 template<typename PutEventsRequestT = Model::PutEventsRequest>
165 void PutEventsAsync(const PutEventsRequestT& request, const PutEventsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
166 {
167 return SubmitAsync(&PersonalizeEventsClient::PutEvents, request, handler, context);
168 }
169
178
182 template<typename PutItemsRequestT = Model::PutItemsRequest>
183 Model::PutItemsOutcomeCallable PutItemsCallable(const PutItemsRequestT& request) const
184 {
185 return SubmitCallable(&PersonalizeEventsClient::PutItems, request);
186 }
187
191 template<typename PutItemsRequestT = Model::PutItemsRequest>
192 void PutItemsAsync(const PutItemsRequestT& request, const PutItemsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
193 {
194 return SubmitAsync(&PersonalizeEventsClient::PutItems, request, handler, context);
195 }
196
205
209 template<typename PutUsersRequestT = Model::PutUsersRequest>
210 Model::PutUsersOutcomeCallable PutUsersCallable(const PutUsersRequestT& request) const
211 {
212 return SubmitCallable(&PersonalizeEventsClient::PutUsers, request);
213 }
214
218 template<typename PutUsersRequestT = Model::PutUsersRequest>
219 void PutUsersAsync(const PutUsersRequestT& request, const PutUsersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
220 {
221 return SubmitAsync(&PersonalizeEventsClient::PutUsers, request, handler, context);
222 }
223
224
225 void OverrideEndpoint(const Aws::String& endpoint);
226 std::shared_ptr<PersonalizeEventsEndpointProviderBase>& accessEndpointProvider();
227 private:
229 void init(const PersonalizeEventsClientConfiguration& clientConfiguration);
230
231 PersonalizeEventsClientConfiguration m_clientConfiguration;
232 std::shared_ptr<PersonalizeEventsEndpointProviderBase> m_endpointProvider;
233 };
234
235} // namespace PersonalizeEvents
236} // namespace Aws
virtual Model::PutEventsOutcome PutEvents(const Model::PutEventsRequest &request) const
virtual Model::PutActionsOutcome PutActions(const Model::PutActionsRequest &request) const
PersonalizeEventsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< PersonalizeEventsEndpointProviderBase > endpointProvider=nullptr, const Aws::PersonalizeEvents::PersonalizeEventsClientConfiguration &clientConfiguration=Aws::PersonalizeEvents::PersonalizeEventsClientConfiguration())
void PutItemsAsync(const PutItemsRequestT &request, const PutItemsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::PutItemsOutcomeCallable PutItemsCallable(const PutItemsRequestT &request) const
virtual Model::PutUsersOutcome PutUsers(const Model::PutUsersRequest &request) const
Model::PutUsersOutcomeCallable PutUsersCallable(const PutUsersRequestT &request) const
PersonalizeEventsClient(const Aws::Client::ClientConfiguration &clientConfiguration)
PersonalizeEventsClient(const Aws::PersonalizeEvents::PersonalizeEventsClientConfiguration &clientConfiguration=Aws::PersonalizeEvents::PersonalizeEventsClientConfiguration(), std::shared_ptr< PersonalizeEventsEndpointProviderBase > endpointProvider=nullptr)
Model::PutActionsOutcomeCallable PutActionsCallable(const PutActionsRequestT &request) const
void PutActionInteractionsAsync(const PutActionInteractionsRequestT &request, const PutActionInteractionsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::shared_ptr< PersonalizeEventsEndpointProviderBase > & accessEndpointProvider()
Model::PutActionInteractionsOutcomeCallable PutActionInteractionsCallable(const PutActionInteractionsRequestT &request) const
virtual Model::PutItemsOutcome PutItems(const Model::PutItemsRequest &request) const
void PutEventsAsync(const PutEventsRequestT &request, const PutEventsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void PutUsersAsync(const PutUsersRequestT &request, const PutUsersResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
PersonalizeEventsClientConfiguration ClientConfigurationType
virtual Model::PutActionInteractionsOutcome PutActionInteractions(const Model::PutActionInteractionsRequest &request) const
Model::PutEventsOutcomeCallable PutEventsCallable(const PutEventsRequestT &request) const
PersonalizeEventsEndpointProvider EndpointProviderType
void OverrideEndpoint(const Aws::String &endpoint)
PersonalizeEventsClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< PersonalizeEventsEndpointProviderBase > endpointProvider=nullptr, const Aws::PersonalizeEvents::PersonalizeEventsClientConfiguration &clientConfiguration=Aws::PersonalizeEvents::PersonalizeEventsClientConfiguration())
PersonalizeEventsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
void PutActionsAsync(const PutActionsRequestT &request, const PutActionsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
PersonalizeEventsClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
std::future< PutActionsOutcome > PutActionsOutcomeCallable
std::future< PutItemsOutcome > PutItemsOutcomeCallable
std::future< PutActionInteractionsOutcome > PutActionInteractionsOutcomeCallable
std::future< PutEventsOutcome > PutEventsOutcomeCallable
std::future< PutUsersOutcome > PutUsersOutcomeCallable
std::function< void(const PersonalizeEventsClient *, const Model::PutItemsRequest &, const Model::PutItemsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutItemsResponseReceivedHandler
std::function< void(const PersonalizeEventsClient *, const Model::PutActionInteractionsRequest &, const Model::PutActionInteractionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutActionInteractionsResponseReceivedHandler
std::function< void(const PersonalizeEventsClient *, const Model::PutUsersRequest &, const Model::PutUsersOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutUsersResponseReceivedHandler
std::function< void(const PersonalizeEventsClient *, const Model::PutActionsRequest &, const Model::PutActionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutActionsResponseReceivedHandler
std::function< void(const PersonalizeEventsClient *, const Model::PutEventsRequest &, const Model::PutEventsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutEventsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String