AWS SDK for C++

AWS SDK for C++ Version 1.11.680

Loading...
Searching...
No Matches
PollyServiceClientModel.h
1
6#pragma once
7
8/* Generic header includes */
9#include <aws/core/client/AWSError.h>
10#include <aws/core/client/AsyncCallerContext.h>
11#include <aws/core/client/GenericClientConfiguration.h>
12#include <aws/core/http/HttpTypes.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/polly/PollyEndpointProvider.h>
15#include <aws/polly/PollyErrors.h>
16
17#include <functional>
18#include <future>
19/* End of generic header includes */
20
21/* Service model headers required in PollyClient header */
22#include <aws/polly/model/DeleteLexiconResult.h>
23#include <aws/polly/model/DescribeVoicesRequest.h>
24#include <aws/polly/model/DescribeVoicesResult.h>
25#include <aws/polly/model/GetLexiconResult.h>
26#include <aws/polly/model/GetSpeechSynthesisTaskResult.h>
27#include <aws/polly/model/ListLexiconsRequest.h>
28#include <aws/polly/model/ListLexiconsResult.h>
29#include <aws/polly/model/ListSpeechSynthesisTasksRequest.h>
30#include <aws/polly/model/ListSpeechSynthesisTasksResult.h>
31#include <aws/polly/model/PutLexiconResult.h>
32#include <aws/polly/model/StartSpeechSynthesisTaskResult.h>
33#include <aws/polly/model/SynthesizeSpeechResult.h>
34/* End of service model headers required in PollyClient header */
35
36namespace Aws {
37namespace Http {
38class HttpClient;
39class HttpClientFactory;
40} // namespace Http
41
42namespace Utils {
43template <typename R, typename E>
44class Outcome;
45
46namespace Threading {
47class Executor;
48} // namespace Threading
49} // namespace Utils
50
51namespace Auth {
52class AWSCredentials;
53class AWSCredentialsProvider;
54} // namespace Auth
55
56namespace Client {
57class RetryStrategy;
58} // namespace Client
59
60namespace Polly {
64
65namespace Model {
66/* Service model forward declarations required in PollyClient header */
67class DeleteLexiconRequest;
68class DescribeVoicesRequest;
69class GetLexiconRequest;
70class GetSpeechSynthesisTaskRequest;
71class ListLexiconsRequest;
72class ListSpeechSynthesisTasksRequest;
73class PutLexiconRequest;
74class StartSpeechSynthesisTaskRequest;
75class SynthesizeSpeechRequest;
76/* End of service model forward declarations required in PollyClient header */
77
78/* Service model Outcome class definitions */
88/* End of service model Outcome class definitions */
89
90/* Service model Outcome callable definitions */
91typedef std::future<DeleteLexiconOutcome> DeleteLexiconOutcomeCallable;
92typedef std::future<DescribeVoicesOutcome> DescribeVoicesOutcomeCallable;
93typedef std::future<GetLexiconOutcome> GetLexiconOutcomeCallable;
94typedef std::future<GetSpeechSynthesisTaskOutcome> GetSpeechSynthesisTaskOutcomeCallable;
95typedef std::future<ListLexiconsOutcome> ListLexiconsOutcomeCallable;
96typedef std::future<ListSpeechSynthesisTasksOutcome> ListSpeechSynthesisTasksOutcomeCallable;
97typedef std::future<PutLexiconOutcome> PutLexiconOutcomeCallable;
98typedef std::future<StartSpeechSynthesisTaskOutcome> StartSpeechSynthesisTaskOutcomeCallable;
99typedef std::future<SynthesizeSpeechOutcome> SynthesizeSpeechOutcomeCallable;
100/* End of service model Outcome callable definitions */
101} // namespace Model
102
103class PollyClient;
104
105/* Service model async handlers definitions */
106typedef std::function<void(const PollyClient*, const Model::DeleteLexiconRequest&, const Model::DeleteLexiconOutcome&,
107 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
109typedef std::function<void(const PollyClient*, const Model::DescribeVoicesRequest&, const Model::DescribeVoicesOutcome&,
110 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
112typedef std::function<void(const PollyClient*, const Model::GetLexiconRequest&, const Model::GetLexiconOutcome&,
113 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
115typedef std::function<void(const PollyClient*, const Model::GetSpeechSynthesisTaskRequest&, const Model::GetSpeechSynthesisTaskOutcome&,
116 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
118typedef std::function<void(const PollyClient*, const Model::ListLexiconsRequest&, const Model::ListLexiconsOutcome&,
119 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
122 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
124typedef std::function<void(const PollyClient*, const Model::PutLexiconRequest&, const Model::PutLexiconOutcome&,
125 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
128 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
130typedef std::function<void(const PollyClient*, const Model::SynthesizeSpeechRequest&, Model::SynthesizeSpeechOutcome,
131 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
133/* End of service model async handlers definitions */
134} // namespace Polly
135} // 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::StartSpeechSynthesisTaskRequest &, const Model::StartSpeechSynthesisTaskOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> StartSpeechSynthesisTaskResponseReceivedHandler
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::SynthesizeSpeechRequest &, Model::SynthesizeSpeechOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> SynthesizeSpeechResponseReceivedHandler
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::GetLexiconRequest &, const Model::GetLexiconOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetLexiconResponseReceivedHandler
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::ListSpeechSynthesisTasksRequest &, const Model::ListSpeechSynthesisTasksOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListSpeechSynthesisTasksResponseReceivedHandler
std::function< void(const PollyClient *, const Model::DeleteLexiconRequest &, const Model::DeleteLexiconOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> DeleteLexiconResponseReceivedHandler
std::function< void(const PollyClient *, const Model::ListLexiconsRequest &, const Model::ListLexiconsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListLexiconsResponseReceivedHandler