7#include <aws/core/utils/event/EventStreamDecoder.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/transcribestreaming/TranscribeStreamingServiceRequest.h>
10#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
11#include <aws/transcribestreaming/model/AudioStream.h>
12#include <aws/transcribestreaming/model/LanguageCode.h>
13#include <aws/transcribestreaming/model/MediaEncoding.h>
14#include <aws/transcribestreaming/model/MedicalContentIdentificationType.h>
15#include <aws/transcribestreaming/model/Specialty.h>
16#include <aws/transcribestreaming/model/StartMedicalStreamTranscriptionHandler.h>
17#include <aws/transcribestreaming/model/Type.h>
23namespace TranscribeStreamingService {
43 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<Aws::IOStream>
GetBody()
const override;
81 m_languageCodeHasBeenSet =
true;
82 m_languageCode = value;
99 m_mediaSampleRateHertzHasBeenSet =
true;
100 m_mediaSampleRateHertz = value;
120 m_mediaEncodingHasBeenSet =
true;
121 m_mediaEncoding = value;
137 template <
typename VocabularyNameT = Aws::String>
139 m_vocabularyNameHasBeenSet =
true;
140 m_vocabularyName = std::forward<VocabularyNameT>(value);
142 template <
typename VocabularyNameT = Aws::String>
156 m_specialtyHasBeenSet =
true;
174 m_typeHasBeenSet =
true;
194 m_showSpeakerLabelHasBeenSet =
true;
195 m_showSpeakerLabel = value;
211 template <
typename SessionIdT = Aws::String>
213 m_sessionIdHasBeenSet =
true;
214 m_sessionId = std::forward<SessionIdT>(value);
216 template <
typename SessionIdT = Aws::String>
225 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<AudioStream>
GetAudioStream()
const {
return m_audioStream; }
226 AWS_TRANSCRIBESTREAMINGSERVICE_API
void SetAudioStream(
const std::shared_ptr<AudioStream>& value) {
227 m_audioStreamHasBeenSet =
true;
228 m_audioStream = value;
253 m_enableChannelIdentificationHasBeenSet =
true;
254 m_enableChannelIdentification = value;
273 m_numberOfChannelsHasBeenSet =
true;
274 m_numberOfChannels = value;
294 m_contentIdentificationTypeHasBeenSet =
true;
295 m_contentIdentificationType = value;
305 int m_mediaSampleRateHertz{0};
315 bool m_showSpeakerLabel{
false};
319 std::shared_ptr<AudioStream> m_audioStream;
321 bool m_enableChannelIdentification{
false};
323 int m_numberOfChannels{0};
326 StartMedicalStreamTranscriptionHandler m_handler;
329 bool m_languageCodeHasBeenSet =
false;
330 bool m_mediaSampleRateHertzHasBeenSet =
false;
331 bool m_mediaEncodingHasBeenSet =
false;
332 bool m_vocabularyNameHasBeenSet =
false;
333 bool m_specialtyHasBeenSet =
false;
334 bool m_typeHasBeenSet =
false;
335 bool m_showSpeakerLabelHasBeenSet =
false;
336 bool m_sessionIdHasBeenSet =
false;
337 bool m_audioStreamHasBeenSet =
false;
338 bool m_enableChannelIdentificationHasBeenSet =
false;
339 bool m_numberOfChannelsHasBeenSet =
false;
340 bool m_contentIdentificationTypeHasBeenSet =
false;
StartMedicalStreamTranscriptionRequest & WithMediaEncoding(MediaEncoding value)
bool SessionIdHasBeenSet() const
bool NumberOfChannelsHasBeenSet() const
StartMedicalStreamTranscriptionRequest & WithNumberOfChannels(int value)
Specialty GetSpecialty() const
StartMedicalStreamTranscriptionRequest & WithType(Type value)
StartMedicalStreamTranscriptionRequest & WithVocabularyName(VocabularyNameT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr< Aws::IOStream > GetBody() const override
virtual bool IsEventStreamRequest() const override
const Aws::String & GetSessionId() const
int GetMediaSampleRateHertz() const
void SetMediaSampleRateHertz(int value)
void SetEventStreamHandler(const StartMedicalStreamTranscriptionHandler &value)
bool GetEnableChannelIdentification() const
LanguageCode GetLanguageCode() const
void SetShowSpeakerLabel(bool value)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartMedicalStreamTranscriptionRequest()=default
StartMedicalStreamTranscriptionRequest & WithSpecialty(Specialty value)
int GetNumberOfChannels() const
void SetLanguageCode(LanguageCode value)
bool VocabularyNameHasBeenSet() const
const Aws::String & GetVocabularyName() const
AWS_TRANSCRIBESTREAMINGSERVICE_API StartMedicalStreamTranscriptionRequest & WithAudioStream(const std::shared_ptr< AudioStream > &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::String SerializePayload() const override
StartMedicalStreamTranscriptionRequest & WithSessionId(SessionIdT &&value)
StartMedicalStreamTranscriptionRequest & WithShowSpeakerLabel(bool value)
void SetNumberOfChannels(int value)
StartMedicalStreamTranscriptionRequest & WithEventStreamHandler(const StartMedicalStreamTranscriptionHandler &value)
StartMedicalStreamTranscriptionRequest & WithContentIdentificationType(MedicalContentIdentificationType value)
void SetMediaEncoding(MediaEncoding value)
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
void SetContentIdentificationType(MedicalContentIdentificationType value)
AWS_TRANSCRIBESTREAMINGSERVICE_API void SetAudioStream(const std::shared_ptr< AudioStream > &value)
bool TypeHasBeenSet() const
MediaEncoding GetMediaEncoding() const
bool GetShowSpeakerLabel() const
bool ShowSpeakerLabelHasBeenSet() const
bool EnableChannelIdentificationHasBeenSet() const
AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr< AudioStream > GetAudioStream() const
void SetEnableChannelIdentification(bool value)
StartMedicalStreamTranscriptionRequest & WithMediaSampleRateHertz(int value)
void SetSessionId(SessionIdT &&value)
StartMedicalStreamTranscriptionRequest & WithLanguageCode(LanguageCode value)
bool MediaSampleRateHertzHasBeenSet() const
virtual bool HasEventStreamResponse() const override
StartMedicalStreamTranscriptionRequest & WithEnableChannelIdentification(bool value)
void SetSpecialty(Specialty value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool LanguageCodeHasBeenSet() const
bool ContentIdentificationTypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
StartMedicalStreamTranscriptionHandler & GetEventStreamHandler()
MedicalContentIdentificationType GetContentIdentificationType() const
bool MediaEncodingHasBeenSet() const
bool SpecialtyHasBeenSet() const
void SetVocabularyName(VocabularyNameT &&value)
void ResetEventStreamHandler(EventStreamHandler *handler)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
MedicalContentIdentificationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String