7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/transcribe/model/TranscriptionJobStatus.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/transcribe/model/Transcript.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/transcribe/model/Settings.h>
16#include <aws/transcribe/model/ModelSettings.h>
17#include <aws/transcribe/model/JobExecutionSettings.h>
18#include <aws/transcribe/model/ContentRedaction.h>
19#include <aws/core/utils/memory/stl/AWSVector.h>
20#include <aws/transcribe/model/SubtitlesOutput.h>
21#include <aws/core/utils/memory/stl/AWSMap.h>
22#include <aws/transcribe/model/LanguageCodeItem.h>
23#include <aws/transcribe/model/Tag.h>
24#include <aws/transcribe/model/LanguageIdSettings.h>
25#include <aws/transcribe/model/ToxicityDetectionSettings.h>
38namespace TranscribeService
72 template<
typename TranscriptionJobNameT = Aws::String>
73 void SetTranscriptionJobName(TranscriptionJobNameT&& value) { m_transcriptionJobNameHasBeenSet =
true; m_transcriptionJobName = std::forward<TranscriptionJobNameT>(value); }
74 template<
typename TranscriptionJobNameT = Aws::String>
133 template<
typename MediaT = Media>
134 void SetMedia(MediaT&& value) { m_mediaHasBeenSet =
true; m_media = std::forward<MediaT>(value); }
135 template<
typename MediaT = Media>
146 template<
typename TranscriptT = Transcript>
147 void SetTranscript(TranscriptT&& value) { m_transcriptHasBeenSet =
true; m_transcript = std::forward<TranscriptT>(value); }
148 template<
typename TranscriptT = Transcript>
161 template<
typename StartTimeT = Aws::Utils::DateTime>
162 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
163 template<
typename StartTimeT = Aws::Utils::DateTime>
176 template<
typename CreationTimeT = Aws::Utils::DateTime>
177 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
178 template<
typename CreationTimeT = Aws::Utils::DateTime>
191 template<
typename CompletionTimeT = Aws::Utils::DateTime>
192 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet =
true; m_completionTime = std::forward<CompletionTimeT>(value); }
193 template<
typename CompletionTimeT = Aws::Utils::DateTime>
227 template<
typename FailureReasonT = Aws::String>
228 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
229 template<
typename FailureReasonT = Aws::String>
242 template<
typename SettingsT = Settings>
243 void SetSettings(SettingsT&& value) { m_settingsHasBeenSet =
true; m_settings = std::forward<SettingsT>(value); }
244 template<
typename SettingsT = Settings>
255 template<
typename ModelSettingsT = ModelSettings>
256 void SetModelSettings(ModelSettingsT&& value) { m_modelSettingsHasBeenSet =
true; m_modelSettings = std::forward<ModelSettingsT>(value); }
257 template<
typename ModelSettingsT = ModelSettings>
269 template<
typename JobExecutionSettingsT = JobExecutionSettings>
270 void SetJobExecutionSettings(JobExecutionSettingsT&& value) { m_jobExecutionSettingsHasBeenSet =
true; m_jobExecutionSettings = std::forward<JobExecutionSettingsT>(value); }
271 template<
typename JobExecutionSettingsT = JobExecutionSettings>
281 template<
typename ContentRedactionT = ContentRedaction>
282 void SetContentRedaction(ContentRedactionT&& value) { m_contentRedactionHasBeenSet =
true; m_contentRedaction = std::forward<ContentRedactionT>(value); }
283 template<
typename ContentRedactionT = ContentRedaction>
294 inline void SetIdentifyLanguage(
bool value) { m_identifyLanguageHasBeenSet =
true; m_identifyLanguage = value; }
315 template<
typename LanguageOptionsT = Aws::Vector<LanguageCode>>
316 void SetLanguageOptions(LanguageOptionsT&& value) { m_languageOptionsHasBeenSet =
true; m_languageOptions = std::forward<LanguageOptionsT>(value); }
317 template<
typename LanguageOptionsT = Aws::Vector<LanguageCode>>
344 template<
typename LanguageCodesT = Aws::Vector<LanguageCodeItem>>
345 void SetLanguageCodes(LanguageCodesT&& value) { m_languageCodesHasBeenSet =
true; m_languageCodes = std::forward<LanguageCodesT>(value); }
346 template<
typename LanguageCodesT = Aws::Vector<LanguageCodeItem>>
348 template<
typename LanguageCodesT = LanguageCodeItem>
349 TranscriptionJob&
AddLanguageCodes(LanguageCodesT&& value) { m_languageCodesHasBeenSet =
true; m_languageCodes.emplace_back(std::forward<LanguageCodesT>(value));
return *
this; }
359 template<
typename TagsT = Aws::Vector<Tag>>
360 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
361 template<
typename TagsT = Aws::Vector<Tag>>
363 template<
typename TagsT = Tag>
364 TranscriptionJob&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
373 template<
typename SubtitlesT = SubtitlesOutput>
374 void SetSubtitles(SubtitlesT&& value) { m_subtitlesHasBeenSet =
true; m_subtitles = std::forward<SubtitlesT>(value); }
375 template<
typename SubtitlesT = SubtitlesOutput>
387 template<
typename LanguageIdSettingsT = Aws::Map<LanguageCode, LanguageIdSettings>>
388 void SetLanguageIdSettings(LanguageIdSettingsT&& value) { m_languageIdSettingsHasBeenSet =
true; m_languageIdSettings = std::forward<LanguageIdSettingsT>(value); }
389 template<
typename LanguageIdSettingsT = Aws::Map<LanguageCode, LanguageIdSettings>>
392 m_languageIdSettingsHasBeenSet =
true; m_languageIdSettings.emplace(key, value);
return *
this;
403 template<
typename ToxicityDetectionT = Aws::Vector<ToxicityDetectionSettings>>
404 void SetToxicityDetection(ToxicityDetectionT&& value) { m_toxicityDetectionHasBeenSet =
true; m_toxicityDetection = std::forward<ToxicityDetectionT>(value); }
405 template<
typename ToxicityDetectionT = Aws::Vector<ToxicityDetectionSettings>>
407 template<
typename ToxicityDetectionT = ToxicityDetectionSettings>
408 TranscriptionJob&
AddToxicityDetection(ToxicityDetectionT&& value) { m_toxicityDetectionHasBeenSet =
true; m_toxicityDetection.emplace_back(std::forward<ToxicityDetectionT>(value));
return *
this; }
413 bool m_transcriptionJobNameHasBeenSet =
false;
416 bool m_transcriptionJobStatusHasBeenSet =
false;
419 bool m_languageCodeHasBeenSet =
false;
421 int m_mediaSampleRateHertz{0};
422 bool m_mediaSampleRateHertzHasBeenSet =
false;
425 bool m_mediaFormatHasBeenSet =
false;
428 bool m_mediaHasBeenSet =
false;
430 Transcript m_transcript;
431 bool m_transcriptHasBeenSet =
false;
434 bool m_startTimeHasBeenSet =
false;
437 bool m_creationTimeHasBeenSet =
false;
440 bool m_completionTimeHasBeenSet =
false;
443 bool m_failureReasonHasBeenSet =
false;
446 bool m_settingsHasBeenSet =
false;
448 ModelSettings m_modelSettings;
449 bool m_modelSettingsHasBeenSet =
false;
451 JobExecutionSettings m_jobExecutionSettings;
452 bool m_jobExecutionSettingsHasBeenSet =
false;
454 ContentRedaction m_contentRedaction;
455 bool m_contentRedactionHasBeenSet =
false;
457 bool m_identifyLanguage{
false};
458 bool m_identifyLanguageHasBeenSet =
false;
460 bool m_identifyMultipleLanguages{
false};
461 bool m_identifyMultipleLanguagesHasBeenSet =
false;
464 bool m_languageOptionsHasBeenSet =
false;
466 double m_identifiedLanguageScore{0.0};
467 bool m_identifiedLanguageScoreHasBeenSet =
false;
470 bool m_languageCodesHasBeenSet =
false;
473 bool m_tagsHasBeenSet =
false;
475 SubtitlesOutput m_subtitles;
476 bool m_subtitlesHasBeenSet =
false;
479 bool m_languageIdSettingsHasBeenSet =
false;
482 bool m_toxicityDetectionHasBeenSet =
false;
LanguageCode GetLanguageCode() const
TranscriptionJob & AddLanguageOptions(LanguageCode value)
bool StartTimeHasBeenSet() const
void SetLanguageOptions(LanguageOptionsT &&value)
bool LanguageCodesHasBeenSet() const
bool ToxicityDetectionHasBeenSet() const
TranscriptionJob & WithJobExecutionSettings(JobExecutionSettingsT &&value)
bool MediaSampleRateHertzHasBeenSet() const
TranscriptionJob & WithIdentifyLanguage(bool value)
TranscriptionJob & WithTranscriptionJobStatus(TranscriptionJobStatus value)
bool ModelSettingsHasBeenSet() const
bool LanguageCodeHasBeenSet() const
int GetMediaSampleRateHertz() const
const ContentRedaction & GetContentRedaction() const
const SubtitlesOutput & GetSubtitles() const
TranscriptionJob & WithMediaFormat(MediaFormat value)
bool IdentifiedLanguageScoreHasBeenSet() const
bool TagsHasBeenSet() const
void SetTranscriptionJobStatus(TranscriptionJobStatus value)
TranscriptionJob & AddTags(TagsT &&value)
TranscriptionJob & WithMedia(MediaT &&value)
TranscriptionJob & WithMediaSampleRateHertz(int value)
bool CreationTimeHasBeenSet() const
const JobExecutionSettings & GetJobExecutionSettings() const
TranscriptionJob & WithLanguageOptions(LanguageOptionsT &&value)
bool IdentifyLanguageHasBeenSet() const
bool SettingsHasBeenSet() const
void SetSubtitles(SubtitlesT &&value)
const Settings & GetSettings() const
TranscriptionJob & WithStartTime(StartTimeT &&value)
bool TranscriptionJobNameHasBeenSet() const
TranscriptionJob & WithToxicityDetection(ToxicityDetectionT &&value)
void SetJobExecutionSettings(JobExecutionSettingsT &&value)
void SetMediaFormat(MediaFormat value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Utils::DateTime & GetCompletionTime() const
TranscriptionJob & WithSubtitles(SubtitlesT &&value)
void SetIdentifyLanguage(bool value)
TranscriptionJob & WithIdentifyMultipleLanguages(bool value)
bool JobExecutionSettingsHasBeenSet() const
TranscriptionJob & WithCreationTime(CreationTimeT &&value)
TranscriptionJob & WithLanguageIdSettings(LanguageIdSettingsT &&value)
void SetLanguageIdSettings(LanguageIdSettingsT &&value)
void SetTranscriptionJobName(TranscriptionJobNameT &&value)
bool SubtitlesHasBeenSet() const
const Aws::Vector< ToxicityDetectionSettings > & GetToxicityDetection() const
const Aws::Map< LanguageCode, LanguageIdSettings > & GetLanguageIdSettings() const
void SetFailureReason(FailureReasonT &&value)
TranscriptionJob & WithTranscriptionJobName(TranscriptionJobNameT &&value)
TranscriptionJob & WithIdentifiedLanguageScore(double value)
void SetCompletionTime(CompletionTimeT &&value)
bool MediaHasBeenSet() const
void SetSettings(SettingsT &&value)
const Aws::Vector< LanguageCodeItem > & GetLanguageCodes() const
bool ContentRedactionHasBeenSet() const
TranscriptionJobStatus GetTranscriptionJobStatus() const
TranscriptionJob & WithLanguageCode(LanguageCode value)
bool MediaFormatHasBeenSet() const
void SetIdentifiedLanguageScore(double value)
TranscriptionJob & AddLanguageIdSettings(LanguageCode key, LanguageIdSettings value)
bool TranscriptionJobStatusHasBeenSet() const
const ModelSettings & GetModelSettings() const
bool TranscriptHasBeenSet() const
bool GetIdentifyMultipleLanguages() const
AWS_TRANSCRIBESERVICE_API TranscriptionJob()=default
const Media & GetMedia() const
const Transcript & GetTranscript() const
bool LanguageOptionsHasBeenSet() const
bool IdentifyMultipleLanguagesHasBeenSet() const
MediaFormat GetMediaFormat() const
TranscriptionJob & WithSettings(SettingsT &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetMedia(MediaT &&value)
const Aws::Vector< LanguageCode > & GetLanguageOptions() const
TranscriptionJob & WithLanguageCodes(LanguageCodesT &&value)
double GetIdentifiedLanguageScore() const
bool GetIdentifyLanguage() const
bool FailureReasonHasBeenSet() const
void SetLanguageCodes(LanguageCodesT &&value)
void SetToxicityDetection(ToxicityDetectionT &&value)
bool CompletionTimeHasBeenSet() const
const Aws::String & GetFailureReason() const
void SetStartTime(StartTimeT &&value)
TranscriptionJob & AddLanguageCodes(LanguageCodesT &&value)
TranscriptionJob & WithFailureReason(FailureReasonT &&value)
TranscriptionJob & WithCompletionTime(CompletionTimeT &&value)
TranscriptionJob & WithTranscript(TranscriptT &&value)
void SetTags(TagsT &&value)
AWS_TRANSCRIBESERVICE_API TranscriptionJob & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LanguageIdSettingsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetLanguageCode(LanguageCode value)
AWS_TRANSCRIBESERVICE_API TranscriptionJob(Aws::Utils::Json::JsonView jsonValue)
void SetMediaSampleRateHertz(int value)
TranscriptionJob & WithModelSettings(ModelSettingsT &&value)
void SetTranscript(TranscriptT &&value)
TranscriptionJob & AddToxicityDetection(ToxicityDetectionT &&value)
const Aws::String & GetTranscriptionJobName() const
void SetModelSettings(ModelSettingsT &&value)
void SetIdentifyMultipleLanguages(bool value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
TranscriptionJob & WithContentRedaction(ContentRedactionT &&value)
void SetContentRedaction(ContentRedactionT &&value)
void SetCreationTime(CreationTimeT &&value)
TranscriptionJob & WithTags(TagsT &&value)
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
Aws::Utils::Json::JsonValue JsonValue