AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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/core/NoResult.h>
23#include <aws/polly/model/DeleteLexiconResult.h>
24#include <aws/polly/model/DescribeVoicesRequest.h>
25#include <aws/polly/model/DescribeVoicesResult.h>
26#include <aws/polly/model/GetLexiconResult.h>
27#include <aws/polly/model/GetSpeechSynthesisTaskResult.h>
28#include <aws/polly/model/ListLexiconsRequest.h>
29#include <aws/polly/model/ListLexiconsResult.h>
30#include <aws/polly/model/ListSpeechSynthesisTasksRequest.h>
31#include <aws/polly/model/ListSpeechSynthesisTasksResult.h>
32#include <aws/polly/model/PutLexiconResult.h>
33#include <aws/polly/model/StartSpeechSynthesisTaskResult.h>
34#include <aws/polly/model/SynthesizeSpeechResult.h>
35/* End of service model headers required in PollyClient header */
36
37namespace Aws {
38namespace Http {
39class HttpClient;
40class HttpClientFactory;
41} // namespace Http
42
43namespace Utils {
44template <typename R, typename E>
45class Outcome;
46
47namespace Event {
48class EventEncoderStream;
49} // namespace Event
50
51namespace Threading {
52class Executor;
53} // namespace Threading
54} // namespace Utils
55
56namespace Auth {
57class AWSCredentials;
58class AWSCredentialsProvider;
59} // namespace Auth
60
61namespace Client {
62class RetryStrategy;
63} // namespace Client
64
65namespace Polly {
69
70namespace Model {
71/* Service model forward declarations required in PollyClient header */
72class DeleteLexiconRequest;
73class DescribeVoicesRequest;
74class GetLexiconRequest;
75class GetSpeechSynthesisTaskRequest;
76class ListLexiconsRequest;
77class ListSpeechSynthesisTasksRequest;
78class PutLexiconRequest;
79class StartSpeechSynthesisStreamRequest;
80class StartSpeechSynthesisStreamActionStream;
81class StartSpeechSynthesisTaskRequest;
82class SynthesizeSpeechRequest;
83/* End of service model forward declarations required in PollyClient header */
84
85/* Service model Outcome class definitions */
96/* End of service model Outcome class definitions */
97
98/* Service model Outcome callable definitions */
99typedef std::future<DeleteLexiconOutcome> DeleteLexiconOutcomeCallable;
100typedef std::future<DescribeVoicesOutcome> DescribeVoicesOutcomeCallable;
101typedef std::future<GetLexiconOutcome> GetLexiconOutcomeCallable;
102typedef std::future<GetSpeechSynthesisTaskOutcome> GetSpeechSynthesisTaskOutcomeCallable;
103typedef std::future<ListLexiconsOutcome> ListLexiconsOutcomeCallable;
104typedef std::future<ListSpeechSynthesisTasksOutcome> ListSpeechSynthesisTasksOutcomeCallable;
105typedef std::future<PutLexiconOutcome> PutLexiconOutcomeCallable;
106typedef std::future<StartSpeechSynthesisStreamOutcome> StartSpeechSynthesisStreamOutcomeCallable;
107typedef std::future<StartSpeechSynthesisTaskOutcome> StartSpeechSynthesisTaskOutcomeCallable;
108typedef std::future<SynthesizeSpeechOutcome> SynthesizeSpeechOutcomeCallable;
109/* End of service model Outcome callable definitions */
110} // namespace Model
111
112class PollyClient;
113
114/* Service model async handlers definitions */
115typedef std::function<void(const PollyClient*, const Model::DeleteLexiconRequest&, const Model::DeleteLexiconOutcome&,
116 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
118typedef std::function<void(const PollyClient*, const Model::DescribeVoicesRequest&, const Model::DescribeVoicesOutcome&,
119 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
121typedef std::function<void(const PollyClient*, const Model::GetLexiconRequest&, const Model::GetLexiconOutcome&,
122 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
124typedef std::function<void(const PollyClient*, const Model::GetSpeechSynthesisTaskRequest&, const Model::GetSpeechSynthesisTaskOutcome&,
125 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
127typedef std::function<void(const PollyClient*, const Model::ListLexiconsRequest&, const Model::ListLexiconsOutcome&,
128 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
131 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
133typedef std::function<void(const PollyClient*, const Model::PutLexiconRequest&, const Model::PutLexiconOutcome&,
134 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
137typedef std::function<void(const PollyClient*, const Model::StartSpeechSynthesisStreamRequest&,
138 const Model::StartSpeechSynthesisStreamOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
141 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
143typedef std::function<void(const PollyClient*, const Model::SynthesizeSpeechRequest&, Model::SynthesizeSpeechOutcome,
144 const std::shared_ptr<const Aws::Client::AsyncCallerContext>&)>
146/* End of service model async handlers definitions */
147} // namespace Polly
148} // namespace Aws
EndpointProviderBase< PollyClientConfiguration, PollyBuiltInParameters, PollyClientContextParameters > PollyEndpointProviderBase
std::future< StartSpeechSynthesisStreamOutcome > StartSpeechSynthesisStreamOutcomeCallable
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
Aws::Utils::Outcome< Aws::NoResult, PollyError > StartSpeechSynthesisStreamOutcome
std::future< StartSpeechSynthesisTaskOutcome > StartSpeechSynthesisTaskOutcomeCallable
std::future< DescribeVoicesOutcome > DescribeVoicesOutcomeCallable
std::function< void(Model::StartSpeechSynthesisStreamActionStream &)> StartSpeechSynthesisStreamStreamReadyHandler
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::StartSpeechSynthesisStreamRequest &, const Model::StartSpeechSynthesisStreamOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> StartSpeechSynthesisStreamResponseReceivedHandler
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