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/ContentIdentificationType.h>
13#include <aws/transcribestreaming/model/ContentRedactionType.h>
14#include <aws/transcribestreaming/model/LanguageCode.h>
15#include <aws/transcribestreaming/model/MediaEncoding.h>
16#include <aws/transcribestreaming/model/PartialResultsStability.h>
17#include <aws/transcribestreaming/model/StartStreamTranscriptionHandler.h>
18#include <aws/transcribestreaming/model/VocabularyFilterMethod.h>
24namespace TranscribeStreamingService {
44 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<Aws::IOStream>
GetBody()
const override;
86 m_languageCodeHasBeenSet =
true;
87 m_languageCode = value;
105 m_mediaSampleRateHertzHasBeenSet =
true;
106 m_mediaSampleRateHertz = value;
126 m_mediaEncodingHasBeenSet =
true;
127 m_mediaEncoding = value;
152 template <
typename VocabularyNameT = Aws::String>
154 m_vocabularyNameHasBeenSet =
true;
155 m_vocabularyName = std::forward<VocabularyNameT>(value);
157 template <
typename VocabularyNameT = Aws::String>
172 template <
typename SessionIdT = Aws::String>
174 m_sessionIdHasBeenSet =
true;
175 m_sessionId = std::forward<SessionIdT>(value);
177 template <
typename SessionIdT = Aws::String>
191 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<AudioStream>
GetAudioStream()
const {
return m_audioStream; }
192 AWS_TRANSCRIBESTREAMINGSERVICE_API
void SetAudioStream(
const std::shared_ptr<AudioStream>& value) {
193 m_audioStreamHasBeenSet =
true;
194 m_audioStream = value;
220 template <
typename VocabularyFilterNameT = Aws::String>
222 m_vocabularyFilterNameHasBeenSet =
true;
223 m_vocabularyFilterName = std::forward<VocabularyFilterNameT>(value);
225 template <
typename VocabularyFilterNameT = Aws::String>
242 m_vocabularyFilterMethodHasBeenSet =
true;
243 m_vocabularyFilterMethod = value;
262 m_showSpeakerLabelHasBeenSet =
true;
263 m_showSpeakerLabel = value;
287 m_enableChannelIdentificationHasBeenSet =
true;
288 m_enableChannelIdentification = value;
307 m_numberOfChannelsHasBeenSet =
true;
308 m_numberOfChannels = value;
327 m_enablePartialResultsStabilizationHasBeenSet =
true;
328 m_enablePartialResultsStabilization = value;
348 m_partialResultsStabilityHasBeenSet =
true;
349 m_partialResultsStability = value;
373 m_contentIdentificationTypeHasBeenSet =
true;
374 m_contentIdentificationType = value;
398 m_contentRedactionTypeHasBeenSet =
true;
399 m_contentRedactionType = value;
428 template <
typename PiiEntityTypesT = Aws::String>
430 m_piiEntityTypesHasBeenSet =
true;
431 m_piiEntityTypes = std::forward<PiiEntityTypesT>(value);
433 template <
typename PiiEntityTypesT = Aws::String>
453 template <
typename LanguageModelNameT = Aws::String>
455 m_languageModelNameHasBeenSet =
true;
456 m_languageModelName = std::forward<LanguageModelNameT>(value);
458 template <
typename LanguageModelNameT = Aws::String>
485 m_identifyLanguageHasBeenSet =
true;
486 m_identifyLanguage = value;
510 template <
typename LanguageOptionsT = Aws::String>
512 m_languageOptionsHasBeenSet =
true;
513 m_languageOptions = std::forward<LanguageOptionsT>(value);
515 template <
typename LanguageOptionsT = Aws::String>
532 m_preferredLanguageHasBeenSet =
true;
533 m_preferredLanguage = value;
559 m_identifyMultipleLanguagesHasBeenSet =
true;
560 m_identifyMultipleLanguages = value;
584 template <
typename VocabularyNamesT = Aws::String>
586 m_vocabularyNamesHasBeenSet =
true;
587 m_vocabularyNames = std::forward<VocabularyNamesT>(value);
589 template <
typename VocabularyNamesT = Aws::String>
613 template <
typename VocabularyFilterNamesT = Aws::String>
615 m_vocabularyFilterNamesHasBeenSet =
true;
616 m_vocabularyFilterNames = std::forward<VocabularyFilterNamesT>(value);
618 template <
typename VocabularyFilterNamesT = Aws::String>
637 m_sessionResumeWindowHasBeenSet =
true;
638 m_sessionResumeWindow = value;
648 int m_mediaSampleRateHertz{0};
656 std::shared_ptr<AudioStream> m_audioStream;
662 bool m_showSpeakerLabel{
false};
664 bool m_enableChannelIdentification{
false};
666 int m_numberOfChannels{0};
668 bool m_enablePartialResultsStabilization{
false};
680 bool m_identifyLanguage{
false};
686 bool m_identifyMultipleLanguages{
false};
692 int m_sessionResumeWindow{0};
693 StartStreamTranscriptionHandler m_handler;
696 bool m_languageCodeHasBeenSet =
false;
697 bool m_mediaSampleRateHertzHasBeenSet =
false;
698 bool m_mediaEncodingHasBeenSet =
false;
699 bool m_vocabularyNameHasBeenSet =
false;
700 bool m_sessionIdHasBeenSet =
false;
701 bool m_audioStreamHasBeenSet =
false;
702 bool m_vocabularyFilterNameHasBeenSet =
false;
703 bool m_vocabularyFilterMethodHasBeenSet =
false;
704 bool m_showSpeakerLabelHasBeenSet =
false;
705 bool m_enableChannelIdentificationHasBeenSet =
false;
706 bool m_numberOfChannelsHasBeenSet =
false;
707 bool m_enablePartialResultsStabilizationHasBeenSet =
false;
708 bool m_partialResultsStabilityHasBeenSet =
false;
709 bool m_contentIdentificationTypeHasBeenSet =
false;
710 bool m_contentRedactionTypeHasBeenSet =
false;
711 bool m_piiEntityTypesHasBeenSet =
false;
712 bool m_languageModelNameHasBeenSet =
false;
713 bool m_identifyLanguageHasBeenSet =
false;
714 bool m_languageOptionsHasBeenSet =
false;
715 bool m_preferredLanguageHasBeenSet =
false;
716 bool m_identifyMultipleLanguagesHasBeenSet =
false;
717 bool m_vocabularyNamesHasBeenSet =
false;
718 bool m_vocabularyFilterNamesHasBeenSet =
false;
719 bool m_sessionResumeWindowHasBeenSet =
false;
const Aws::String & GetPiiEntityTypes() const
void SetVocabularyNames(VocabularyNamesT &&value)
const Aws::String & GetVocabularyFilterName() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartStreamTranscriptionRequest & WithVocabularyFilterNames(VocabularyFilterNamesT &&value)
void SetShowSpeakerLabel(bool value)
bool LanguageModelNameHasBeenSet() const
void SetSessionResumeWindow(int value)
void SetLanguageOptions(LanguageOptionsT &&value)
bool GetEnablePartialResultsStabilization() const
int GetSessionResumeWindow() const
AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionRequest & WithAudioStream(const std::shared_ptr< AudioStream > &value)
void SetPreferredLanguage(LanguageCode value)
bool LanguageCodeHasBeenSet() const
void SetEnableChannelIdentification(bool value)
StartStreamTranscriptionRequest & WithLanguageCode(LanguageCode value)
bool ContentIdentificationTypeHasBeenSet() const
void SetEnablePartialResultsStabilization(bool value)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionRequest()=default
StartStreamTranscriptionRequest & WithPiiEntityTypes(PiiEntityTypesT &&value)
StartStreamTranscriptionRequest & WithContentIdentificationType(ContentIdentificationType value)
StartStreamTranscriptionRequest & WithSessionResumeWindow(int value)
StartStreamTranscriptionRequest & WithContentRedactionType(ContentRedactionType value)
StartStreamTranscriptionRequest & WithMediaSampleRateHertz(int value)
void SetContentIdentificationType(ContentIdentificationType value)
void SetContentRedactionType(ContentRedactionType value)
MediaEncoding GetMediaEncoding() const
bool MediaEncodingHasBeenSet() const
ContentRedactionType GetContentRedactionType() const
void SetPiiEntityTypes(PiiEntityTypesT &&value)
void SetVocabularyFilterMethod(VocabularyFilterMethod value)
bool VocabularyFilterMethodHasBeenSet() const
int GetNumberOfChannels() const
LanguageCode GetPreferredLanguage() const
StartStreamTranscriptionRequest & WithShowSpeakerLabel(bool value)
virtual bool IsEventStreamRequest() const override
const Aws::String & GetVocabularyName() const
void SetLanguageCode(LanguageCode value)
bool SessionResumeWindowHasBeenSet() const
const Aws::String & GetSessionId() const
bool GetShowSpeakerLabel() const
StartStreamTranscriptionRequest & WithPartialResultsStability(PartialResultsStability value)
virtual bool HasEventStreamResponse() const override
StartStreamTranscriptionRequest & WithVocabularyNames(VocabularyNamesT &&value)
bool PartialResultsStabilityHasBeenSet() const
void SetSessionId(SessionIdT &&value)
StartStreamTranscriptionRequest & WithEnableChannelIdentification(bool value)
StartStreamTranscriptionRequest & WithLanguageModelName(LanguageModelNameT &&value)
VocabularyFilterMethod GetVocabularyFilterMethod() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::String SerializePayload() const override
void SetEventStreamHandler(const StartStreamTranscriptionHandler &value)
StartStreamTranscriptionRequest & WithSessionId(SessionIdT &&value)
ContentIdentificationType GetContentIdentificationType() const
StartStreamTranscriptionRequest & WithNumberOfChannels(int value)
bool EnableChannelIdentificationHasBeenSet() const
bool ContentRedactionTypeHasBeenSet() const
void SetMediaSampleRateHertz(int value)
bool SessionIdHasBeenSet() const
const Aws::String & GetLanguageModelName() const
void SetVocabularyFilterNames(VocabularyFilterNamesT &&value)
bool GetIdentifyMultipleLanguages() const
void SetMediaEncoding(MediaEncoding value)
bool GetIdentifyLanguage() const
void SetPartialResultsStability(PartialResultsStability value)
AWS_TRANSCRIBESTREAMINGSERVICE_API void SetAudioStream(const std::shared_ptr< AudioStream > &value)
StartStreamTranscriptionRequest & WithEventStreamHandler(const StartStreamTranscriptionHandler &value)
void SetVocabularyFilterName(VocabularyFilterNameT &&value)
const Aws::String & GetVocabularyNames() const
StartStreamTranscriptionRequest & WithEnablePartialResultsStabilization(bool value)
bool PiiEntityTypesHasBeenSet() const
void SetIdentifyLanguage(bool value)
bool IdentifyLanguageHasBeenSet() const
StartStreamTranscriptionRequest & WithVocabularyName(VocabularyNameT &&value)
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
virtual const char * GetServiceRequestName() const override
void SetIdentifyMultipleLanguages(bool value)
void SetLanguageModelName(LanguageModelNameT &&value)
StartStreamTranscriptionRequest & WithIdentifyMultipleLanguages(bool value)
AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr< Aws::IOStream > GetBody() const override
bool IdentifyMultipleLanguagesHasBeenSet() const
StartStreamTranscriptionRequest & WithVocabularyFilterMethod(VocabularyFilterMethod value)
StartStreamTranscriptionRequest & WithMediaEncoding(MediaEncoding value)
void SetNumberOfChannels(int value)
bool EnablePartialResultsStabilizationHasBeenSet() const
bool VocabularyNamesHasBeenSet() const
StartStreamTranscriptionRequest & WithVocabularyFilterName(VocabularyFilterNameT &&value)
int GetMediaSampleRateHertz() const
PartialResultsStability GetPartialResultsStability() const
bool VocabularyNameHasBeenSet() const
bool MediaSampleRateHertzHasBeenSet() const
StartStreamTranscriptionRequest & WithPreferredLanguage(LanguageCode value)
StartStreamTranscriptionRequest & WithIdentifyLanguage(bool value)
const Aws::String & GetVocabularyFilterNames() const
bool VocabularyFilterNamesHasBeenSet() const
void SetVocabularyName(VocabularyNameT &&value)
bool VocabularyFilterNameHasBeenSet() const
bool LanguageOptionsHasBeenSet() const
bool ShowSpeakerLabelHasBeenSet() const
bool GetEnableChannelIdentification() const
bool NumberOfChannelsHasBeenSet() const
AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr< AudioStream > GetAudioStream() const
const Aws::String & GetLanguageOptions() const
bool PreferredLanguageHasBeenSet() const
LanguageCode GetLanguageCode() const
StartStreamTranscriptionHandler & GetEventStreamHandler()
StartStreamTranscriptionRequest & WithLanguageOptions(LanguageOptionsT &&value)
void ResetEventStreamHandler(EventStreamHandler *handler)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
ContentIdentificationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String