AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KendraRankingClient.h
1
6#pragma once
7#include <aws/kendra-ranking/KendraRanking_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/kendra-ranking/KendraRankingServiceClientModel.h>
13
14namespace Aws
15{
16namespace KendraRanking
17{
22 class AWS_KENDRARANKING_API KendraRankingClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<KendraRankingClient>
23 {
24 public:
26 static const char* GetServiceName();
27 static const char* GetAllocationTag();
28
31
37 std::shared_ptr<KendraRankingEndpointProviderBase> endpointProvider = nullptr);
38
44 std::shared_ptr<KendraRankingEndpointProviderBase> endpointProvider = nullptr,
46
51 KendraRankingClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
52 std::shared_ptr<KendraRankingEndpointProviderBase> endpointProvider = nullptr,
54
55
56 /* Legacy constructors due deprecation */
62
68 const Aws::Client::ClientConfiguration& clientConfiguration);
69
74 KendraRankingClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
75 const Aws::Client::ClientConfiguration& clientConfiguration);
76
77 /* End of legacy constructors due deprecation */
79
94
98 template<typename CreateRescoreExecutionPlanRequestT = Model::CreateRescoreExecutionPlanRequest>
99 Model::CreateRescoreExecutionPlanOutcomeCallable CreateRescoreExecutionPlanCallable(const CreateRescoreExecutionPlanRequestT& request) const
100 {
101 return SubmitCallable(&KendraRankingClient::CreateRescoreExecutionPlan, request);
102 }
103
107 template<typename CreateRescoreExecutionPlanRequestT = Model::CreateRescoreExecutionPlanRequest>
108 void CreateRescoreExecutionPlanAsync(const CreateRescoreExecutionPlanRequestT& request, const CreateRescoreExecutionPlanResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
109 {
110 return SubmitAsync(&KendraRankingClient::CreateRescoreExecutionPlan, request, handler, context);
111 }
112
121
125 template<typename DeleteRescoreExecutionPlanRequestT = Model::DeleteRescoreExecutionPlanRequest>
126 Model::DeleteRescoreExecutionPlanOutcomeCallable DeleteRescoreExecutionPlanCallable(const DeleteRescoreExecutionPlanRequestT& request) const
127 {
128 return SubmitCallable(&KendraRankingClient::DeleteRescoreExecutionPlan, request);
129 }
130
134 template<typename DeleteRescoreExecutionPlanRequestT = Model::DeleteRescoreExecutionPlanRequest>
135 void DeleteRescoreExecutionPlanAsync(const DeleteRescoreExecutionPlanRequestT& request, const DeleteRescoreExecutionPlanResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
136 {
137 return SubmitAsync(&KendraRankingClient::DeleteRescoreExecutionPlan, request, handler, context);
138 }
139
148
152 template<typename DescribeRescoreExecutionPlanRequestT = Model::DescribeRescoreExecutionPlanRequest>
153 Model::DescribeRescoreExecutionPlanOutcomeCallable DescribeRescoreExecutionPlanCallable(const DescribeRescoreExecutionPlanRequestT& request) const
154 {
155 return SubmitCallable(&KendraRankingClient::DescribeRescoreExecutionPlan, request);
156 }
157
161 template<typename DescribeRescoreExecutionPlanRequestT = Model::DescribeRescoreExecutionPlanRequest>
162 void DescribeRescoreExecutionPlanAsync(const DescribeRescoreExecutionPlanRequestT& request, const DescribeRescoreExecutionPlanResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
163 {
164 return SubmitAsync(&KendraRankingClient::DescribeRescoreExecutionPlan, request, handler, context);
165 }
166
175
179 template<typename ListRescoreExecutionPlansRequestT = Model::ListRescoreExecutionPlansRequest>
180 Model::ListRescoreExecutionPlansOutcomeCallable ListRescoreExecutionPlansCallable(const ListRescoreExecutionPlansRequestT& request = {}) const
181 {
182 return SubmitCallable(&KendraRankingClient::ListRescoreExecutionPlans, request);
183 }
184
188 template<typename ListRescoreExecutionPlansRequestT = Model::ListRescoreExecutionPlansRequest>
189 void ListRescoreExecutionPlansAsync(const ListRescoreExecutionPlansResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListRescoreExecutionPlansRequestT& request = {}) const
190 {
191 return SubmitAsync(&KendraRankingClient::ListRescoreExecutionPlans, request, handler, context);
192 }
193
202
206 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
207 Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
208 {
209 return SubmitCallable(&KendraRankingClient::ListTagsForResource, request);
210 }
211
215 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
216 void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
217 {
218 return SubmitAsync(&KendraRankingClient::ListTagsForResource, request, handler, context);
219 }
220
230
234 template<typename RescoreRequestT = Model::RescoreRequest>
235 Model::RescoreOutcomeCallable RescoreCallable(const RescoreRequestT& request) const
236 {
237 return SubmitCallable(&KendraRankingClient::Rescore, request);
238 }
239
243 template<typename RescoreRequestT = Model::RescoreRequest>
244 void RescoreAsync(const RescoreRequestT& request, const RescoreResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
245 {
246 return SubmitAsync(&KendraRankingClient::Rescore, request, handler, context);
247 }
248
258
262 template<typename TagResourceRequestT = Model::TagResourceRequest>
263 Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
264 {
265 return SubmitCallable(&KendraRankingClient::TagResource, request);
266 }
267
271 template<typename TagResourceRequestT = Model::TagResourceRequest>
272 void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
273 {
274 return SubmitAsync(&KendraRankingClient::TagResource, request, handler, context);
275 }
276
285
289 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
290 Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
291 {
292 return SubmitCallable(&KendraRankingClient::UntagResource, request);
293 }
294
298 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
299 void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
300 {
301 return SubmitAsync(&KendraRankingClient::UntagResource, request, handler, context);
302 }
303
314
318 template<typename UpdateRescoreExecutionPlanRequestT = Model::UpdateRescoreExecutionPlanRequest>
319 Model::UpdateRescoreExecutionPlanOutcomeCallable UpdateRescoreExecutionPlanCallable(const UpdateRescoreExecutionPlanRequestT& request) const
320 {
321 return SubmitCallable(&KendraRankingClient::UpdateRescoreExecutionPlan, request);
322 }
323
327 template<typename UpdateRescoreExecutionPlanRequestT = Model::UpdateRescoreExecutionPlanRequest>
328 void UpdateRescoreExecutionPlanAsync(const UpdateRescoreExecutionPlanRequestT& request, const UpdateRescoreExecutionPlanResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
329 {
330 return SubmitAsync(&KendraRankingClient::UpdateRescoreExecutionPlan, request, handler, context);
331 }
332
333
334 void OverrideEndpoint(const Aws::String& endpoint);
335 std::shared_ptr<KendraRankingEndpointProviderBase>& accessEndpointProvider();
336 private:
338 void init(const KendraRankingClientConfiguration& clientConfiguration);
339
340 KendraRankingClientConfiguration m_clientConfiguration;
341 std::shared_ptr<KendraRankingEndpointProviderBase> m_endpointProvider;
342 };
343
344} // namespace KendraRanking
345} // namespace Aws
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
virtual Model::DescribeRescoreExecutionPlanOutcome DescribeRescoreExecutionPlan(const Model::DescribeRescoreExecutionPlanRequest &request) const
static const char * GetAllocationTag()
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
void UpdateRescoreExecutionPlanAsync(const UpdateRescoreExecutionPlanRequestT &request, const UpdateRescoreExecutionPlanResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::CreateRescoreExecutionPlanOutcome CreateRescoreExecutionPlan(const Model::CreateRescoreExecutionPlanRequest &request) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
void RescoreAsync(const RescoreRequestT &request, const RescoreResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListRescoreExecutionPlansOutcome ListRescoreExecutionPlans(const Model::ListRescoreExecutionPlansRequest &request={}) const
Model::DeleteRescoreExecutionPlanOutcomeCallable DeleteRescoreExecutionPlanCallable(const DeleteRescoreExecutionPlanRequestT &request) const
KendraRankingClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
KendraRankingClientConfiguration ClientConfigurationType
Model::UpdateRescoreExecutionPlanOutcomeCallable UpdateRescoreExecutionPlanCallable(const UpdateRescoreExecutionPlanRequestT &request) const
Model::ListRescoreExecutionPlansOutcomeCallable ListRescoreExecutionPlansCallable(const ListRescoreExecutionPlansRequestT &request={}) const
KendraRankingClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void CreateRescoreExecutionPlanAsync(const CreateRescoreExecutionPlanRequestT &request, const CreateRescoreExecutionPlanResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DeleteRescoreExecutionPlanOutcome DeleteRescoreExecutionPlan(const Model::DeleteRescoreExecutionPlanRequest &request) const
virtual Model::RescoreOutcome Rescore(const Model::RescoreRequest &request) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
virtual Model::UpdateRescoreExecutionPlanOutcome UpdateRescoreExecutionPlan(const Model::UpdateRescoreExecutionPlanRequest &request) const
void DescribeRescoreExecutionPlanAsync(const DescribeRescoreExecutionPlanRequestT &request, const DescribeRescoreExecutionPlanResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::RescoreOutcomeCallable RescoreCallable(const RescoreRequestT &request) const
KendraRankingClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< KendraRankingEndpointProviderBase > endpointProvider=nullptr, const Aws::KendraRanking::KendraRankingClientConfiguration &clientConfiguration=Aws::KendraRanking::KendraRankingClientConfiguration())
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void OverrideEndpoint(const Aws::String &endpoint)
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::DescribeRescoreExecutionPlanOutcomeCallable DescribeRescoreExecutionPlanCallable(const DescribeRescoreExecutionPlanRequestT &request) const
KendraRankingClient(const Aws::KendraRanking::KendraRankingClientConfiguration &clientConfiguration=Aws::KendraRanking::KendraRankingClientConfiguration(), std::shared_ptr< KendraRankingEndpointProviderBase > endpointProvider=nullptr)
std::shared_ptr< KendraRankingEndpointProviderBase > & accessEndpointProvider()
Model::CreateRescoreExecutionPlanOutcomeCallable CreateRescoreExecutionPlanCallable(const CreateRescoreExecutionPlanRequestT &request) const
KendraRankingClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< KendraRankingEndpointProviderBase > endpointProvider=nullptr, const Aws::KendraRanking::KendraRankingClientConfiguration &clientConfiguration=Aws::KendraRanking::KendraRankingClientConfiguration())
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
KendraRankingClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
KendraRankingEndpointProvider EndpointProviderType
void DeleteRescoreExecutionPlanAsync(const DeleteRescoreExecutionPlanRequestT &request, const DeleteRescoreExecutionPlanResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListRescoreExecutionPlansAsync(const ListRescoreExecutionPlansResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListRescoreExecutionPlansRequestT &request={}) const
std::future< DeleteRescoreExecutionPlanOutcome > DeleteRescoreExecutionPlanOutcomeCallable
std::future< ListRescoreExecutionPlansOutcome > ListRescoreExecutionPlansOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< CreateRescoreExecutionPlanOutcome > CreateRescoreExecutionPlanOutcomeCallable
std::future< RescoreOutcome > RescoreOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< UpdateRescoreExecutionPlanOutcome > UpdateRescoreExecutionPlanOutcomeCallable
std::future< DescribeRescoreExecutionPlanOutcome > DescribeRescoreExecutionPlanOutcomeCallable
std::function< void(const KendraRankingClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const KendraRankingClient *, const Model::DescribeRescoreExecutionPlanRequest &, const Model::DescribeRescoreExecutionPlanOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeRescoreExecutionPlanResponseReceivedHandler
std::function< void(const KendraRankingClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const KendraRankingClient *, const Model::ListRescoreExecutionPlansRequest &, const Model::ListRescoreExecutionPlansOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListRescoreExecutionPlansResponseReceivedHandler
std::function< void(const KendraRankingClient *, const Model::CreateRescoreExecutionPlanRequest &, const Model::CreateRescoreExecutionPlanOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateRescoreExecutionPlanResponseReceivedHandler
std::function< void(const KendraRankingClient *, const Model::DeleteRescoreExecutionPlanRequest &, const Model::DeleteRescoreExecutionPlanOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteRescoreExecutionPlanResponseReceivedHandler
std::function< void(const KendraRankingClient *, const Model::UpdateRescoreExecutionPlanRequest &, const Model::UpdateRescoreExecutionPlanOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateRescoreExecutionPlanResponseReceivedHandler
std::function< void(const KendraRankingClient *, const Model::RescoreRequest &, const Model::RescoreOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RescoreResponseReceivedHandler
std::function< void(const KendraRankingClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String