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
45 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<Aws::IOStream>
GetBody()
const override;
91 inline void SetMediaSampleRateHertz(
int value) { m_mediaSampleRateHertzHasBeenSet =
true; m_mediaSampleRateHertz = value; }
122 inline void SetVocabularyName(
const char* value) { m_vocabularyNameHasBeenSet =
true; m_vocabularyName.assign(value); }
148 inline void SetType(
const Type& value) { m_typeHasBeenSet =
true; m_type = value; }
149 inline void SetType(
Type&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
164 inline void SetShowSpeakerLabel(
bool value) { m_showSpeakerLabelHasBeenSet =
true; m_showSpeakerLabel = value; }
178 inline void SetSessionId(
const char* value) { m_sessionIdHasBeenSet =
true; m_sessionId.assign(value); }
186 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<AudioStream>
GetAudioStream()
const {
return m_audioStream; }
187 AWS_TRANSCRIBESTREAMINGSERVICE_API
void SetAudioStream(
const std::shared_ptr<AudioStream>& value) { m_audioStream = value; }
221 inline void SetNumberOfChannels(
int value) { m_numberOfChannelsHasBeenSet =
true; m_numberOfChannels = value; }
244 bool m_languageCodeHasBeenSet =
false;
246 int m_mediaSampleRateHertz;
247 bool m_mediaSampleRateHertzHasBeenSet =
false;
250 bool m_mediaEncodingHasBeenSet =
false;
253 bool m_vocabularyNameHasBeenSet =
false;
256 bool m_specialtyHasBeenSet =
false;
259 bool m_typeHasBeenSet =
false;
261 bool m_showSpeakerLabel;
262 bool m_showSpeakerLabelHasBeenSet =
false;
265 bool m_sessionIdHasBeenSet =
false;
267 std::shared_ptr<AudioStream> m_audioStream;
269 bool m_enableChannelIdentification;
270 bool m_enableChannelIdentificationHasBeenSet =
false;
272 int m_numberOfChannels;
273 bool m_numberOfChannelsHasBeenSet =
false;
276 bool m_contentIdentificationTypeHasBeenSet =
false;
StartMedicalStreamTranscriptionRequest & WithVocabularyName(const char *value)
const MedicalContentIdentificationType & GetContentIdentificationType() const
bool SessionIdHasBeenSet() const
const MediaEncoding & GetMediaEncoding() const
bool NumberOfChannelsHasBeenSet() const
StartMedicalStreamTranscriptionRequest & WithNumberOfChannels(int value)
StartMedicalStreamTranscriptionRequest & WithSessionId(const char *value)
AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr< Aws::IOStream > GetBody() const override
void SetLanguageCode(const LanguageCode &value)
StartMedicalStreamTranscriptionRequest & WithMediaEncoding(MediaEncoding &&value)
StartMedicalStreamTranscriptionRequest & WithVocabularyName(Aws::String &&value)
virtual bool IsEventStreamRequest() const override
void SetSpecialty(Specialty &&value)
const Aws::String & GetSessionId() const
const Specialty & GetSpecialty() const
void SetVocabularyName(Aws::String &&value)
int GetMediaSampleRateHertz() const
void SetMediaSampleRateHertz(int value)
void SetEventStreamHandler(const StartMedicalStreamTranscriptionHandler &value)
bool GetEnableChannelIdentification() const
void SetShowSpeakerLabel(bool value)
StartMedicalStreamTranscriptionRequest & WithContentIdentificationType(const MedicalContentIdentificationType &value)
StartMedicalStreamTranscriptionRequest & WithMediaEncoding(const MediaEncoding &value)
int GetNumberOfChannels() const
bool VocabularyNameHasBeenSet() const
const Aws::String & GetVocabularyName() const
StartMedicalStreamTranscriptionRequest & WithType(Type &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartMedicalStreamTranscriptionRequest & WithAudioStream(const std::shared_ptr< AudioStream > &value)
const Type & GetType() const
void SetMediaEncoding(MediaEncoding &&value)
void SetSessionId(const char *value)
StartMedicalStreamTranscriptionRequest & WithLanguageCode(LanguageCode &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartMedicalStreamTranscriptionRequest()
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::String SerializePayload() const override
StartMedicalStreamTranscriptionRequest & WithShowSpeakerLabel(bool value)
void SetNumberOfChannels(int value)
StartMedicalStreamTranscriptionRequest & WithEventStreamHandler(const StartMedicalStreamTranscriptionHandler &value)
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
AWS_TRANSCRIBESTREAMINGSERVICE_API void SetAudioStream(const std::shared_ptr< AudioStream > &value)
StartMedicalStreamTranscriptionRequest & WithType(const Type &value)
void SetSessionId(const Aws::String &value)
bool TypeHasBeenSet() const
void SetMediaEncoding(const MediaEncoding &value)
StartMedicalStreamTranscriptionRequest & WithSessionId(Aws::String &&value)
StartMedicalStreamTranscriptionRequest & WithSpecialty(Specialty &&value)
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)
StartMedicalStreamTranscriptionRequest & WithSessionId(const Aws::String &value)
StartMedicalStreamTranscriptionRequest & WithVocabularyName(const Aws::String &value)
void SetSessionId(Aws::String &&value)
const StartMedicalStreamTranscriptionHandler & GetEventStreamHandler() const
void SetVocabularyName(const Aws::String &value)
bool MediaSampleRateHertzHasBeenSet() const
void SetVocabularyName(const char *value)
StartMedicalStreamTranscriptionRequest & WithContentIdentificationType(MedicalContentIdentificationType &&value)
StartMedicalStreamTranscriptionRequest & WithSpecialty(const Specialty &value)
StartMedicalStreamTranscriptionRequest & WithEnableChannelIdentification(bool value)
StartMedicalStreamTranscriptionRequest & WithLanguageCode(const LanguageCode &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSpecialty(const Specialty &value)
const LanguageCode & GetLanguageCode() const
bool LanguageCodeHasBeenSet() const
void SetType(Type &&value)
void SetContentIdentificationType(MedicalContentIdentificationType &&value)
void SetContentIdentificationType(const MedicalContentIdentificationType &value)
bool ContentIdentificationTypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetType(const Type &value)
void SetLanguageCode(LanguageCode &&value)
bool MediaEncodingHasBeenSet() const
bool SpecialtyHasBeenSet() const
void ResetEventStreamHandler(EventStreamHandler *handler)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
MedicalContentIdentificationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String