AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PollyServiceClientModel.h
1
6#pragma once
7
8/* Generic header includes */
9#include <aws/polly/PollyErrors.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/polly/PollyEndpointProvider.h>
16#include <future>
17#include <functional>
18/* End of generic header includes */
19
20/* Service model headers required in PollyClient header */
21#include <aws/polly/model/DeleteLexiconResult.h>
22#include <aws/polly/model/DescribeVoicesResult.h>
23#include <aws/polly/model/GetLexiconResult.h>
24#include <aws/polly/model/GetSpeechSynthesisTaskResult.h>
25#include <aws/polly/model/ListLexiconsResult.h>
26#include <aws/polly/model/ListSpeechSynthesisTasksResult.h>
27#include <aws/polly/model/PutLexiconResult.h>
28#include <aws/polly/model/StartSpeechSynthesisTaskResult.h>
29#include <aws/polly/model/SynthesizeSpeechResult.h>
30#include <aws/polly/model/DescribeVoicesRequest.h>
31#include <aws/polly/model/ListLexiconsRequest.h>
32#include <aws/polly/model/ListSpeechSynthesisTasksRequest.h>
33/* End of service model headers required in PollyClient header */
34
35namespace Aws
36{
37 namespace Http
38 {
39 class HttpClient;
40 class HttpClientFactory;
41 } // namespace Http
42
43 namespace Utils
44 {
45 template< typename R, typename E> class Outcome;
46
47 namespace Threading
48 {
49 class Executor;
50 } // namespace Threading
51 } // namespace Utils
52
53 namespace Auth
54 {
55 class AWSCredentials;
56 class AWSCredentialsProvider;
57 } // namespace Auth
58
59 namespace Client
60 {
61 class RetryStrategy;
62 } // namespace Client
63
64 namespace Polly
65 {
69
70 namespace Model
71 {
72 /* Service model forward declarations required in PollyClient header */
73 class DeleteLexiconRequest;
74 class DescribeVoicesRequest;
75 class GetLexiconRequest;
76 class GetSpeechSynthesisTaskRequest;
77 class ListLexiconsRequest;
78 class ListSpeechSynthesisTasksRequest;
79 class PutLexiconRequest;
80 class StartSpeechSynthesisTaskRequest;
81 class SynthesizeSpeechRequest;
82 /* End of service model forward declarations required in PollyClient header */
83
84 /* Service model Outcome class definitions */
94 /* End of service model Outcome class definitions */
95
96 /* Service model Outcome callable definitions */
97 typedef std::future<DeleteLexiconOutcome> DeleteLexiconOutcomeCallable;
98 typedef std::future<DescribeVoicesOutcome> DescribeVoicesOutcomeCallable;
99 typedef std::future<GetLexiconOutcome> GetLexiconOutcomeCallable;
100 typedef std::future<GetSpeechSynthesisTaskOutcome> GetSpeechSynthesisTaskOutcomeCallable;
101 typedef std::future<ListLexiconsOutcome> ListLexiconsOutcomeCallable;
102 typedef std::future<ListSpeechSynthesisTasksOutcome> ListSpeechSynthesisTasksOutcomeCallable;
103 typedef std::future<PutLexiconOutcome> PutLexiconOutcomeCallable;
104 typedef std::future<StartSpeechSynthesisTaskOutcome> StartSpeechSynthesisTaskOutcomeCallable;
105 typedef std::future<SynthesizeSpeechOutcome> SynthesizeSpeechOutcomeCallable;
106 /* End of service model Outcome callable definitions */
107 } // namespace Model
108
109 class PollyClient;
110
111 /* Service model async handlers definitions */
112 typedef std::function<void(const PollyClient*, const Model::DeleteLexiconRequest&, const Model::DeleteLexiconOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteLexiconResponseReceivedHandler;
113 typedef std::function<void(const PollyClient*, const Model::DescribeVoicesRequest&, const Model::DescribeVoicesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeVoicesResponseReceivedHandler;
114 typedef std::function<void(const PollyClient*, const Model::GetLexiconRequest&, const Model::GetLexiconOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetLexiconResponseReceivedHandler;
115 typedef std::function<void(const PollyClient*, const Model::GetSpeechSynthesisTaskRequest&, const Model::GetSpeechSynthesisTaskOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetSpeechSynthesisTaskResponseReceivedHandler;
116 typedef std::function<void(const PollyClient*, const Model::ListLexiconsRequest&, const Model::ListLexiconsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListLexiconsResponseReceivedHandler;
117 typedef std::function<void(const PollyClient*, const Model::ListSpeechSynthesisTasksRequest&, const Model::ListSpeechSynthesisTasksOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListSpeechSynthesisTasksResponseReceivedHandler;
118 typedef std::function<void(const PollyClient*, const Model::PutLexiconRequest&, const Model::PutLexiconOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutLexiconResponseReceivedHandler;
119 typedef std::function<void(const PollyClient*, const Model::StartSpeechSynthesisTaskRequest&, const Model::StartSpeechSynthesisTaskOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartSpeechSynthesisTaskResponseReceivedHandler;
120 typedef std::function<void(const PollyClient*, const Model::SynthesizeSpeechRequest&, Model::SynthesizeSpeechOutcome, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SynthesizeSpeechResponseReceivedHandler;
121 /* End of service model async handlers definitions */
122 } // namespace Polly
123} // namespace Aws
EndpointProviderBase< PollyClientConfiguration, PollyBuiltInParameters, PollyClientContextParameters > PollyEndpointProviderBase
Aws::Utils::Outcome< GetSpeechSynthesisTaskResult, PollyError > GetSpeechSynthesisTaskOutcome
std::future< ListSpeechSynthesisTasksOutcome > ListSpeechSynthesisTasksOutcomeCallable
std::future< DeleteLexiconOutcome > DeleteLexiconOutcomeCallable
std::future< GetLexiconOutcome > GetLexiconOutcomeCallable
std::future< PutLexiconOutcome > PutLexiconOutcomeCallable
Aws::Utils::Outcome< ListLexiconsResult, PollyError > ListLexiconsOutcome
Aws::Utils::Outcome< SynthesizeSpeechResult, PollyError > SynthesizeSpeechOutcome
Aws::Utils::Outcome< GetLexiconResult, PollyError > GetLexiconOutcome
Aws::Utils::Outcome< DescribeVoicesResult, PollyError > DescribeVoicesOutcome
std::future< GetSpeechSynthesisTaskOutcome > GetSpeechSynthesisTaskOutcomeCallable
Aws::Utils::Outcome< PutLexiconResult, PollyError > PutLexiconOutcome
std::future< ListLexiconsOutcome > ListLexiconsOutcomeCallable
Aws::Utils::Outcome< StartSpeechSynthesisTaskResult, PollyError > StartSpeechSynthesisTaskOutcome
Aws::Utils::Outcome< ListSpeechSynthesisTasksResult, PollyError > ListSpeechSynthesisTasksOutcome
std::future< SynthesizeSpeechOutcome > SynthesizeSpeechOutcomeCallable
Aws::Utils::Outcome< DeleteLexiconResult, PollyError > DeleteLexiconOutcome
std::future< StartSpeechSynthesisTaskOutcome > StartSpeechSynthesisTaskOutcomeCallable
std::future< DescribeVoicesOutcome > DescribeVoicesOutcomeCallable
std::function< void(const PollyClient *, const Model::ListSpeechSynthesisTasksRequest &, const Model::ListSpeechSynthesisTasksOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListSpeechSynthesisTasksResponseReceivedHandler
std::function< void(const PollyClient *, const Model::SynthesizeSpeechRequest &, Model::SynthesizeSpeechOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SynthesizeSpeechResponseReceivedHandler
std::function< void(const PollyClient *, const Model::GetSpeechSynthesisTaskRequest &, const Model::GetSpeechSynthesisTaskOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetSpeechSynthesisTaskResponseReceivedHandler
std::function< void(const PollyClient *, const Model::GetLexiconRequest &, const Model::GetLexiconOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetLexiconResponseReceivedHandler
std::function< void(const PollyClient *, const Model::ListLexiconsRequest &, const Model::ListLexiconsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListLexiconsResponseReceivedHandler
std::function< void(const PollyClient *, const Model::StartSpeechSynthesisTaskRequest &, const Model::StartSpeechSynthesisTaskOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartSpeechSynthesisTaskResponseReceivedHandler
std::function< void(const PollyClient *, const Model::PutLexiconRequest &, const Model::PutLexiconOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutLexiconResponseReceivedHandler
std::function< void(const PollyClient *, const Model::DescribeVoicesRequest &, const Model::DescribeVoicesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeVoicesResponseReceivedHandler
std::function< void(const PollyClient *, const Model::DeleteLexiconRequest &, const Model::DeleteLexiconOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteLexiconResponseReceivedHandler