7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/TranscribeStreamingServiceRequest.h>
9#include <aws/transcribestreaming/model/StartCallAnalyticsStreamTranscriptionHandler.h>
10#include <aws/core/utils/event/EventStreamDecoder.h>
12#include <aws/transcribestreaming/model/CallAnalyticsLanguageCode.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
40 inline virtual const char*
GetServiceRequestName()
const override {
return "StartCallAnalyticsStreamTranscription"; }
46 AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr<Aws::IOStream>
GetBody()
const override;
95 inline void SetMediaSampleRateHertz(
int value) { m_mediaSampleRateHertzHasBeenSet =
true; m_mediaSampleRateHertz = value; }
130 inline void SetVocabularyName(
const char* value) { m_vocabularyNameHasBeenSet =
true; m_vocabularyName.assign(value); }
146 inline void SetSessionId(
const char* value) { m_sessionIdHasBeenSet =
true; m_sessionId.assign(value); }
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_audioStream = value; }
179 inline void SetVocabularyFilterName(
const char* value) { m_vocabularyFilterNameHasBeenSet =
true; m_vocabularyFilterName.assign(value); }
215 inline void SetLanguageModelName(
const char* value) { m_languageModelNameHasBeenSet =
true; m_languageModelName.assign(value); }
314 inline void SetPiiEntityTypes(
const char* value) { m_piiEntityTypesHasBeenSet =
true; m_piiEntityTypes.assign(value); }
322 bool m_languageCodeHasBeenSet =
false;
324 int m_mediaSampleRateHertz;
325 bool m_mediaSampleRateHertzHasBeenSet =
false;
328 bool m_mediaEncodingHasBeenSet =
false;
331 bool m_vocabularyNameHasBeenSet =
false;
334 bool m_sessionIdHasBeenSet =
false;
336 std::shared_ptr<AudioStream> m_audioStream;
339 bool m_vocabularyFilterNameHasBeenSet =
false;
342 bool m_vocabularyFilterMethodHasBeenSet =
false;
345 bool m_languageModelNameHasBeenSet =
false;
347 bool m_enablePartialResultsStabilization;
348 bool m_enablePartialResultsStabilizationHasBeenSet =
false;
351 bool m_partialResultsStabilityHasBeenSet =
false;
354 bool m_contentIdentificationTypeHasBeenSet =
false;
357 bool m_contentRedactionTypeHasBeenSet =
false;
360 bool m_piiEntityTypesHasBeenSet =
false;
bool PartialResultsStabilityHasBeenSet() const
void SetEventStreamHandler(const StartCallAnalyticsStreamTranscriptionHandler &value)
StartCallAnalyticsStreamTranscriptionRequest & WithVocabularyName(Aws::String &&value)
const MediaEncoding & GetMediaEncoding() const
virtual const char * GetServiceRequestName() const override
StartCallAnalyticsStreamTranscriptionRequest & WithEventStreamHandler(const StartCallAnalyticsStreamTranscriptionHandler &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr< AudioStream > GetAudioStream() const
StartCallAnalyticsStreamTranscriptionRequest & WithPiiEntityTypes(const Aws::String &value)
void SetPiiEntityTypes(const Aws::String &value)
void SetLanguageModelName(Aws::String &&value)
bool VocabularyFilterMethodHasBeenSet() const
const StartCallAnalyticsStreamTranscriptionHandler & GetEventStreamHandler() const
StartCallAnalyticsStreamTranscriptionRequest & WithPartialResultsStability(PartialResultsStability &&value)
const Aws::String & GetVocabularyFilterName() const
virtual bool IsEventStreamRequest() const override
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
const Aws::String & GetSessionId() const
StartCallAnalyticsStreamTranscriptionRequest & WithLanguageModelName(const char *value)
void SetVocabularyName(const char *value)
StartCallAnalyticsStreamTranscriptionRequest & WithVocabularyFilterName(Aws::String &&value)
StartCallAnalyticsStreamTranscriptionRequest & WithVocabularyName(const Aws::String &value)
bool MediaEncodingHasBeenSet() const
void SetSessionId(Aws::String &&value)
void SetPartialResultsStability(PartialResultsStability &&value)
StartCallAnalyticsStreamTranscriptionRequest & WithLanguageModelName(Aws::String &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartCallAnalyticsStreamTranscriptionRequest()
void SetContentIdentificationType(const ContentIdentificationType &value)
void SetPiiEntityTypes(const char *value)
bool ContentRedactionTypeHasBeenSet() const
StartCallAnalyticsStreamTranscriptionRequest & WithSessionId(const Aws::String &value)
void SetLanguageModelName(const char *value)
void SetVocabularyFilterMethod(const VocabularyFilterMethod &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API void SetAudioStream(const std::shared_ptr< AudioStream > &value)
const Aws::String & GetLanguageModelName() const
StartCallAnalyticsStreamTranscriptionRequest & WithVocabularyName(const char *value)
AWS_TRANSCRIBESTREAMINGSERVICE_API StartCallAnalyticsStreamTranscriptionRequest & WithAudioStream(const std::shared_ptr< AudioStream > &value)
bool LanguageCodeHasBeenSet() const
StartCallAnalyticsStreamTranscriptionRequest & WithContentIdentificationType(ContentIdentificationType &&value)
bool ContentIdentificationTypeHasBeenSet() const
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::String SerializePayload() const override
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartCallAnalyticsStreamTranscriptionRequest & WithContentRedactionType(ContentRedactionType &&value)
void SetVocabularyFilterName(Aws::String &&value)
void SetLanguageModelName(const Aws::String &value)
StartCallAnalyticsStreamTranscriptionRequest & WithVocabularyFilterMethod(const VocabularyFilterMethod &value)
StartCallAnalyticsStreamTranscriptionRequest & WithVocabularyFilterName(const char *value)
void SetVocabularyName(Aws::String &&value)
int GetMediaSampleRateHertz() const
const Aws::String & GetPiiEntityTypes() const
const Aws::String & GetVocabularyName() const
bool VocabularyNameHasBeenSet() const
StartCallAnalyticsStreamTranscriptionRequest & WithSessionId(const char *value)
StartCallAnalyticsStreamTranscriptionRequest & WithLanguageModelName(const Aws::String &value)
void SetPartialResultsStability(const PartialResultsStability &value)
void SetVocabularyFilterName(const char *value)
bool MediaSampleRateHertzHasBeenSet() const
void SetVocabularyName(const Aws::String &value)
void SetContentIdentificationType(ContentIdentificationType &&value)
void SetMediaEncoding(const MediaEncoding &value)
StartCallAnalyticsStreamTranscriptionRequest & WithPartialResultsStability(const PartialResultsStability &value)
StartCallAnalyticsStreamTranscriptionRequest & WithMediaEncoding(const MediaEncoding &value)
const ContentRedactionType & GetContentRedactionType() const
const VocabularyFilterMethod & GetVocabularyFilterMethod() const
const CallAnalyticsLanguageCode & GetLanguageCode() const
StartCallAnalyticsStreamTranscriptionRequest & WithLanguageCode(const CallAnalyticsLanguageCode &value)
StartCallAnalyticsStreamTranscriptionRequest & WithSessionId(Aws::String &&value)
void SetEnablePartialResultsStabilization(bool value)
const PartialResultsStability & GetPartialResultsStability() const
StartCallAnalyticsStreamTranscriptionRequest & WithMediaSampleRateHertz(int value)
void SetPiiEntityTypes(Aws::String &&value)
void SetVocabularyFilterMethod(VocabularyFilterMethod &&value)
StartCallAnalyticsStreamTranscriptionRequest & WithLanguageCode(CallAnalyticsLanguageCode &&value)
void SetMediaSampleRateHertz(int value)
StartCallAnalyticsStreamTranscriptionRequest & WithContentRedactionType(const ContentRedactionType &value)
StartCallAnalyticsStreamTranscriptionRequest & WithVocabularyFilterMethod(VocabularyFilterMethod &&value)
StartCallAnalyticsStreamTranscriptionRequest & WithPiiEntityTypes(const char *value)
bool LanguageModelNameHasBeenSet() const
void SetContentRedactionType(const ContentRedactionType &value)
bool PiiEntityTypesHasBeenSet() const
bool EnablePartialResultsStabilizationHasBeenSet() const
StartCallAnalyticsStreamTranscriptionRequest & WithPiiEntityTypes(Aws::String &&value)
void SetVocabularyFilterName(const Aws::String &value)
bool SessionIdHasBeenSet() const
bool VocabularyFilterNameHasBeenSet() const
AWS_TRANSCRIBESTREAMINGSERVICE_API std::shared_ptr< Aws::IOStream > GetBody() const override
bool GetEnablePartialResultsStabilization() const
void SetLanguageCode(const CallAnalyticsLanguageCode &value)
StartCallAnalyticsStreamTranscriptionRequest & WithContentIdentificationType(const ContentIdentificationType &value)
void SetMediaEncoding(MediaEncoding &&value)
StartCallAnalyticsStreamTranscriptionRequest & WithVocabularyFilterName(const Aws::String &value)
StartCallAnalyticsStreamTranscriptionRequest & WithEnablePartialResultsStabilization(bool value)
StartCallAnalyticsStreamTranscriptionRequest & WithMediaEncoding(MediaEncoding &&value)
const ContentIdentificationType & GetContentIdentificationType() const
void SetSessionId(const char *value)
void SetSessionId(const Aws::String &value)
void SetLanguageCode(CallAnalyticsLanguageCode &&value)
void SetContentRedactionType(ContentRedactionType &&value)
void ResetEventStreamHandler(EventStreamHandler *handler)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
CallAnalyticsLanguageCode
ContentIdentificationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String