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;
425 template <
typename PiiEntityTypesT = Aws::String>
427 m_piiEntityTypesHasBeenSet =
true;
428 m_piiEntityTypes = std::forward<PiiEntityTypesT>(value);
430 template <
typename PiiEntityTypesT = Aws::String>
450 template <
typename LanguageModelNameT = Aws::String>
452 m_languageModelNameHasBeenSet =
true;
453 m_languageModelName = std::forward<LanguageModelNameT>(value);
455 template <
typename LanguageModelNameT = Aws::String>
482 m_identifyLanguageHasBeenSet =
true;
483 m_identifyLanguage = value;
507 template <
typename LanguageOptionsT = Aws::String>
509 m_languageOptionsHasBeenSet =
true;
510 m_languageOptions = std::forward<LanguageOptionsT>(value);
512 template <
typename LanguageOptionsT = Aws::String>
529 m_preferredLanguageHasBeenSet =
true;
530 m_preferredLanguage = value;
556 m_identifyMultipleLanguagesHasBeenSet =
true;
557 m_identifyMultipleLanguages = value;
581 template <
typename VocabularyNamesT = Aws::String>
583 m_vocabularyNamesHasBeenSet =
true;
584 m_vocabularyNames = std::forward<VocabularyNamesT>(value);
586 template <
typename VocabularyNamesT = Aws::String>
610 template <
typename VocabularyFilterNamesT = Aws::String>
612 m_vocabularyFilterNamesHasBeenSet =
true;
613 m_vocabularyFilterNames = std::forward<VocabularyFilterNamesT>(value);
615 template <
typename VocabularyFilterNamesT = Aws::String>
624 int m_mediaSampleRateHertz{0};
632 std::shared_ptr<AudioStream> m_audioStream;
638 bool m_showSpeakerLabel{
false};
640 bool m_enableChannelIdentification{
false};
642 int m_numberOfChannels{0};
644 bool m_enablePartialResultsStabilization{
false};
656 bool m_identifyLanguage{
false};
662 bool m_identifyMultipleLanguages{
false};
667 StartStreamTranscriptionHandler m_handler;
670 bool m_languageCodeHasBeenSet =
false;
671 bool m_mediaSampleRateHertzHasBeenSet =
false;
672 bool m_mediaEncodingHasBeenSet =
false;
673 bool m_vocabularyNameHasBeenSet =
false;
674 bool m_sessionIdHasBeenSet =
false;
675 bool m_audioStreamHasBeenSet =
false;
676 bool m_vocabularyFilterNameHasBeenSet =
false;
677 bool m_vocabularyFilterMethodHasBeenSet =
false;
678 bool m_showSpeakerLabelHasBeenSet =
false;
679 bool m_enableChannelIdentificationHasBeenSet =
false;
680 bool m_numberOfChannelsHasBeenSet =
false;
681 bool m_enablePartialResultsStabilizationHasBeenSet =
false;
682 bool m_partialResultsStabilityHasBeenSet =
false;
683 bool m_contentIdentificationTypeHasBeenSet =
false;
684 bool m_contentRedactionTypeHasBeenSet =
false;
685 bool m_piiEntityTypesHasBeenSet =
false;
686 bool m_languageModelNameHasBeenSet =
false;
687 bool m_identifyLanguageHasBeenSet =
false;
688 bool m_languageOptionsHasBeenSet =
false;
689 bool m_preferredLanguageHasBeenSet =
false;
690 bool m_identifyMultipleLanguagesHasBeenSet =
false;
691 bool m_vocabularyNamesHasBeenSet =
false;
692 bool m_vocabularyFilterNamesHasBeenSet =
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 SetLanguageOptions(LanguageOptionsT &&value)
bool GetEnablePartialResultsStabilization() 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 & 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)
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