7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.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/LanguageCodeItem.h>
16#include <aws/transcribe/model/LanguageIdSettings.h>
17#include <aws/transcribe/model/Media.h>
18#include <aws/transcribe/model/MediaFormat.h>
19#include <aws/transcribe/model/ModelSettings.h>
20#include <aws/transcribe/model/Settings.h>
21#include <aws/transcribe/model/SubtitlesOutput.h>
22#include <aws/transcribe/model/Tag.h>
23#include <aws/transcribe/model/ToxicityDetectionSettings.h>
24#include <aws/transcribe/model/Transcript.h>
25#include <aws/transcribe/model/TranscriptionJobStatus.h>
36namespace TranscribeService {
66 template <
typename TranscriptionJobNameT = Aws::String>
68 m_transcriptionJobNameHasBeenSet =
true;
69 m_transcriptionJobName = std::forward<TranscriptionJobNameT>(value);
71 template <
typename TranscriptionJobNameT = Aws::String>
90 m_transcriptionJobStatusHasBeenSet =
true;
91 m_transcriptionJobStatus = value;
109 m_languageCodeHasBeenSet =
true;
110 m_languageCode = value;
125 m_mediaSampleRateHertzHasBeenSet =
true;
126 m_mediaSampleRateHertz = value;
141 m_mediaFormatHasBeenSet =
true;
142 m_mediaFormat = value;
157 template <
typename MediaT = Media>
159 m_mediaHasBeenSet =
true;
160 m_media = std::forward<MediaT>(value);
162 template <
typename MediaT = Media>
164 SetMedia(std::forward<MediaT>(value));
176 template <
typename TranscriptT = Transcript>
178 m_transcriptHasBeenSet =
true;
179 m_transcript = std::forward<TranscriptT>(value);
181 template <
typename TranscriptT = Transcript>
197 template <
typename StartTimeT = Aws::Utils::DateTime>
199 m_startTimeHasBeenSet =
true;
200 m_startTime = std::forward<StartTimeT>(value);
202 template <
typename StartTimeT = Aws::Utils::DateTime>
218 template <
typename CreationTimeT = Aws::Utils::DateTime>
220 m_creationTimeHasBeenSet =
true;
221 m_creationTime = std::forward<CreationTimeT>(value);
223 template <
typename CreationTimeT = Aws::Utils::DateTime>
239 template <
typename CompletionTimeT = Aws::Utils::DateTime>
241 m_completionTimeHasBeenSet =
true;
242 m_completionTime = std::forward<CompletionTimeT>(value);
244 template <
typename CompletionTimeT = Aws::Utils::DateTime>
281 template <
typename FailureReasonT = Aws::String>
283 m_failureReasonHasBeenSet =
true;
284 m_failureReason = std::forward<FailureReasonT>(value);
286 template <
typename FailureReasonT = Aws::String>
302 template <
typename SettingsT = Settings>
304 m_settingsHasBeenSet =
true;
305 m_settings = std::forward<SettingsT>(value);
307 template <
typename SettingsT = Settings>
321 template <
typename ModelSettingsT = ModelSettings>
323 m_modelSettingsHasBeenSet =
true;
324 m_modelSettings = std::forward<ModelSettingsT>(value);
326 template <
typename ModelSettingsT = ModelSettings>
341 template <
typename JobExecutionSettingsT = JobExecutionSettings>
343 m_jobExecutionSettingsHasBeenSet =
true;
344 m_jobExecutionSettings = std::forward<JobExecutionSettingsT>(value);
346 template <
typename JobExecutionSettingsT = JobExecutionSettings>
359 template <
typename ContentRedactionT = ContentRedaction>
361 m_contentRedactionHasBeenSet =
true;
362 m_contentRedaction = std::forward<ContentRedactionT>(value);
364 template <
typename ContentRedactionT = ContentRedaction>
379 m_identifyLanguageHasBeenSet =
true;
380 m_identifyLanguage = value;
396 m_identifyMultipleLanguagesHasBeenSet =
true;
397 m_identifyMultipleLanguages = value;
411 template <
typename LanguageOptionsT = Aws::Vector<LanguageCode>>
413 m_languageOptionsHasBeenSet =
true;
414 m_languageOptions = std::forward<LanguageOptionsT>(value);
416 template <
typename LanguageOptionsT = Aws::Vector<LanguageCode>>
422 m_languageOptionsHasBeenSet =
true;
423 m_languageOptions.push_back(value);
438 m_identifiedLanguageScoreHasBeenSet =
true;
439 m_identifiedLanguageScore = value;
456 template <
typename LanguageCodesT = Aws::Vector<LanguageCodeItem>>
458 m_languageCodesHasBeenSet =
true;
459 m_languageCodes = std::forward<LanguageCodesT>(value);
461 template <
typename LanguageCodesT = Aws::Vector<LanguageCodeItem>>
466 template <
typename LanguageCodesT = LanguageCodeItem>
468 m_languageCodesHasBeenSet =
true;
469 m_languageCodes.emplace_back(std::forward<LanguageCodesT>(value));
481 template <
typename TagsT = Aws::Vector<Tag>>
483 m_tagsHasBeenSet =
true;
484 m_tags = std::forward<TagsT>(value);
486 template <
typename TagsT = Aws::Vector<Tag>>
488 SetTags(std::forward<TagsT>(value));
491 template <
typename TagsT = Tag>
493 m_tagsHasBeenSet =
true;
494 m_tags.emplace_back(std::forward<TagsT>(value));
505 template <
typename SubtitlesT = SubtitlesOutput>
507 m_subtitlesHasBeenSet =
true;
508 m_subtitles = std::forward<SubtitlesT>(value);
510 template <
typename SubtitlesT = SubtitlesOutput>
525 template <
typename LanguageIdSettingsT = Aws::Map<LanguageCode, LanguageIdSettings>>
527 m_languageIdSettingsHasBeenSet =
true;
528 m_languageIdSettings = std::forward<LanguageIdSettingsT>(value);
530 template <
typename LanguageIdSettingsT = Aws::Map<LanguageCode, LanguageIdSettings>>
536 m_languageIdSettingsHasBeenSet =
true;
537 m_languageIdSettings.emplace(key, value);
549 template <
typename ToxicityDetectionT = Aws::Vector<ToxicityDetectionSettings>>
551 m_toxicityDetectionHasBeenSet =
true;
552 m_toxicityDetection = std::forward<ToxicityDetectionT>(value);
554 template <
typename ToxicityDetectionT = Aws::Vector<ToxicityDetectionSettings>>
559 template <
typename ToxicityDetectionT = ToxicityDetectionSettings>
561 m_toxicityDetectionHasBeenSet =
true;
562 m_toxicityDetection.emplace_back(std::forward<ToxicityDetectionT>(value));
573 int m_mediaSampleRateHertz{0};
579 Transcript m_transcript;
591 ModelSettings m_modelSettings;
593 JobExecutionSettings m_jobExecutionSettings;
595 ContentRedaction m_contentRedaction;
597 bool m_identifyLanguage{
false};
599 bool m_identifyMultipleLanguages{
false};
603 double m_identifiedLanguageScore{0.0};
609 SubtitlesOutput m_subtitles;
614 bool m_transcriptionJobNameHasBeenSet =
false;
615 bool m_transcriptionJobStatusHasBeenSet =
false;
616 bool m_languageCodeHasBeenSet =
false;
617 bool m_mediaSampleRateHertzHasBeenSet =
false;
618 bool m_mediaFormatHasBeenSet =
false;
619 bool m_mediaHasBeenSet =
false;
620 bool m_transcriptHasBeenSet =
false;
621 bool m_startTimeHasBeenSet =
false;
622 bool m_creationTimeHasBeenSet =
false;
623 bool m_completionTimeHasBeenSet =
false;
624 bool m_failureReasonHasBeenSet =
false;
625 bool m_settingsHasBeenSet =
false;
626 bool m_modelSettingsHasBeenSet =
false;
627 bool m_jobExecutionSettingsHasBeenSet =
false;
628 bool m_contentRedactionHasBeenSet =
false;
629 bool m_identifyLanguageHasBeenSet =
false;
630 bool m_identifyMultipleLanguagesHasBeenSet =
false;
631 bool m_languageOptionsHasBeenSet =
false;
632 bool m_identifiedLanguageScoreHasBeenSet =
false;
633 bool m_languageCodesHasBeenSet =
false;
634 bool m_tagsHasBeenSet =
false;
635 bool m_subtitlesHasBeenSet =
false;
636 bool m_languageIdSettingsHasBeenSet =
false;
637 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