AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TranslateServiceClientModel.h
1
6#pragma once
7
8/* Generic header includes */
9#include <aws/translate/TranslateErrors.h>
10#include <aws/core/client/GenericClientConfiguration.h>
11#include <aws/core/client/AWSError.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/client/AsyncCallerContext.h>
14#include <aws/core/http/HttpTypes.h>
15#include <aws/translate/TranslateEndpointProvider.h>
16#include <future>
17#include <functional>
18/* End of generic header includes */
19
20/* Service model headers required in TranslateClient header */
21#include <aws/translate/model/CreateParallelDataResult.h>
22#include <aws/translate/model/DeleteParallelDataResult.h>
23#include <aws/translate/model/DescribeTextTranslationJobResult.h>
24#include <aws/translate/model/GetParallelDataResult.h>
25#include <aws/translate/model/GetTerminologyResult.h>
26#include <aws/translate/model/ImportTerminologyResult.h>
27#include <aws/translate/model/ListLanguagesResult.h>
28#include <aws/translate/model/ListParallelDataResult.h>
29#include <aws/translate/model/ListTagsForResourceResult.h>
30#include <aws/translate/model/ListTerminologiesResult.h>
31#include <aws/translate/model/ListTextTranslationJobsResult.h>
32#include <aws/translate/model/StartTextTranslationJobResult.h>
33#include <aws/translate/model/StopTextTranslationJobResult.h>
34#include <aws/translate/model/TagResourceResult.h>
35#include <aws/translate/model/TranslateDocumentResult.h>
36#include <aws/translate/model/TranslateTextResult.h>
37#include <aws/translate/model/UntagResourceResult.h>
38#include <aws/translate/model/UpdateParallelDataResult.h>
39#include <aws/translate/model/ListTerminologiesRequest.h>
40#include <aws/translate/model/ListLanguagesRequest.h>
41#include <aws/translate/model/ListParallelDataRequest.h>
42#include <aws/translate/model/ListTextTranslationJobsRequest.h>
43#include <aws/core/NoResult.h>
44/* End of service model headers required in TranslateClient header */
45
46namespace Aws
47{
48 namespace Http
49 {
50 class HttpClient;
51 class HttpClientFactory;
52 } // namespace Http
53
54 namespace Utils
55 {
56 template< typename R, typename E> class Outcome;
57
58 namespace Threading
59 {
60 class Executor;
61 } // namespace Threading
62 } // namespace Utils
63
64 namespace Auth
65 {
66 class AWSCredentials;
67 class AWSCredentialsProvider;
68 } // namespace Auth
69
70 namespace Client
71 {
72 class RetryStrategy;
73 } // namespace Client
74
75 namespace Translate
76 {
80
81 namespace Model
82 {
83 /* Service model forward declarations required in TranslateClient header */
84 class CreateParallelDataRequest;
85 class DeleteParallelDataRequest;
86 class DeleteTerminologyRequest;
87 class DescribeTextTranslationJobRequest;
88 class GetParallelDataRequest;
89 class GetTerminologyRequest;
90 class ImportTerminologyRequest;
91 class ListLanguagesRequest;
92 class ListParallelDataRequest;
93 class ListTagsForResourceRequest;
94 class ListTerminologiesRequest;
95 class ListTextTranslationJobsRequest;
96 class StartTextTranslationJobRequest;
97 class StopTextTranslationJobRequest;
98 class TagResourceRequest;
99 class TranslateDocumentRequest;
100 class TranslateTextRequest;
101 class UntagResourceRequest;
102 class UpdateParallelDataRequest;
103 /* End of service model forward declarations required in TranslateClient header */
104
105 /* Service model Outcome class definitions */
125 /* End of service model Outcome class definitions */
126
127 /* Service model Outcome callable definitions */
128 typedef std::future<CreateParallelDataOutcome> CreateParallelDataOutcomeCallable;
129 typedef std::future<DeleteParallelDataOutcome> DeleteParallelDataOutcomeCallable;
130 typedef std::future<DeleteTerminologyOutcome> DeleteTerminologyOutcomeCallable;
131 typedef std::future<DescribeTextTranslationJobOutcome> DescribeTextTranslationJobOutcomeCallable;
132 typedef std::future<GetParallelDataOutcome> GetParallelDataOutcomeCallable;
133 typedef std::future<GetTerminologyOutcome> GetTerminologyOutcomeCallable;
134 typedef std::future<ImportTerminologyOutcome> ImportTerminologyOutcomeCallable;
135 typedef std::future<ListLanguagesOutcome> ListLanguagesOutcomeCallable;
136 typedef std::future<ListParallelDataOutcome> ListParallelDataOutcomeCallable;
137 typedef std::future<ListTagsForResourceOutcome> ListTagsForResourceOutcomeCallable;
138 typedef std::future<ListTerminologiesOutcome> ListTerminologiesOutcomeCallable;
139 typedef std::future<ListTextTranslationJobsOutcome> ListTextTranslationJobsOutcomeCallable;
140 typedef std::future<StartTextTranslationJobOutcome> StartTextTranslationJobOutcomeCallable;
141 typedef std::future<StopTextTranslationJobOutcome> StopTextTranslationJobOutcomeCallable;
142 typedef std::future<TagResourceOutcome> TagResourceOutcomeCallable;
143 typedef std::future<TranslateDocumentOutcome> TranslateDocumentOutcomeCallable;
144 typedef std::future<TranslateTextOutcome> TranslateTextOutcomeCallable;
145 typedef std::future<UntagResourceOutcome> UntagResourceOutcomeCallable;
146 typedef std::future<UpdateParallelDataOutcome> UpdateParallelDataOutcomeCallable;
147 /* End of service model Outcome callable definitions */
148 } // namespace Model
149
150 class TranslateClient;
151
152 /* Service model async handlers definitions */
153 typedef std::function<void(const TranslateClient*, const Model::CreateParallelDataRequest&, const Model::CreateParallelDataOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateParallelDataResponseReceivedHandler;
154 typedef std::function<void(const TranslateClient*, const Model::DeleteParallelDataRequest&, const Model::DeleteParallelDataOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteParallelDataResponseReceivedHandler;
155 typedef std::function<void(const TranslateClient*, const Model::DeleteTerminologyRequest&, const Model::DeleteTerminologyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteTerminologyResponseReceivedHandler;
156 typedef std::function<void(const TranslateClient*, const Model::DescribeTextTranslationJobRequest&, const Model::DescribeTextTranslationJobOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeTextTranslationJobResponseReceivedHandler;
157 typedef std::function<void(const TranslateClient*, const Model::GetParallelDataRequest&, const Model::GetParallelDataOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetParallelDataResponseReceivedHandler;
158 typedef std::function<void(const TranslateClient*, const Model::GetTerminologyRequest&, const Model::GetTerminologyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetTerminologyResponseReceivedHandler;
159 typedef std::function<void(const TranslateClient*, const Model::ImportTerminologyRequest&, const Model::ImportTerminologyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ImportTerminologyResponseReceivedHandler;
160 typedef std::function<void(const TranslateClient*, const Model::ListLanguagesRequest&, const Model::ListLanguagesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListLanguagesResponseReceivedHandler;
161 typedef std::function<void(const TranslateClient*, const Model::ListParallelDataRequest&, const Model::ListParallelDataOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListParallelDataResponseReceivedHandler;
162 typedef std::function<void(const TranslateClient*, const Model::ListTagsForResourceRequest&, const Model::ListTagsForResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTagsForResourceResponseReceivedHandler;
163 typedef std::function<void(const TranslateClient*, const Model::ListTerminologiesRequest&, const Model::ListTerminologiesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTerminologiesResponseReceivedHandler;
164 typedef std::function<void(const TranslateClient*, const Model::ListTextTranslationJobsRequest&, const Model::ListTextTranslationJobsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTextTranslationJobsResponseReceivedHandler;
165 typedef std::function<void(const TranslateClient*, const Model::StartTextTranslationJobRequest&, const Model::StartTextTranslationJobOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartTextTranslationJobResponseReceivedHandler;
166 typedef std::function<void(const TranslateClient*, const Model::StopTextTranslationJobRequest&, const Model::StopTextTranslationJobOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StopTextTranslationJobResponseReceivedHandler;
167 typedef std::function<void(const TranslateClient*, const Model::TagResourceRequest&, const Model::TagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TagResourceResponseReceivedHandler;
168 typedef std::function<void(const TranslateClient*, const Model::TranslateDocumentRequest&, const Model::TranslateDocumentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TranslateDocumentResponseReceivedHandler;
169 typedef std::function<void(const TranslateClient*, const Model::TranslateTextRequest&, const Model::TranslateTextOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TranslateTextResponseReceivedHandler;
170 typedef std::function<void(const TranslateClient*, const Model::UntagResourceRequest&, const Model::UntagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UntagResourceResponseReceivedHandler;
171 typedef std::function<void(const TranslateClient*, const Model::UpdateParallelDataRequest&, const Model::UpdateParallelDataOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateParallelDataResponseReceivedHandler;
172 /* End of service model async handlers definitions */
173 } // namespace Translate
174} // namespace Aws
EndpointProviderBase< TranslateClientConfiguration, TranslateBuiltInParameters, TranslateClientContextParameters > TranslateEndpointProviderBase
Aws::Utils::Outcome< DeleteParallelDataResult, TranslateError > DeleteParallelDataOutcome
std::future< DeleteTerminologyOutcome > DeleteTerminologyOutcomeCallable
std::future< ImportTerminologyOutcome > ImportTerminologyOutcomeCallable
Aws::Utils::Outcome< StopTextTranslationJobResult, TranslateError > StopTextTranslationJobOutcome
Aws::Utils::Outcome< GetParallelDataResult, TranslateError > GetParallelDataOutcome
Aws::Utils::Outcome< TranslateTextResult, TranslateError > TranslateTextOutcome
Aws::Utils::Outcome< ListParallelDataResult, TranslateError > ListParallelDataOutcome
Aws::Utils::Outcome< UpdateParallelDataResult, TranslateError > UpdateParallelDataOutcome
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< DeleteParallelDataOutcome > DeleteParallelDataOutcomeCallable
std::future< ListLanguagesOutcome > ListLanguagesOutcomeCallable
std::future< GetTerminologyOutcome > GetTerminologyOutcomeCallable
Aws::Utils::Outcome< GetTerminologyResult, TranslateError > GetTerminologyOutcome
std::future< TagResourceOutcome > TagResourceOutcomeCallable
Aws::Utils::Outcome< ListTextTranslationJobsResult, TranslateError > ListTextTranslationJobsOutcome
Aws::Utils::Outcome< TranslateDocumentResult, TranslateError > TranslateDocumentOutcome
Aws::Utils::Outcome< ImportTerminologyResult, TranslateError > ImportTerminologyOutcome
std::future< ListParallelDataOutcome > ListParallelDataOutcomeCallable
Aws::Utils::Outcome< ListTagsForResourceResult, TranslateError > ListTagsForResourceOutcome
std::future< GetParallelDataOutcome > GetParallelDataOutcomeCallable
Aws::Utils::Outcome< StartTextTranslationJobResult, TranslateError > StartTextTranslationJobOutcome
Aws::Utils::Outcome< UntagResourceResult, TranslateError > UntagResourceOutcome
std::future< CreateParallelDataOutcome > CreateParallelDataOutcomeCallable
std::future< TranslateDocumentOutcome > TranslateDocumentOutcomeCallable
Aws::Utils::Outcome< CreateParallelDataResult, TranslateError > CreateParallelDataOutcome
Aws::Utils::Outcome< DescribeTextTranslationJobResult, TranslateError > DescribeTextTranslationJobOutcome
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< TranslateTextOutcome > TranslateTextOutcomeCallable
Aws::Utils::Outcome< ListLanguagesResult, TranslateError > ListLanguagesOutcome
Aws::Utils::Outcome< TagResourceResult, TranslateError > TagResourceOutcome
std::future< StartTextTranslationJobOutcome > StartTextTranslationJobOutcomeCallable
std::future< DescribeTextTranslationJobOutcome > DescribeTextTranslationJobOutcomeCallable
std::future< ListTextTranslationJobsOutcome > ListTextTranslationJobsOutcomeCallable
Aws::Utils::Outcome< Aws::NoResult, TranslateError > DeleteTerminologyOutcome
std::future< StopTextTranslationJobOutcome > StopTextTranslationJobOutcomeCallable
std::future< ListTerminologiesOutcome > ListTerminologiesOutcomeCallable
Aws::Utils::Outcome< ListTerminologiesResult, TranslateError > ListTerminologiesOutcome
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