7#include <aws/translate/Translate_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/translate/TranslateServiceClientModel.h>
37 std::shared_ptr<TranslateEndpointProviderBase> endpointProvider =
nullptr);
44 std::shared_ptr<TranslateEndpointProviderBase> endpointProvider =
nullptr,
51 TranslateClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
52 std::shared_ptr<TranslateEndpointProviderBase> endpointProvider =
nullptr,
74 TranslateClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
94 template<
typename CreateParallelDataRequestT = Model::CreateParallelDataRequest>
97 return SubmitCallable(&TranslateClient::CreateParallelData, request);
103 template<
typename CreateParallelDataRequestT = Model::CreateParallelDataRequest>
106 return SubmitAsync(&TranslateClient::CreateParallelData, request, handler, context);
120 template<
typename DeleteParallelDataRequestT = Model::DeleteParallelDataRequest>
123 return SubmitCallable(&TranslateClient::DeleteParallelData, request);
129 template<
typename DeleteParallelDataRequestT = Model::DeleteParallelDataRequest>
132 return SubmitAsync(&TranslateClient::DeleteParallelData, request, handler, context);
146 template<
typename DeleteTerminologyRequestT = Model::DeleteTerminologyRequest>
149 return SubmitCallable(&TranslateClient::DeleteTerminology, request);
155 template<
typename DeleteTerminologyRequestT = Model::DeleteTerminologyRequest>
158 return SubmitAsync(&TranslateClient::DeleteTerminology, request, handler, context);
173 template<
typename DescribeTextTranslationJobRequestT = Model::DescribeTextTranslationJobRequest>
176 return SubmitCallable(&TranslateClient::DescribeTextTranslationJob, request);
182 template<
typename DescribeTextTranslationJobRequestT = Model::DescribeTextTranslationJobRequest>
185 return SubmitAsync(&TranslateClient::DescribeTextTranslationJob, request, handler, context);
199 template<
typename GetParallelDataRequestT = Model::GetParallelDataRequest>
202 return SubmitCallable(&TranslateClient::GetParallelData, request);
208 template<
typename GetParallelDataRequestT = Model::GetParallelDataRequest>
211 return SubmitAsync(&TranslateClient::GetParallelData, request, handler, context);
224 template<
typename GetTerminologyRequestT = Model::GetTerminologyRequest>
227 return SubmitCallable(&TranslateClient::GetTerminology, request);
233 template<
typename GetTerminologyRequestT = Model::GetTerminologyRequest>
236 return SubmitAsync(&TranslateClient::GetTerminology, request, handler, context);
256 template<
typename ImportTerminologyRequestT = Model::ImportTerminologyRequest>
259 return SubmitCallable(&TranslateClient::ImportTerminology, request);
265 template<
typename ImportTerminologyRequestT = Model::ImportTerminologyRequest>
268 return SubmitAsync(&TranslateClient::ImportTerminology, request, handler, context);
282 template<
typename ListLanguagesRequestT = Model::ListLanguagesRequest>
285 return SubmitCallable(&TranslateClient::ListLanguages, request);
291 template<
typename ListLanguagesRequestT = Model::ListLanguagesRequest>
294 return SubmitAsync(&TranslateClient::ListLanguages, request, handler, context);
308 template<
typename ListParallelDataRequestT = Model::ListParallelDataRequest>
311 return SubmitCallable(&TranslateClient::ListParallelData, request);
317 template<
typename ListParallelDataRequestT = Model::ListParallelDataRequest>
320 return SubmitAsync(&TranslateClient::ListParallelData, request, handler, context);
336 template<
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
339 return SubmitCallable(&TranslateClient::ListTagsForResource, request);
345 template<
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
348 return SubmitAsync(&TranslateClient::ListTagsForResource, request, handler, context);
362 template<
typename ListTerminologiesRequestT = Model::ListTerminologiesRequest>
365 return SubmitCallable(&TranslateClient::ListTerminologies, request);
371 template<
typename ListTerminologiesRequestT = Model::ListTerminologiesRequest>
374 return SubmitAsync(&TranslateClient::ListTerminologies, request, handler, context);
388 template<
typename ListTextTranslationJobsRequestT = Model::ListTextTranslationJobsRequest>
391 return SubmitCallable(&TranslateClient::ListTextTranslationJobs, request);
397 template<
typename ListTextTranslationJobsRequestT = Model::ListTextTranslationJobsRequest>
400 return SubmitAsync(&TranslateClient::ListTextTranslationJobs, request, handler, context);
423 template<
typename StartTextTranslationJobRequestT = Model::StartTextTranslationJobRequest>
426 return SubmitCallable(&TranslateClient::StartTextTranslationJob, request);
432 template<
typename StartTextTranslationJobRequestT = Model::StartTextTranslationJobRequest>
435 return SubmitAsync(&TranslateClient::StartTextTranslationJob, request, handler, context);
457 template<
typename StopTextTranslationJobRequestT = Model::StopTextTranslationJobRequest>
460 return SubmitCallable(&TranslateClient::StopTextTranslationJob, request);
466 template<
typename StopTextTranslationJobRequestT = Model::StopTextTranslationJobRequest>
469 return SubmitAsync(&TranslateClient::StopTextTranslationJob, request, handler, context);
485 template<
typename TagResourceRequestT = Model::TagResourceRequest>
488 return SubmitCallable(&TranslateClient::TagResource, request);
494 template<
typename TagResourceRequestT = Model::TagResourceRequest>
497 return SubmitAsync(&TranslateClient::TagResource, request, handler, context);
519 template<
typename TranslateDocumentRequestT = Model::TranslateDocumentRequest>
522 return SubmitCallable(&TranslateClient::TranslateDocument, request);
528 template<
typename TranslateDocumentRequestT = Model::TranslateDocumentRequest>
531 return SubmitAsync(&TranslateClient::TranslateDocument, request, handler, context);
547 template<
typename TranslateTextRequestT = Model::TranslateTextRequest>
550 return SubmitCallable(&TranslateClient::TranslateText, request);
556 template<
typename TranslateTextRequestT = Model::TranslateTextRequest>
559 return SubmitAsync(&TranslateClient::TranslateText, request, handler, context);
575 template<
typename UntagResourceRequestT = Model::UntagResourceRequest>
578 return SubmitCallable(&TranslateClient::UntagResource, request);
584 template<
typename UntagResourceRequestT = Model::UntagResourceRequest>
587 return SubmitAsync(&TranslateClient::UntagResource, request, handler, context);
601 template<
typename UpdateParallelDataRequestT = Model::UpdateParallelDataRequest>
604 return SubmitCallable(&TranslateClient::UpdateParallelData, request);
610 template<
typename UpdateParallelDataRequestT = Model::UpdateParallelDataRequest>
613 return SubmitAsync(&TranslateClient::UpdateParallelData, request, handler, context);
624 std::shared_ptr<TranslateEndpointProviderBase> m_endpointProvider;
void TranslateDocumentAsync(const TranslateDocumentRequestT &request, const TranslateDocumentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void StartTextTranslationJobAsync(const StartTextTranslationJobRequestT &request, const StartTextTranslationJobResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GetParallelDataOutcome GetParallelData(const Model::GetParallelDataRequest &request) const
TranslateClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::StopTextTranslationJobOutcome StopTextTranslationJob(const Model::StopTextTranslationJobRequest &request) const
static const char * GetAllocationTag()
virtual Model::ListLanguagesOutcome ListLanguages(const Model::ListLanguagesRequest &request={}) const
void ListTextTranslationJobsAsync(const ListTextTranslationJobsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListTextTranslationJobsRequestT &request={}) const
virtual Model::StartTextTranslationJobOutcome StartTextTranslationJob(const Model::StartTextTranslationJobRequest &request) const
TranslateClient(const Aws::Translate::TranslateClientConfiguration &clientConfiguration=Aws::Translate::TranslateClientConfiguration(), std::shared_ptr< TranslateEndpointProviderBase > endpointProvider=nullptr)
TranslateClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
void UpdateParallelDataAsync(const UpdateParallelDataRequestT &request, const UpdateParallelDataResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListTerminologiesOutcome ListTerminologies(const Model::ListTerminologiesRequest &request={}) const
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
Model::GetTerminologyOutcomeCallable GetTerminologyCallable(const GetTerminologyRequestT &request) const
TranslateClientConfiguration ClientConfigurationType
Model::DeleteTerminologyOutcomeCallable DeleteTerminologyCallable(const DeleteTerminologyRequestT &request) const
void GetTerminologyAsync(const GetTerminologyRequestT &request, const GetTerminologyResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void CreateParallelDataAsync(const CreateParallelDataRequestT &request, const CreateParallelDataResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ImportTerminologyOutcomeCallable ImportTerminologyCallable(const ImportTerminologyRequestT &request) const
void DescribeTextTranslationJobAsync(const DescribeTextTranslationJobRequestT &request, const DescribeTextTranslationJobResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
TranslateEndpointProvider EndpointProviderType
Model::DescribeTextTranslationJobOutcomeCallable DescribeTextTranslationJobCallable(const DescribeTextTranslationJobRequestT &request) const
Model::DeleteParallelDataOutcomeCallable DeleteParallelDataCallable(const DeleteParallelDataRequestT &request) const
virtual Model::GetTerminologyOutcome GetTerminology(const Model::GetTerminologyRequest &request) const
virtual Model::TranslateTextOutcome TranslateText(const Model::TranslateTextRequest &request) const
void DeleteTerminologyAsync(const DeleteTerminologyRequestT &request, const DeleteTerminologyResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListTextTranslationJobsOutcomeCallable ListTextTranslationJobsCallable(const ListTextTranslationJobsRequestT &request={}) const
TranslateClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void ImportTerminologyAsync(const ImportTerminologyRequestT &request, const ImportTerminologyResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
TranslateClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< TranslateEndpointProviderBase > endpointProvider=nullptr, const Aws::Translate::TranslateClientConfiguration &clientConfiguration=Aws::Translate::TranslateClientConfiguration())
Model::TranslateDocumentOutcomeCallable TranslateDocumentCallable(const TranslateDocumentRequestT &request) const
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
Model::UpdateParallelDataOutcomeCallable UpdateParallelDataCallable(const UpdateParallelDataRequestT &request) const
Model::ListTerminologiesOutcomeCallable ListTerminologiesCallable(const ListTerminologiesRequestT &request={}) const
void DeleteParallelDataAsync(const DeleteParallelDataRequestT &request, const DeleteParallelDataResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListLanguagesOutcomeCallable ListLanguagesCallable(const ListLanguagesRequestT &request={}) const
Model::ListParallelDataOutcomeCallable ListParallelDataCallable(const ListParallelDataRequestT &request={}) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
virtual Model::ImportTerminologyOutcome ImportTerminology(const Model::ImportTerminologyRequest &request) const
virtual Model::DeleteTerminologyOutcome DeleteTerminology(const Model::DeleteTerminologyRequest &request) const
virtual Model::ListParallelDataOutcome ListParallelData(const Model::ListParallelDataRequest &request={}) const
virtual Model::DeleteParallelDataOutcome DeleteParallelData(const Model::DeleteParallelDataRequest &request) const
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
static const char * GetServiceName()
Model::StopTextTranslationJobOutcomeCallable StopTextTranslationJobCallable(const StopTextTranslationJobRequestT &request) const
virtual ~TranslateClient()
Aws::Client::AWSJsonClient BASECLASS
void GetParallelDataAsync(const GetParallelDataRequestT &request, const GetParallelDataResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListTextTranslationJobsOutcome ListTextTranslationJobs(const Model::ListTextTranslationJobsRequest &request={}) const
void ListLanguagesAsync(const ListLanguagesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListLanguagesRequestT &request={}) const
Model::GetParallelDataOutcomeCallable GetParallelDataCallable(const GetParallelDataRequestT &request) const
void OverrideEndpoint(const Aws::String &endpoint)
void TranslateTextAsync(const TranslateTextRequestT &request, const TranslateTextResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::TranslateTextOutcomeCallable TranslateTextCallable(const TranslateTextRequestT &request) const
virtual Model::CreateParallelDataOutcome CreateParallelData(const Model::CreateParallelDataRequest &request) const
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListParallelDataAsync(const ListParallelDataResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListParallelDataRequestT &request={}) const
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DescribeTextTranslationJobOutcome DescribeTextTranslationJob(const Model::DescribeTextTranslationJobRequest &request) const
Model::CreateParallelDataOutcomeCallable CreateParallelDataCallable(const CreateParallelDataRequestT &request) const
std::shared_ptr< TranslateEndpointProviderBase > & accessEndpointProvider()
void ListTerminologiesAsync(const ListTerminologiesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListTerminologiesRequestT &request={}) const
Model::StartTextTranslationJobOutcomeCallable StartTextTranslationJobCallable(const StartTextTranslationJobRequestT &request) const
TranslateClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< TranslateEndpointProviderBase > endpointProvider=nullptr, const Aws::Translate::TranslateClientConfiguration &clientConfiguration=Aws::Translate::TranslateClientConfiguration())
virtual Model::UpdateParallelDataOutcome UpdateParallelData(const Model::UpdateParallelDataRequest &request) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::TranslateDocumentOutcome TranslateDocument(const Model::TranslateDocumentRequest &request) const
void StopTextTranslationJobAsync(const StopTextTranslationJobRequestT &request, const StopTextTranslationJobResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::future< DeleteTerminologyOutcome > DeleteTerminologyOutcomeCallable
std::future< ImportTerminologyOutcome > ImportTerminologyOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< DeleteParallelDataOutcome > DeleteParallelDataOutcomeCallable
std::future< ListLanguagesOutcome > ListLanguagesOutcomeCallable
std::future< GetTerminologyOutcome > GetTerminologyOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< ListParallelDataOutcome > ListParallelDataOutcomeCallable
std::future< GetParallelDataOutcome > GetParallelDataOutcomeCallable
std::future< CreateParallelDataOutcome > CreateParallelDataOutcomeCallable
std::future< TranslateDocumentOutcome > TranslateDocumentOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< TranslateTextOutcome > TranslateTextOutcomeCallable
std::future< StartTextTranslationJobOutcome > StartTextTranslationJobOutcomeCallable
std::future< DescribeTextTranslationJobOutcome > DescribeTextTranslationJobOutcomeCallable
std::future< ListTextTranslationJobsOutcome > ListTextTranslationJobsOutcomeCallable
std::future< StopTextTranslationJobOutcome > StopTextTranslationJobOutcomeCallable
std::future< ListTerminologiesOutcome > ListTerminologiesOutcomeCallable
std::future< UpdateParallelDataOutcome > UpdateParallelDataOutcomeCallable
std::function< void(const TranslateClient *, const Model::StopTextTranslationJobRequest &, const Model::StopTextTranslationJobOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StopTextTranslationJobResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::GetParallelDataRequest &, const Model::GetParallelDataOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetParallelDataResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::ListTextTranslationJobsRequest &, const Model::ListTextTranslationJobsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTextTranslationJobsResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::ImportTerminologyRequest &, const Model::ImportTerminologyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ImportTerminologyResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::GetTerminologyRequest &, const Model::GetTerminologyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetTerminologyResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::UpdateParallelDataRequest &, const Model::UpdateParallelDataOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateParallelDataResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::StartTextTranslationJobRequest &, const Model::StartTextTranslationJobOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartTextTranslationJobResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::TranslateTextRequest &, const Model::TranslateTextOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TranslateTextResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::DeleteParallelDataRequest &, const Model::DeleteParallelDataOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteParallelDataResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::CreateParallelDataRequest &, const Model::CreateParallelDataOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateParallelDataResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::ListParallelDataRequest &, const Model::ListParallelDataOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListParallelDataResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::ListLanguagesRequest &, const Model::ListLanguagesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListLanguagesResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::ListTerminologiesRequest &, const Model::ListTerminologiesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTerminologiesResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::DescribeTextTranslationJobRequest &, const Model::DescribeTextTranslationJobOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeTextTranslationJobResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::DeleteTerminologyRequest &, const Model::DeleteTerminologyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteTerminologyResponseReceivedHandler
std::function< void(const TranslateClient *, const Model::TranslateDocumentRequest &, const Model::TranslateDocumentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TranslateDocumentResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String