7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/TranscribeStreamingServiceRequest.h>
9#include <aws/transcribestreaming/model/StartMedicalStreamTranscriptionHandler.h>
10#include <aws/core/utils/event/EventStreamDecoder.h>
12#include <aws/transcribestreaming/model/LanguageCode.h>
13#include <aws/transcribestreaming/model/MediaEncoding.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/transcribestreaming/model/Specialty.h>
16#include <aws/transcribestreaming/model/Type.h>
17#include <aws/transcribestreaming/model/AudioStream.h>
18#include <aws/transcribestreaming/model/MedicalContentIdentificationType.h>
23namespace TranscribeStreamingService
46 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<Aws::IOStream>
GetBody()
const override;
90 inline void SetMediaSampleRateHertz(
int value) { m_mediaSampleRateHertzHasBeenSet =
true; m_mediaSampleRateHertz = value; }
117 template<
typename VocabularyNameT = Aws::String>
118 void SetVocabularyName(VocabularyNameT&& value) { m_vocabularyNameHasBeenSet =
true; m_vocabularyName = std::forward<VocabularyNameT>(value); }
119 template<
typename VocabularyNameT = Aws::String>
141 inline void SetType(
Type value) { m_typeHasBeenSet =
true; m_type = value; }
155 inline void SetShowSpeakerLabel(
bool value) { m_showSpeakerLabelHasBeenSet =
true; m_showSpeakerLabel = value; }
167 template<
typename SessionIdT = Aws::String>
168 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet =
true; m_sessionId = std::forward<SessionIdT>(value); }
169 template<
typename SessionIdT = Aws::String>
175 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<AudioStream>
GetAudioStream()
const {
return m_audioStream; }
176 AWS_TRANSCRIBESTREAMINGSERVICE_API
void SetAudioStream(
const std::shared_ptr<AudioStream>& value) { m_audioStreamHasBeenSet =
true; m_audioStream = value; }
210 inline void SetNumberOfChannels(
int value) { m_numberOfChannelsHasBeenSet =
true; m_numberOfChannels = value; }
231 bool m_languageCodeHasBeenSet =
false;
233 int m_mediaSampleRateHertz{0};
234 bool m_mediaSampleRateHertzHasBeenSet =
false;
237 bool m_mediaEncodingHasBeenSet =
false;
240 bool m_vocabularyNameHasBeenSet =
false;
243 bool m_specialtyHasBeenSet =
false;
246 bool m_typeHasBeenSet =
false;
248 bool m_showSpeakerLabel{
false};
249 bool m_showSpeakerLabelHasBeenSet =
false;
252 bool m_sessionIdHasBeenSet =
false;
254 std::shared_ptr<AudioStream> m_audioStream;
255 bool m_audioStreamHasBeenSet =
false;
257 bool m_enableChannelIdentification{
false};
258 bool m_enableChannelIdentificationHasBeenSet =
false;
260 int m_numberOfChannels{0};
261 bool m_numberOfChannelsHasBeenSet =
false;
264 bool m_contentIdentificationTypeHasBeenSet =
false;
265 StartMedicalStreamTranscriptionHandler m_handler;
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