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/TranscriptFormat.h>
19#include <aws/transcribestreaming/model/VocabularyFilterMethod.h>
25namespace TranscribeStreamingService {
45 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<Aws::IOStream>
GetBody()
const override;
87 m_languageCodeHasBeenSet =
true;
88 m_languageCode = value;
106 m_mediaSampleRateHertzHasBeenSet =
true;
107 m_mediaSampleRateHertz = value;
127 m_mediaEncodingHasBeenSet =
true;
128 m_mediaEncoding = value;
153 template <
typename VocabularyNameT = Aws::String>
155 m_vocabularyNameHasBeenSet =
true;
156 m_vocabularyName = std::forward<VocabularyNameT>(value);
158 template <
typename VocabularyNameT = Aws::String>
173 template <
typename SessionIdT = Aws::String>
175 m_sessionIdHasBeenSet =
true;
176 m_sessionId = std::forward<SessionIdT>(value);
178 template <
typename SessionIdT = Aws::String>
192 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<AudioStream>
GetAudioStream()
const {
return m_audioStream; }
193 AWS_TRANSCRIBESTREAMINGSERVICE_API
void SetAudioStream(
const std::shared_ptr<AudioStream>& value) {
194 m_audioStreamHasBeenSet =
true;
195 m_audioStream = value;
221 template <
typename VocabularyFilterNameT = Aws::String>
223 m_vocabularyFilterNameHasBeenSet =
true;
224 m_vocabularyFilterName = std::forward<VocabularyFilterNameT>(value);
226 template <
typename VocabularyFilterNameT = Aws::String>
243 m_vocabularyFilterMethodHasBeenSet =
true;
244 m_vocabularyFilterMethod = value;
263 m_showSpeakerLabelHasBeenSet =
true;
264 m_showSpeakerLabel = value;
288 m_enableChannelIdentificationHasBeenSet =
true;
289 m_enableChannelIdentification = value;
308 m_numberOfChannelsHasBeenSet =
true;
309 m_numberOfChannels = value;
328 m_enablePartialResultsStabilizationHasBeenSet =
true;
329 m_enablePartialResultsStabilization = value;
349 m_partialResultsStabilityHasBeenSet =
true;
350 m_partialResultsStability = value;
374 m_contentIdentificationTypeHasBeenSet =
true;
375 m_contentIdentificationType = value;
399 m_contentRedactionTypeHasBeenSet =
true;
400 m_contentRedactionType = value;
429 template <
typename PiiEntityTypesT = Aws::String>
431 m_piiEntityTypesHasBeenSet =
true;
432 m_piiEntityTypes = std::forward<PiiEntityTypesT>(value);
434 template <
typename PiiEntityTypesT = Aws::String>
454 template <
typename LanguageModelNameT = Aws::String>
456 m_languageModelNameHasBeenSet =
true;
457 m_languageModelName = std::forward<LanguageModelNameT>(value);
459 template <
typename LanguageModelNameT = Aws::String>
486 m_identifyLanguageHasBeenSet =
true;
487 m_identifyLanguage = value;
511 template <
typename LanguageOptionsT = Aws::String>
513 m_languageOptionsHasBeenSet =
true;
514 m_languageOptions = std::forward<LanguageOptionsT>(value);
516 template <
typename LanguageOptionsT = Aws::String>
533 m_preferredLanguageHasBeenSet =
true;
534 m_preferredLanguage = value;
560 m_identifyMultipleLanguagesHasBeenSet =
true;
561 m_identifyMultipleLanguages = value;
585 template <
typename VocabularyNamesT = Aws::String>
587 m_vocabularyNamesHasBeenSet =
true;
588 m_vocabularyNames = std::forward<VocabularyNamesT>(value);
590 template <
typename VocabularyNamesT = Aws::String>
614 template <
typename VocabularyFilterNamesT = Aws::String>
616 m_vocabularyFilterNamesHasBeenSet =
true;
617 m_vocabularyFilterNames = std::forward<VocabularyFilterNamesT>(value);
619 template <
typename VocabularyFilterNamesT = Aws::String>
638 m_sessionResumeWindowHasBeenSet =
true;
639 m_sessionResumeWindow = value;
661 m_transcriptFormatHasBeenSet =
true;
662 m_transcriptFormat = value;
672 int m_mediaSampleRateHertz{0};
680 std::shared_ptr<AudioStream> m_audioStream;
686 bool m_showSpeakerLabel{
false};
688 bool m_enableChannelIdentification{
false};
690 int m_numberOfChannels{0};
692 bool m_enablePartialResultsStabilization{
false};
704 bool m_identifyLanguage{
false};
710 bool m_identifyMultipleLanguages{
false};
716 int m_sessionResumeWindow{0};
719 StartStreamTranscriptionHandler m_handler;
722 bool m_languageCodeHasBeenSet =
false;
723 bool m_mediaSampleRateHertzHasBeenSet =
false;
724 bool m_mediaEncodingHasBeenSet =
false;
725 bool m_vocabularyNameHasBeenSet =
false;
726 bool m_sessionIdHasBeenSet =
false;
727 bool m_audioStreamHasBeenSet =
false;
728 bool m_vocabularyFilterNameHasBeenSet =
false;
729 bool m_vocabularyFilterMethodHasBeenSet =
false;
730 bool m_showSpeakerLabelHasBeenSet =
false;
731 bool m_enableChannelIdentificationHasBeenSet =
false;
732 bool m_numberOfChannelsHasBeenSet =
false;
733 bool m_enablePartialResultsStabilizationHasBeenSet =
false;
734 bool m_partialResultsStabilityHasBeenSet =
false;
735 bool m_contentIdentificationTypeHasBeenSet =
false;
736 bool m_contentRedactionTypeHasBeenSet =
false;
737 bool m_piiEntityTypesHasBeenSet =
false;
738 bool m_languageModelNameHasBeenSet =
false;
739 bool m_identifyLanguageHasBeenSet =
false;
740 bool m_languageOptionsHasBeenSet =
false;
741 bool m_preferredLanguageHasBeenSet =
false;
742 bool m_identifyMultipleLanguagesHasBeenSet =
false;
743 bool m_vocabularyNamesHasBeenSet =
false;
744 bool m_vocabularyFilterNamesHasBeenSet =
false;
745 bool m_sessionResumeWindowHasBeenSet =
false;
746 bool m_transcriptFormatHasBeenSet =
false;
const Aws::String & GetPiiEntityTypes() const
void SetVocabularyNames(VocabularyNamesT &&value)
bool TranscriptFormatHasBeenSet() const
TranscriptFormat GetTranscriptFormat() const
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)
StartStreamTranscriptionRequest & WithTranscriptFormat(TranscriptFormat 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()
void SetTranscriptFormat(TranscriptFormat value)
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