7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/TranscribeStreamingServiceRequest.h>
9#include <aws/transcribestreaming/model/StartStreamTranscriptionHandler.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/AudioStream.h>
16#include <aws/transcribestreaming/model/VocabularyFilterMethod.h>
17#include <aws/transcribestreaming/model/PartialResultsStability.h>
18#include <aws/transcribestreaming/model/ContentIdentificationType.h>
19#include <aws/transcribestreaming/model/ContentRedactionType.h>
24namespace TranscribeStreamingService
46 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<Aws::IOStream>
GetBody()
const override;
97 inline void SetMediaSampleRateHertz(
int value) { m_mediaSampleRateHertzHasBeenSet =
true; m_mediaSampleRateHertz = value; }
137 inline void SetVocabularyName(
const char* value) { m_vocabularyNameHasBeenSet =
true; m_vocabularyName.assign(value); }
153 inline void SetSessionId(
const char* value) { m_sessionIdHasBeenSet =
true; m_sessionId.assign(value); }
166 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<AudioStream>
GetAudioStream()
const {
return m_audioStream; }
167 AWS_TRANSCRIBESTREAMINGSERVICE_API
void SetAudioStream(
const std::shared_ptr<AudioStream>& value) { m_audioStream = value; }
191 inline void SetVocabularyFilterName(
const char* value) { m_vocabularyFilterNameHasBeenSet =
true; m_vocabularyFilterName.assign(value); }
222 inline void SetShowSpeakerLabel(
bool value) { m_showSpeakerLabelHasBeenSet =
true; m_showSpeakerLabel = value; }
255 inline void SetNumberOfChannels(
int value) { m_numberOfChannelsHasBeenSet =
true; m_numberOfChannels = value; }
352 inline void SetPiiEntityTypes(
const char* value) { m_piiEntityTypesHasBeenSet =
true; m_piiEntityTypes.assign(value); }
373 inline void SetLanguageModelName(
const char* value) { m_languageModelNameHasBeenSet =
true; m_languageModelName.assign(value); }
398 inline void SetIdentifyLanguage(
bool value) { m_identifyLanguageHasBeenSet =
true; m_identifyLanguage = value; }
420 inline void SetLanguageOptions(
const char* value) { m_languageOptionsHasBeenSet =
true; m_languageOptions.assign(value); }
480 inline void SetVocabularyNames(
const char* value) { m_vocabularyNamesHasBeenSet =
true; m_vocabularyNames.assign(value); }
505 inline void SetVocabularyFilterNames(
const char* value) { m_vocabularyFilterNamesHasBeenSet =
true; m_vocabularyFilterNames.assign(value); }
513 bool m_languageCodeHasBeenSet =
false;
515 int m_mediaSampleRateHertz;
516 bool m_mediaSampleRateHertzHasBeenSet =
false;
519 bool m_mediaEncodingHasBeenSet =
false;
522 bool m_vocabularyNameHasBeenSet =
false;
525 bool m_sessionIdHasBeenSet =
false;
527 std::shared_ptr<AudioStream> m_audioStream;
530 bool m_vocabularyFilterNameHasBeenSet =
false;
533 bool m_vocabularyFilterMethodHasBeenSet =
false;
535 bool m_showSpeakerLabel;
536 bool m_showSpeakerLabelHasBeenSet =
false;
538 bool m_enableChannelIdentification;
539 bool m_enableChannelIdentificationHasBeenSet =
false;
541 int m_numberOfChannels;
542 bool m_numberOfChannelsHasBeenSet =
false;
544 bool m_enablePartialResultsStabilization;
545 bool m_enablePartialResultsStabilizationHasBeenSet =
false;
548 bool m_partialResultsStabilityHasBeenSet =
false;
551 bool m_contentIdentificationTypeHasBeenSet =
false;
554 bool m_contentRedactionTypeHasBeenSet =
false;
557 bool m_piiEntityTypesHasBeenSet =
false;
560 bool m_languageModelNameHasBeenSet =
false;
562 bool m_identifyLanguage;
563 bool m_identifyLanguageHasBeenSet =
false;
566 bool m_languageOptionsHasBeenSet =
false;
569 bool m_preferredLanguageHasBeenSet =
false;
571 bool m_identifyMultipleLanguages;
572 bool m_identifyMultipleLanguagesHasBeenSet =
false;
575 bool m_vocabularyNamesHasBeenSet =
false;
578 bool m_vocabularyFilterNamesHasBeenSet =
false;
void SetVocabularyFilterNames(Aws::String &&value)
const Aws::String & GetPiiEntityTypes() const
void SetLanguageOptions(const Aws::String &value)
void SetVocabularyNames(Aws::String &&value)
StartStreamTranscriptionRequest & WithContentIdentificationType(const ContentIdentificationType &value)
const Aws::String & GetVocabularyFilterName() const
void SetLanguageCode(const LanguageCode &value)
StartStreamTranscriptionRequest & WithVocabularyName(const Aws::String &value)
StartStreamTranscriptionRequest & WithVocabularyNames(Aws::String &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetShowSpeakerLabel(bool value)
bool LanguageModelNameHasBeenSet() const
StartStreamTranscriptionRequest & WithVocabularyFilterName(const char *value)
void SetPiiEntityTypes(const char *value)
void SetVocabularyName(const Aws::String &value)
StartStreamTranscriptionRequest & WithVocabularyFilterName(Aws::String &&value)
StartStreamTranscriptionRequest & WithContentIdentificationType(ContentIdentificationType &&value)
bool GetEnablePartialResultsStabilization() const
const LanguageCode & GetPreferredLanguage() const
AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionRequest & WithAudioStream(const std::shared_ptr< AudioStream > &value)
void SetPiiEntityTypes(Aws::String &&value)
bool LanguageCodeHasBeenSet() const
void SetEnableChannelIdentification(bool value)
bool ContentIdentificationTypeHasBeenSet() const
void SetEnablePartialResultsStabilization(bool value)
StartStreamTranscriptionRequest & WithMediaSampleRateHertz(int value)
bool MediaEncodingHasBeenSet() const
bool VocabularyFilterMethodHasBeenSet() const
int GetNumberOfChannels() const
StartStreamTranscriptionRequest & WithMediaEncoding(const MediaEncoding &value)
void SetVocabularyFilterName(Aws::String &&value)
StartStreamTranscriptionRequest & WithVocabularyName(Aws::String &&value)
StartStreamTranscriptionRequest & WithShowSpeakerLabel(bool value)
virtual bool IsEventStreamRequest() const override
const Aws::String & GetVocabularyName() const
const Aws::String & GetSessionId() const
StartStreamTranscriptionRequest & WithPreferredLanguage(LanguageCode &&value)
StartStreamTranscriptionRequest & WithLanguageOptions(const char *value)
bool GetShowSpeakerLabel() const
const ContentIdentificationType & GetContentIdentificationType() const
void SetSessionId(Aws::String &&value)
bool PartialResultsStabilityHasBeenSet() const
StartStreamTranscriptionRequest & WithEnableChannelIdentification(bool value)
void SetLanguageCode(LanguageCode &&value)
StartStreamTranscriptionRequest & WithVocabularyNames(const char *value)
void SetLanguageModelName(Aws::String &&value)
StartStreamTranscriptionRequest & WithVocabularyFilterName(const Aws::String &value)
void SetContentRedactionType(ContentRedactionType &&value)
StartStreamTranscriptionRequest & WithLanguageCode(const LanguageCode &value)
StartStreamTranscriptionRequest & WithPreferredLanguage(const LanguageCode &value)
StartStreamTranscriptionRequest & WithPiiEntityTypes(const Aws::String &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::String SerializePayload() const override
void SetEventStreamHandler(const StartStreamTranscriptionHandler &value)
StartStreamTranscriptionRequest & WithVocabularyFilterMethod(VocabularyFilterMethod &&value)
void SetLanguageOptions(Aws::String &&value)
StartStreamTranscriptionRequest & WithPartialResultsStability(PartialResultsStability &&value)
void SetPiiEntityTypes(const Aws::String &value)
StartStreamTranscriptionRequest & WithNumberOfChannels(int value)
bool EnableChannelIdentificationHasBeenSet() const
StartStreamTranscriptionRequest & WithMediaEncoding(MediaEncoding &&value)
bool ContentRedactionTypeHasBeenSet() const
void SetLanguageModelName(const Aws::String &value)
void SetMediaSampleRateHertz(int value)
StartStreamTranscriptionRequest & WithVocabularyName(const char *value)
bool SessionIdHasBeenSet() const
StartStreamTranscriptionRequest & WithVocabularyFilterNames(const Aws::String &value)
StartStreamTranscriptionRequest & WithContentRedactionType(ContentRedactionType &&value)
const Aws::String & GetLanguageModelName() const
StartStreamTranscriptionRequest & WithPiiEntityTypes(const char *value)
bool GetIdentifyMultipleLanguages() const
bool GetIdentifyLanguage() const
void SetPartialResultsStability(PartialResultsStability &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API void SetAudioStream(const std::shared_ptr< AudioStream > &value)
void SetLanguageModelName(const char *value)
StartStreamTranscriptionRequest & WithEventStreamHandler(const StartStreamTranscriptionHandler &value)
const ContentRedactionType & GetContentRedactionType() const
StartStreamTranscriptionRequest & WithVocabularyNames(const Aws::String &value)
void SetVocabularyFilterMethod(VocabularyFilterMethod &&value)
const StartStreamTranscriptionHandler & GetEventStreamHandler() const
void SetContentIdentificationType(const ContentIdentificationType &value)
const Aws::String & GetVocabularyNames() const
void SetVocabularyFilterNames(const char *value)
StartStreamTranscriptionRequest & WithLanguageOptions(Aws::String &&value)
StartStreamTranscriptionRequest & WithEnablePartialResultsStabilization(bool value)
bool PiiEntityTypesHasBeenSet() const
void SetIdentifyLanguage(bool value)
bool IdentifyLanguageHasBeenSet() const
void SetVocabularyFilterName(const Aws::String &value)
void SetMediaEncoding(const MediaEncoding &value)
void SetPartialResultsStability(const PartialResultsStability &value)
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
void SetVocabularyNames(const Aws::String &value)
StartStreamTranscriptionRequest & WithLanguageModelName(const Aws::String &value)
void SetVocabularyFilterName(const char *value)
void SetVocabularyNames(const char *value)
virtual const char * GetServiceRequestName() const override
void SetIdentifyMultipleLanguages(bool value)
const PartialResultsStability & GetPartialResultsStability() const
void SetLanguageOptions(const char *value)
StartStreamTranscriptionRequest & WithIdentifyMultipleLanguages(bool value)
AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr< Aws::IOStream > GetBody() const override
const MediaEncoding & GetMediaEncoding() const
StartStreamTranscriptionRequest & WithContentRedactionType(const ContentRedactionType &value)
bool IdentifyMultipleLanguagesHasBeenSet() const
void SetNumberOfChannels(int value)
bool EnablePartialResultsStabilizationHasBeenSet() const
bool VocabularyNamesHasBeenSet() const
StartStreamTranscriptionRequest & WithSessionId(const Aws::String &value)
int GetMediaSampleRateHertz() const
bool VocabularyNameHasBeenSet() const
bool MediaSampleRateHertzHasBeenSet() const
void SetVocabularyName(const char *value)
StartStreamTranscriptionRequest & WithVocabularyFilterMethod(const VocabularyFilterMethod &value)
StartStreamTranscriptionRequest & WithSessionId(Aws::String &&value)
StartStreamTranscriptionRequest & WithIdentifyLanguage(bool value)
StartStreamTranscriptionRequest & WithLanguageCode(LanguageCode &&value)
const Aws::String & GetVocabularyFilterNames() const
bool VocabularyFilterNamesHasBeenSet() const
StartStreamTranscriptionRequest & WithVocabularyFilterNames(const char *value)
void SetVocabularyFilterMethod(const VocabularyFilterMethod &value)
void SetVocabularyFilterNames(const Aws::String &value)
bool VocabularyFilterNameHasBeenSet() const
void SetSessionId(const Aws::String &value)
bool LanguageOptionsHasBeenSet() const
void SetContentIdentificationType(ContentIdentificationType &&value)
StartStreamTranscriptionRequest & WithLanguageModelName(const char *value)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartStreamTranscriptionRequest()
bool ShowSpeakerLabelHasBeenSet() const
bool GetEnableChannelIdentification() const
StartStreamTranscriptionRequest & WithPiiEntityTypes(Aws::String &&value)
void SetPreferredLanguage(LanguageCode &&value)
bool NumberOfChannelsHasBeenSet() const
AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr< AudioStream > GetAudioStream() const
void SetContentRedactionType(const ContentRedactionType &value)
void SetMediaEncoding(MediaEncoding &&value)
StartStreamTranscriptionRequest & WithLanguageModelName(Aws::String &&value)
void SetSessionId(const char *value)
StartStreamTranscriptionRequest & WithLanguageOptions(const Aws::String &value)
const Aws::String & GetLanguageOptions() const
void SetPreferredLanguage(const LanguageCode &value)
void SetVocabularyName(Aws::String &&value)
StartStreamTranscriptionRequest & WithSessionId(const char *value)
StartStreamTranscriptionRequest & WithVocabularyFilterNames(Aws::String &&value)
const VocabularyFilterMethod & GetVocabularyFilterMethod() const
StartStreamTranscriptionRequest & WithPartialResultsStability(const PartialResultsStability &value)
const LanguageCode & GetLanguageCode() const
bool PreferredLanguageHasBeenSet() const
void ResetEventStreamHandler(EventStreamHandler *handler)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
ContentIdentificationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String