AWS SDK for C++  1.9.131
AWS SDK for C++
TranscribeStreamingServiceClient.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <aws/core/NoResult.h>
17 #include <future>
18 #include <functional>
19 
20 namespace Aws
21 {
22 
23 namespace Http
24 {
25  class HttpClient;
26  class HttpClientFactory;
27 } // namespace Http
28 
29 namespace Utils
30 {
31  template< typename R, typename E> class Outcome;
32 namespace Event
33 {
34  class EventEncoderStream;
35 }
36 
37 namespace Threading
38 {
39  class Executor;
40 } // namespace Threading
41 } // namespace Utils
42 
43 namespace Auth
44 {
45  class AWSCredentials;
46  class AWSCredentialsProvider;
47 } // namespace Auth
48 
49 namespace Client
50 {
51  class RetryStrategy;
52 } // namespace Client
53 
54 namespace TranscribeStreamingService
55 {
56 
57 namespace Model
58 {
59  class StartMedicalStreamTranscriptionRequest;
60  class AudioStream;
61  class StartStreamTranscriptionRequest;
62  class AudioStream;
63 
66 
67  typedef std::future<StartMedicalStreamTranscriptionOutcome> StartMedicalStreamTranscriptionOutcomeCallable;
68  typedef std::future<StartStreamTranscriptionOutcome> StartStreamTranscriptionOutcomeCallable;
69 } // namespace Model
70 
72 
74  typedef std::function<void(const TranscribeStreamingServiceClient*, const Model::StartMedicalStreamTranscriptionRequest&, const Model::StartMedicalStreamTranscriptionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartMedicalStreamTranscriptionResponseReceivedHandler;
76  typedef std::function<void(const TranscribeStreamingServiceClient*, const Model::StartStreamTranscriptionRequest&, const Model::StartStreamTranscriptionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartStreamTranscriptionResponseReceivedHandler;
77 
82  {
83  public:
85 
91 
97 
102  TranscribeStreamingServiceClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
104 
106 
107 
120  const StartMedicalStreamTranscriptionStreamReadyHandler& streamReadyHandler,
122  const std::shared_ptr<const Aws::Client::AsyncCallerContext>& handlerContext = nullptr) const;
123 
142  const StartStreamTranscriptionStreamReadyHandler& streamReadyHandler,
144  const std::shared_ptr<const Aws::Client::AsyncCallerContext>& handlerContext = nullptr) const;
145 
146 
147  void OverrideEndpoint(const Aws::String& endpoint);
148  private:
149  void init(const Aws::Client::ClientConfiguration& clientConfiguration);
150 
151  Aws::String m_uri;
152  Aws::String m_configScheme;
153  std::shared_ptr<Aws::Utils::Threading::Executor> m_executor;
154  };
155 
156 } // namespace TranscribeStreamingService
157 } // namespace Aws
Aws::DirectoryService::Model::LDAPSType::NOT_SET
@ NOT_SET
AWS_TRANSCRIBESTREAMINGSERVICE_API
#define AWS_TRANSCRIBESTREAMINGSERVICE_API
Definition: TranscribeStreamingService_EXPORTS.h:28
AWSError.h
Aws::TranscribeStreamingService::TranscribeStreamingServiceClient::OverrideEndpoint
void OverrideEndpoint(const Aws::String &endpoint)
Aws::IoTWireless::Model::Event
Event
Definition: Event.h:17
Aws::TranscribeStreamingService::TranscribeStreamingServiceClient::BASECLASS
Aws::Client::AWSJsonClient BASECLASS
Definition: TranscribeStreamingServiceClient.h:84
Aws::TranscribeStreamingService::StartMedicalStreamTranscriptionStreamReadyHandler
std::function< void(Model::AudioStream &)> StartMedicalStreamTranscriptionStreamReadyHandler
Definition: TranscribeStreamingServiceClient.h:71
Aws::TranscribeStreamingService::Model::StartMedicalStreamTranscriptionRequest
Definition: StartMedicalStreamTranscriptionRequest.h:31
AsyncCallerContext.h
Aws::TranscribeStreamingService::StartStreamTranscriptionStreamReadyHandler
std::function< void(Model::AudioStream &)> StartStreamTranscriptionStreamReadyHandler
Definition: TranscribeStreamingServiceClient.h:75
NoResult.h
Aws::TranscribeStreamingService::TranscribeStreamingServiceClient::StartStreamTranscriptionAsync
virtual void StartStreamTranscriptionAsync(Model::StartStreamTranscriptionRequest &request, const StartStreamTranscriptionStreamReadyHandler &streamReadyHandler, const StartStreamTranscriptionResponseReceivedHandler &responseHandler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &handlerContext=nullptr) const
Aws::Client::ClientConfiguration
Definition: ClientConfiguration.h:53
Aws::TranscribeStreamingService::StartStreamTranscriptionResponseReceivedHandler
std::function< void(const TranscribeStreamingServiceClient *, const Model::StartStreamTranscriptionRequest &, const Model::StartStreamTranscriptionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartStreamTranscriptionResponseReceivedHandler
Definition: TranscribeStreamingServiceClient.h:76
Aws::TranscribeStreamingService::Model::StartMedicalStreamTranscriptionOutcome
Aws::Utils::Outcome< Aws::NoResult, TranscribeStreamingServiceError > StartMedicalStreamTranscriptionOutcome
Definition: TranscribeStreamingServiceClient.h:62
Aws::Auth::AWSCredentials
Definition: AWSCredentials.h:19
Aws::TranscribeStreamingService::TranscribeStreamingServiceClient::TranscribeStreamingServiceClient
TranscribeStreamingServiceClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
Aws::TranscribeStreamingService::TranscribeStreamingServiceClient::TranscribeStreamingServiceClient
TranscribeStreamingServiceClient(const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
AWSString.h
Aws::Client::AWSJsonClient
Definition: AWSClient.h:338
TranscribeStreamingService_EXPORTS.h
Aws::TranscribeStreamingService::Model::StartStreamTranscriptionRequest
Definition: StartStreamTranscriptionRequest.h:32
Aws::TranscribeStreamingService::Model::StartStreamTranscriptionOutcome
Aws::Utils::Outcome< Aws::NoResult, TranscribeStreamingServiceError > StartStreamTranscriptionOutcome
Definition: TranscribeStreamingServiceClient.h:65
Aws::TranscribeStreamingService::TranscribeStreamingServiceClient::StartMedicalStreamTranscriptionAsync
virtual void StartMedicalStreamTranscriptionAsync(Model::StartMedicalStreamTranscriptionRequest &request, const StartMedicalStreamTranscriptionStreamReadyHandler &streamReadyHandler, const StartMedicalStreamTranscriptionResponseReceivedHandler &responseHandler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &handlerContext=nullptr) const
ClientConfiguration.h
Aws::TranscribeStreamingService::Model::StartStreamTranscriptionOutcomeCallable
std::future< StartStreamTranscriptionOutcome > StartStreamTranscriptionOutcomeCallable
Definition: TranscribeStreamingServiceClient.h:68
Aws
Definition: AccessManagementClient.h:15
HttpTypes.h
Aws::Utils::Outcome
Definition: Outcome.h:26
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::TranscribeStreamingService::Model::StartMedicalStreamTranscriptionOutcomeCallable
std::future< StartMedicalStreamTranscriptionOutcome > StartMedicalStreamTranscriptionOutcomeCallable
Definition: TranscribeStreamingServiceClient.h:67
AWSClient.h
TranscribeStreamingServiceErrors.h
Aws::TranscribeStreamingService::Model::AudioStream
Definition: AudioStream.h:26
Aws::TranscribeStreamingService::TranscribeStreamingServiceClient::TranscribeStreamingServiceClient
TranscribeStreamingServiceClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
Aws::TranscribeStreamingService::StartMedicalStreamTranscriptionResponseReceivedHandler
std::function< void(const TranscribeStreamingServiceClient *, const Model::StartMedicalStreamTranscriptionRequest &, const Model::StartMedicalStreamTranscriptionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartMedicalStreamTranscriptionResponseReceivedHandler
Definition: TranscribeStreamingServiceClient.h:74
JsonSerializer.h
Aws::TranscribeStreamingService::TranscribeStreamingServiceClient
Definition: TranscribeStreamingServiceClient.h:82
Aws::TranscribeStreamingService::TranscribeStreamingServiceClient::~TranscribeStreamingServiceClient
virtual ~TranscribeStreamingServiceClient()