7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/transcribe/TranscribeServiceRequest.h>
11#include <aws/transcribe/TranscribeService_EXPORTS.h>
12#include <aws/transcribe/model/ContentRedaction.h>
13#include <aws/transcribe/model/JobExecutionSettings.h>
14#include <aws/transcribe/model/LanguageCode.h>
15#include <aws/transcribe/model/LanguageIdSettings.h>
16#include <aws/transcribe/model/Media.h>
17#include <aws/transcribe/model/MediaFormat.h>
18#include <aws/transcribe/model/ModelSettings.h>
19#include <aws/transcribe/model/Settings.h>
20#include <aws/transcribe/model/Subtitles.h>
21#include <aws/transcribe/model/Tag.h>
22#include <aws/transcribe/model/ToxicityDetectionSettings.h>
27namespace TranscribeService {
58 template <
typename TranscriptionJobNameT = Aws::String>
60 m_transcriptionJobNameHasBeenSet =
true;
61 m_transcriptionJobName = std::forward<TranscriptionJobNameT>(value);
63 template <
typename TranscriptionJobNameT = Aws::String>
91 m_languageCodeHasBeenSet =
true;
92 m_languageCode = value;
113 m_mediaSampleRateHertzHasBeenSet =
true;
114 m_mediaSampleRateHertz = value;
129 m_mediaFormatHasBeenSet =
true;
130 m_mediaFormat = value;
145 template <
typename MediaT = Media>
147 m_mediaHasBeenSet =
true;
148 m_media = std::forward<MediaT>(value);
150 template <
typename MediaT = Media>
152 SetMedia(std::forward<MediaT>(value));
181 template <
typename OutputBucketNameT = Aws::String>
183 m_outputBucketNameHasBeenSet =
true;
184 m_outputBucketName = std::forward<OutputBucketNameT>(value);
186 template <
typename OutputBucketNameT = Aws::String>
222 template <
typename OutputKeyT = Aws::String>
224 m_outputKeyHasBeenSet =
true;
225 m_outputKey = std::forward<OutputKeyT>(value);
227 template <
typename OutputKeyT = Aws::String>
250 template <
typename OutputEncryptionKMSKeyIdT = Aws::String>
252 m_outputEncryptionKMSKeyIdHasBeenSet =
true;
253 m_outputEncryptionKMSKeyId = std::forward<OutputEncryptionKMSKeyIdT>(value);
255 template <
typename OutputEncryptionKMSKeyIdT = Aws::String>
274 template <
typename KMSEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
276 m_kMSEncryptionContextHasBeenSet =
true;
277 m_kMSEncryptionContext = std::forward<KMSEncryptionContextT>(value);
279 template <
typename KMSEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
284 template <
typename KMSEncryptionContextKeyT = Aws::String,
typename KMSEncryptionContextValueT = Aws::String>
286 m_kMSEncryptionContextHasBeenSet =
true;
287 m_kMSEncryptionContext.emplace(std::forward<KMSEncryptionContextKeyT>(key), std::forward<KMSEncryptionContextValueT>(value));
309 template <
typename SettingsT = Settings>
311 m_settingsHasBeenSet =
true;
312 m_settings = std::forward<SettingsT>(value);
314 template <
typename SettingsT = Settings>
332 template <
typename ModelSettingsT = ModelSettings>
334 m_modelSettingsHasBeenSet =
true;
335 m_modelSettings = std::forward<ModelSettingsT>(value);
337 template <
typename ModelSettingsT = ModelSettings>
355 template <
typename JobExecutionSettingsT = JobExecutionSettings>
357 m_jobExecutionSettingsHasBeenSet =
true;
358 m_jobExecutionSettings = std::forward<JobExecutionSettingsT>(value);
360 template <
typename JobExecutionSettingsT = JobExecutionSettings>
379 template <
typename ContentRedactionT = ContentRedaction>
381 m_contentRedactionHasBeenSet =
true;
382 m_contentRedaction = std::forward<ContentRedactionT>(value);
384 template <
typename ContentRedactionT = ContentRedaction>
415 m_identifyLanguageHasBeenSet =
true;
416 m_identifyLanguage = value;
447 m_identifyMultipleLanguagesHasBeenSet =
true;
448 m_identifyMultipleLanguages = value;
472 template <
typename LanguageOptionsT = Aws::Vector<LanguageCode>>
474 m_languageOptionsHasBeenSet =
true;
475 m_languageOptions = std::forward<LanguageOptionsT>(value);
477 template <
typename LanguageOptionsT = Aws::Vector<LanguageCode>>
483 m_languageOptionsHasBeenSet =
true;
484 m_languageOptions.push_back(value);
496 template <
typename SubtitlesT = Subtitles>
498 m_subtitlesHasBeenSet =
true;
499 m_subtitles = std::forward<SubtitlesT>(value);
501 template <
typename SubtitlesT = Subtitles>
518 template <
typename TagsT = Aws::Vector<Tag>>
520 m_tagsHasBeenSet =
true;
521 m_tags = std::forward<TagsT>(value);
523 template <
typename TagsT = Aws::Vector<Tag>>
525 SetTags(std::forward<TagsT>(value));
528 template <
typename TagsT = Tag>
530 m_tagsHasBeenSet =
true;
531 m_tags.emplace_back(std::forward<TagsT>(value));
567 template <
typename LanguageIdSettingsT = Aws::Map<LanguageCode, LanguageIdSettings>>
569 m_languageIdSettingsHasBeenSet =
true;
570 m_languageIdSettings = std::forward<LanguageIdSettingsT>(value);
572 template <
typename LanguageIdSettingsT = Aws::Map<LanguageCode, LanguageIdSettings>>
578 m_languageIdSettingsHasBeenSet =
true;
579 m_languageIdSettings.emplace(key, value);
595 template <
typename ToxicityDetectionT = Aws::Vector<ToxicityDetectionSettings>>
597 m_toxicityDetectionHasBeenSet =
true;
598 m_toxicityDetection = std::forward<ToxicityDetectionT>(value);
600 template <
typename ToxicityDetectionT = Aws::Vector<ToxicityDetectionSettings>>
605 template <
typename ToxicityDetectionT = ToxicityDetectionSettings>
607 m_toxicityDetectionHasBeenSet =
true;
608 m_toxicityDetection.emplace_back(std::forward<ToxicityDetectionT>(value));
617 int m_mediaSampleRateHertz{0};
633 ModelSettings m_modelSettings;
635 JobExecutionSettings m_jobExecutionSettings;
637 ContentRedaction m_contentRedaction;
639 bool m_identifyLanguage{
false};
641 bool m_identifyMultipleLanguages{
false};
645 Subtitles m_subtitles;
652 bool m_transcriptionJobNameHasBeenSet =
false;
653 bool m_languageCodeHasBeenSet =
false;
654 bool m_mediaSampleRateHertzHasBeenSet =
false;
655 bool m_mediaFormatHasBeenSet =
false;
656 bool m_mediaHasBeenSet =
false;
657 bool m_outputBucketNameHasBeenSet =
false;
658 bool m_outputKeyHasBeenSet =
false;
659 bool m_outputEncryptionKMSKeyIdHasBeenSet =
false;
660 bool m_kMSEncryptionContextHasBeenSet =
false;
661 bool m_settingsHasBeenSet =
false;
662 bool m_modelSettingsHasBeenSet =
false;
663 bool m_jobExecutionSettingsHasBeenSet =
false;
664 bool m_contentRedactionHasBeenSet =
false;
665 bool m_identifyLanguageHasBeenSet =
false;
666 bool m_identifyMultipleLanguagesHasBeenSet =
false;
667 bool m_languageOptionsHasBeenSet =
false;
668 bool m_subtitlesHasBeenSet =
false;
669 bool m_tagsHasBeenSet =
false;
670 bool m_languageIdSettingsHasBeenSet =
false;
671 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