7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/TranscribeServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/transcribe/model/LanguageCode.h>
11#include <aws/transcribe/model/MediaFormat.h>
12#include <aws/transcribe/model/Media.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/transcribe/model/Settings.h>
15#include <aws/transcribe/model/ModelSettings.h>
16#include <aws/transcribe/model/JobExecutionSettings.h>
17#include <aws/transcribe/model/ContentRedaction.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/transcribe/model/Subtitles.h>
20#include <aws/transcribe/model/Tag.h>
21#include <aws/transcribe/model/LanguageIdSettings.h>
22#include <aws/transcribe/model/ToxicityDetectionSettings.h>
27namespace TranscribeService
62 template<
typename TranscriptionJobNameT = Aws::String>
63 void SetTranscriptionJobName(TranscriptionJobNameT&& value) { m_transcriptionJobNameHasBeenSet =
true; m_transcriptionJobName = std::forward<TranscriptionJobNameT>(value); }
64 template<
typename TranscriptionJobNameT = Aws::String>
125 template<
typename MediaT = Media>
126 void SetMedia(MediaT&& value) { m_mediaHasBeenSet =
true; m_media = std::forward<MediaT>(value); }
127 template<
typename MediaT = Media>
155 template<
typename OutputBucketNameT = Aws::String>
156 void SetOutputBucketName(OutputBucketNameT&& value) { m_outputBucketNameHasBeenSet =
true; m_outputBucketName = std::forward<OutputBucketNameT>(value); }
157 template<
typename OutputBucketNameT = Aws::String>
190 template<
typename OutputKeyT = Aws::String>
191 void SetOutputKey(OutputKeyT&& value) { m_outputKeyHasBeenSet =
true; m_outputKey = std::forward<OutputKeyT>(value); }
192 template<
typename OutputKeyT = Aws::String>
222 template<
typename OutputEncryptionKMSKeyIdT = Aws::String>
223 void SetOutputEncryptionKMSKeyId(OutputEncryptionKMSKeyIdT&& value) { m_outputEncryptionKMSKeyIdHasBeenSet =
true; m_outputEncryptionKMSKeyId = std::forward<OutputEncryptionKMSKeyIdT>(value); }
224 template<
typename OutputEncryptionKMSKeyIdT = Aws::String>
240 template<
typename KMSEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
241 void SetKMSEncryptionContext(KMSEncryptionContextT&& value) { m_kMSEncryptionContextHasBeenSet =
true; m_kMSEncryptionContext = std::forward<KMSEncryptionContextT>(value); }
242 template<
typename KMSEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
244 template<
typename KMSEncryptionContextKeyT = Aws::String,
typename KMSEncryptionContextValueT = Aws::String>
246 m_kMSEncryptionContextHasBeenSet =
true; m_kMSEncryptionContext.emplace(std::forward<KMSEncryptionContextKeyT>(key), std::forward<KMSEncryptionContextValueT>(value));
return *
this;
267 template<
typename SettingsT = Settings>
268 void SetSettings(SettingsT&& value) { m_settingsHasBeenSet =
true; m_settings = std::forward<SettingsT>(value); }
269 template<
typename SettingsT = Settings>
284 template<
typename ModelSettingsT = ModelSettings>
285 void SetModelSettings(ModelSettingsT&& value) { m_modelSettingsHasBeenSet =
true; m_modelSettings = std::forward<ModelSettingsT>(value); }
286 template<
typename ModelSettingsT = ModelSettings>
301 template<
typename JobExecutionSettingsT = JobExecutionSettings>
302 void SetJobExecutionSettings(JobExecutionSettingsT&& value) { m_jobExecutionSettingsHasBeenSet =
true; m_jobExecutionSettings = std::forward<JobExecutionSettingsT>(value); }
303 template<
typename JobExecutionSettingsT = JobExecutionSettings>
319 template<
typename ContentRedactionT = ContentRedaction>
320 void SetContentRedaction(ContentRedactionT&& value) { m_contentRedactionHasBeenSet =
true; m_contentRedaction = std::forward<ContentRedactionT>(value); }
321 template<
typename ContentRedactionT = ContentRedaction>
348 inline void SetIdentifyLanguage(
bool value) { m_identifyLanguageHasBeenSet =
true; m_identifyLanguage = value; }
394 template<
typename LanguageOptionsT = Aws::Vector<LanguageCode>>
395 void SetLanguageOptions(LanguageOptionsT&& value) { m_languageOptionsHasBeenSet =
true; m_languageOptions = std::forward<LanguageOptionsT>(value); }
396 template<
typename LanguageOptionsT = Aws::Vector<LanguageCode>>
408 template<
typename SubtitlesT = Subtitles>
409 void SetSubtitles(SubtitlesT&& value) { m_subtitlesHasBeenSet =
true; m_subtitles = std::forward<SubtitlesT>(value); }
410 template<
typename SubtitlesT = Subtitles>
424 template<
typename TagsT = Aws::Vector<Tag>>
425 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
426 template<
typename TagsT = Aws::Vector<Tag>>
428 template<
typename TagsT = Tag>
463 template<
typename LanguageIdSettingsT = Aws::Map<LanguageCode, LanguageIdSettings>>
464 void SetLanguageIdSettings(LanguageIdSettingsT&& value) { m_languageIdSettingsHasBeenSet =
true; m_languageIdSettings = std::forward<LanguageIdSettingsT>(value); }
465 template<
typename LanguageIdSettingsT = Aws::Map<LanguageCode, LanguageIdSettings>>
468 m_languageIdSettingsHasBeenSet =
true; m_languageIdSettings.emplace(key, value);
return *
this;
483 template<
typename ToxicityDetectionT = Aws::Vector<ToxicityDetectionSettings>>
484 void SetToxicityDetection(ToxicityDetectionT&& value) { m_toxicityDetectionHasBeenSet =
true; m_toxicityDetection = std::forward<ToxicityDetectionT>(value); }
485 template<
typename ToxicityDetectionT = Aws::Vector<ToxicityDetectionSettings>>
487 template<
typename ToxicityDetectionT = ToxicityDetectionSettings>
493 bool m_transcriptionJobNameHasBeenSet =
false;
496 bool m_languageCodeHasBeenSet =
false;
498 int m_mediaSampleRateHertz{0};
499 bool m_mediaSampleRateHertzHasBeenSet =
false;
502 bool m_mediaFormatHasBeenSet =
false;
505 bool m_mediaHasBeenSet =
false;
508 bool m_outputBucketNameHasBeenSet =
false;
511 bool m_outputKeyHasBeenSet =
false;
514 bool m_outputEncryptionKMSKeyIdHasBeenSet =
false;
517 bool m_kMSEncryptionContextHasBeenSet =
false;
520 bool m_settingsHasBeenSet =
false;
522 ModelSettings m_modelSettings;
523 bool m_modelSettingsHasBeenSet =
false;
525 JobExecutionSettings m_jobExecutionSettings;
526 bool m_jobExecutionSettingsHasBeenSet =
false;
528 ContentRedaction m_contentRedaction;
529 bool m_contentRedactionHasBeenSet =
false;
531 bool m_identifyLanguage{
false};
532 bool m_identifyLanguageHasBeenSet =
false;
534 bool m_identifyMultipleLanguages{
false};
535 bool m_identifyMultipleLanguagesHasBeenSet =
false;
538 bool m_languageOptionsHasBeenSet =
false;
540 Subtitles m_subtitles;
541 bool m_subtitlesHasBeenSet =
false;
544 bool m_tagsHasBeenSet =
false;
547 bool m_languageIdSettingsHasBeenSet =
false;
550 bool m_toxicityDetectionHasBeenSet =
false;
void SetToxicityDetection(ToxicityDetectionT &&value)
const ContentRedaction & GetContentRedaction() const
StartTranscriptionJobRequest & AddLanguageIdSettings(LanguageCode key, LanguageIdSettings value)
const Aws::Vector< LanguageCode > & GetLanguageOptions() const
StartTranscriptionJobRequest & WithMediaSampleRateHertz(int value)
void SetSubtitles(SubtitlesT &&value)
bool MediaSampleRateHertzHasBeenSet() const
bool KMSEncryptionContextHasBeenSet() const
bool OutputEncryptionKMSKeyIdHasBeenSet() const
StartTranscriptionJobRequest & WithTags(TagsT &&value)
void SetContentRedaction(ContentRedactionT &&value)
StartTranscriptionJobRequest & WithJobExecutionSettings(JobExecutionSettingsT &&value)
StartTranscriptionJobRequest & WithMediaFormat(MediaFormat value)
StartTranscriptionJobRequest & WithMedia(MediaT &&value)
const Aws::String & GetOutputBucketName() const
StartTranscriptionJobRequest & WithLanguageOptions(LanguageOptionsT &&value)
StartTranscriptionJobRequest & WithIdentifyLanguage(bool value)
StartTranscriptionJobRequest & WithTranscriptionJobName(TranscriptionJobNameT &&value)
bool TagsHasBeenSet() const
const Aws::Vector< ToxicityDetectionSettings > & GetToxicityDetection() const
const ModelSettings & GetModelSettings() const
void SetOutputBucketName(OutputBucketNameT &&value)
void SetLanguageCode(LanguageCode value)
StartTranscriptionJobRequest & AddTags(TagsT &&value)
StartTranscriptionJobRequest & AddToxicityDetection(ToxicityDetectionT &&value)
void SetLanguageIdSettings(LanguageIdSettingsT &&value)
StartTranscriptionJobRequest & WithOutputBucketName(OutputBucketNameT &&value)
void SetJobExecutionSettings(JobExecutionSettingsT &&value)
void SetModelSettings(ModelSettingsT &&value)
StartTranscriptionJobRequest & WithOutputEncryptionKMSKeyId(OutputEncryptionKMSKeyIdT &&value)
bool ModelSettingsHasBeenSet() const
const Settings & GetSettings() const
bool SettingsHasBeenSet() const
bool JobExecutionSettingsHasBeenSet() const
const Aws::String & GetOutputEncryptionKMSKeyId() const
int GetMediaSampleRateHertz() const
bool LanguageIdSettingsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const JobExecutionSettings & GetJobExecutionSettings() const
bool ContentRedactionHasBeenSet() const
AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override
const Aws::Vector< Tag > & GetTags() const
bool SubtitlesHasBeenSet() const
bool GetIdentifyLanguage() const
StartTranscriptionJobRequest & WithSubtitles(SubtitlesT &&value)
bool TranscriptionJobNameHasBeenSet() const
void SetMedia(MediaT &&value)
void SetTranscriptionJobName(TranscriptionJobNameT &&value)
AWS_TRANSCRIBESERVICE_API StartTranscriptionJobRequest()=default
StartTranscriptionJobRequest & WithLanguageCode(LanguageCode value)
bool OutputBucketNameHasBeenSet() const
AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartTranscriptionJobRequest & WithIdentifyMultipleLanguages(bool value)
void SetTags(TagsT &&value)
bool LanguageOptionsHasBeenSet() const
const Subtitles & GetSubtitles() const
StartTranscriptionJobRequest & WithToxicityDetection(ToxicityDetectionT &&value)
void SetIdentifyLanguage(bool value)
StartTranscriptionJobRequest & WithLanguageIdSettings(LanguageIdSettingsT &&value)
bool OutputKeyHasBeenSet() const
StartTranscriptionJobRequest & WithSettings(SettingsT &&value)
LanguageCode GetLanguageCode() const
const Aws::Map< LanguageCode, LanguageIdSettings > & GetLanguageIdSettings() const
void SetMediaFormat(MediaFormat value)
MediaFormat GetMediaFormat() const
bool LanguageCodeHasBeenSet() const
void SetOutputKey(OutputKeyT &&value)
void SetLanguageOptions(LanguageOptionsT &&value)
const Aws::String & GetTranscriptionJobName() const
StartTranscriptionJobRequest & WithModelSettings(ModelSettingsT &&value)
bool IdentifyMultipleLanguagesHasBeenSet() const
bool GetIdentifyMultipleLanguages() const
bool MediaFormatHasBeenSet() const
const Media & GetMedia() const
const Aws::Map< Aws::String, Aws::String > & GetKMSEncryptionContext() const
bool ToxicityDetectionHasBeenSet() const
StartTranscriptionJobRequest & AddKMSEncryptionContext(KMSEncryptionContextKeyT &&key, KMSEncryptionContextValueT &&value)
void SetSettings(SettingsT &&value)
StartTranscriptionJobRequest & WithKMSEncryptionContext(KMSEncryptionContextT &&value)
StartTranscriptionJobRequest & AddLanguageOptions(LanguageCode value)
StartTranscriptionJobRequest & WithOutputKey(OutputKeyT &&value)
void SetOutputEncryptionKMSKeyId(OutputEncryptionKMSKeyIdT &&value)
void SetMediaSampleRateHertz(int value)
bool MediaHasBeenSet() const
const Aws::String & GetOutputKey() const
void SetIdentifyMultipleLanguages(bool value)
void SetKMSEncryptionContext(KMSEncryptionContextT &&value)
bool IdentifyLanguageHasBeenSet() const
StartTranscriptionJobRequest & WithContentRedaction(ContentRedactionT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector