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
47 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<Aws::IOStream>
GetBody()
const override;
96 inline void SetMediaSampleRateHertz(
int value) { m_mediaSampleRateHertzHasBeenSet =
true; m_mediaSampleRateHertz = value; }
132 template<
typename VocabularyNameT = Aws::String>
133 void SetVocabularyName(VocabularyNameT&& value) { m_vocabularyNameHasBeenSet =
true; m_vocabularyName = std::forward<VocabularyNameT>(value); }
134 template<
typename VocabularyNameT = Aws::String>
146 template<
typename SessionIdT = Aws::String>
147 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet =
true; m_sessionId = std::forward<SessionIdT>(value); }
148 template<
typename SessionIdT = Aws::String>
159 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<AudioStream>
GetAudioStream()
const {
return m_audioStream; }
160 AWS_TRANSCRIBESTREAMINGSERVICE_API
void SetAudioStream(
const std::shared_ptr<AudioStream>& value) { m_audioStreamHasBeenSet =
true; m_audioStream = value; }
182 template<
typename VocabularyFilterNameT = Aws::String>
183 void SetVocabularyFilterName(VocabularyFilterNameT&& value) { m_vocabularyFilterNameHasBeenSet =
true; m_vocabularyFilterName = std::forward<VocabularyFilterNameT>(value); }
184 template<
typename VocabularyFilterNameT = Aws::String>
211 inline void SetShowSpeakerLabel(
bool value) { m_showSpeakerLabelHasBeenSet =
true; m_showSpeakerLabel = value; }
244 inline void SetNumberOfChannels(
int value) { m_numberOfChannelsHasBeenSet =
true; m_numberOfChannels = value; }
333 template<
typename PiiEntityTypesT = Aws::String>
334 void SetPiiEntityTypes(PiiEntityTypesT&& value) { m_piiEntityTypesHasBeenSet =
true; m_piiEntityTypes = std::forward<PiiEntityTypesT>(value); }
335 template<
typename PiiEntityTypesT = Aws::String>
352 template<
typename LanguageModelNameT = Aws::String>
353 void SetLanguageModelName(LanguageModelNameT&& value) { m_languageModelNameHasBeenSet =
true; m_languageModelName = std::forward<LanguageModelNameT>(value); }
354 template<
typename LanguageModelNameT = Aws::String>
377 inline void SetIdentifyLanguage(
bool value) { m_identifyLanguageHasBeenSet =
true; m_identifyLanguage = value; }
397 template<
typename LanguageOptionsT = Aws::String>
398 void SetLanguageOptions(LanguageOptionsT&& value) { m_languageOptionsHasBeenSet =
true; m_languageOptions = std::forward<LanguageOptionsT>(value); }
399 template<
typename LanguageOptionsT = Aws::String>
453 template<
typename VocabularyNamesT = Aws::String>
454 void SetVocabularyNames(VocabularyNamesT&& value) { m_vocabularyNamesHasBeenSet =
true; m_vocabularyNames = std::forward<VocabularyNamesT>(value); }
455 template<
typename VocabularyNamesT = Aws::String>
476 template<
typename VocabularyFilterNamesT = Aws::String>
477 void SetVocabularyFilterNames(VocabularyFilterNamesT&& value) { m_vocabularyFilterNamesHasBeenSet =
true; m_vocabularyFilterNames = std::forward<VocabularyFilterNamesT>(value); }
478 template<
typename VocabularyFilterNamesT = Aws::String>
484 bool m_languageCodeHasBeenSet =
false;
486 int m_mediaSampleRateHertz{0};
487 bool m_mediaSampleRateHertzHasBeenSet =
false;
490 bool m_mediaEncodingHasBeenSet =
false;
493 bool m_vocabularyNameHasBeenSet =
false;
496 bool m_sessionIdHasBeenSet =
false;
498 std::shared_ptr<AudioStream> m_audioStream;
499 bool m_audioStreamHasBeenSet =
false;
502 bool m_vocabularyFilterNameHasBeenSet =
false;
505 bool m_vocabularyFilterMethodHasBeenSet =
false;
507 bool m_showSpeakerLabel{
false};
508 bool m_showSpeakerLabelHasBeenSet =
false;
510 bool m_enableChannelIdentification{
false};
511 bool m_enableChannelIdentificationHasBeenSet =
false;
513 int m_numberOfChannels{0};
514 bool m_numberOfChannelsHasBeenSet =
false;
516 bool m_enablePartialResultsStabilization{
false};
517 bool m_enablePartialResultsStabilizationHasBeenSet =
false;
520 bool m_partialResultsStabilityHasBeenSet =
false;
523 bool m_contentIdentificationTypeHasBeenSet =
false;
526 bool m_contentRedactionTypeHasBeenSet =
false;
529 bool m_piiEntityTypesHasBeenSet =
false;
532 bool m_languageModelNameHasBeenSet =
false;
534 bool m_identifyLanguage{
false};
535 bool m_identifyLanguageHasBeenSet =
false;
538 bool m_languageOptionsHasBeenSet =
false;
541 bool m_preferredLanguageHasBeenSet =
false;
543 bool m_identifyMultipleLanguages{
false};
544 bool m_identifyMultipleLanguagesHasBeenSet =
false;
547 bool m_vocabularyNamesHasBeenSet =
false;
550 bool m_vocabularyFilterNamesHasBeenSet =
false;
551 StartStreamTranscriptionHandler m_handler;
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