7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/transcribe/TranscribeService_EXPORTS.h>
11#include <aws/transcribe/model/ContentRedaction.h>
12#include <aws/transcribe/model/LanguageCode.h>
13#include <aws/transcribe/model/LanguageCodeItem.h>
14#include <aws/transcribe/model/ModelSettings.h>
15#include <aws/transcribe/model/OutputLocationType.h>
16#include <aws/transcribe/model/ToxicityDetectionSettings.h>
17#include <aws/transcribe/model/TranscriptionJobStatus.h>
28namespace TranscribeService {
51 template <
typename TranscriptionJobNameT = Aws::String>
53 m_transcriptionJobNameHasBeenSet =
true;
54 m_transcriptionJobName = std::forward<TranscriptionJobNameT>(value);
56 template <
typename TranscriptionJobNameT = Aws::String>
72 template <
typename CreationTimeT = Aws::Utils::DateTime>
74 m_creationTimeHasBeenSet =
true;
75 m_creationTime = std::forward<CreationTimeT>(value);
77 template <
typename CreationTimeT = Aws::Utils::DateTime>
93 template <
typename StartTimeT = Aws::Utils::DateTime>
95 m_startTimeHasBeenSet =
true;
96 m_startTime = std::forward<StartTimeT>(value);
98 template <
typename StartTimeT = Aws::Utils::DateTime>
114 template <
typename CompletionTimeT = Aws::Utils::DateTime>
116 m_completionTimeHasBeenSet =
true;
117 m_completionTime = std::forward<CompletionTimeT>(value);
119 template <
typename CompletionTimeT = Aws::Utils::DateTime>
133 m_languageCodeHasBeenSet =
true;
134 m_languageCode = value;
154 m_transcriptionJobStatusHasBeenSet =
true;
155 m_transcriptionJobStatus = value;
173 template <
typename FailureReasonT = Aws::String>
175 m_failureReasonHasBeenSet =
true;
176 m_failureReason = std::forward<FailureReasonT>(value);
178 template <
typename FailureReasonT = Aws::String>
200 m_outputLocationTypeHasBeenSet =
true;
201 m_outputLocationType = value;
215 template <
typename ContentRedactionT = ContentRedaction>
217 m_contentRedactionHasBeenSet =
true;
218 m_contentRedaction = std::forward<ContentRedactionT>(value);
220 template <
typename ContentRedactionT = ContentRedaction>
231 template <
typename ModelSettingsT = ModelSettings>
233 m_modelSettingsHasBeenSet =
true;
234 m_modelSettings = std::forward<ModelSettingsT>(value);
236 template <
typename ModelSettingsT = ModelSettings>
251 m_identifyLanguageHasBeenSet =
true;
252 m_identifyLanguage = value;
268 m_identifyMultipleLanguagesHasBeenSet =
true;
269 m_identifyMultipleLanguages = value;
287 m_identifiedLanguageScoreHasBeenSet =
true;
288 m_identifiedLanguageScore = value;
304 template <
typename LanguageCodesT = Aws::Vector<LanguageCodeItem>>
306 m_languageCodesHasBeenSet =
true;
307 m_languageCodes = std::forward<LanguageCodesT>(value);
309 template <
typename LanguageCodesT = Aws::Vector<LanguageCodeItem>>
314 template <
typename LanguageCodesT = LanguageCodeItem>
316 m_languageCodesHasBeenSet =
true;
317 m_languageCodes.emplace_back(std::forward<LanguageCodesT>(value));
329 template <
typename ToxicityDetectionT = Aws::Vector<ToxicityDetectionSettings>>
331 m_toxicityDetectionHasBeenSet =
true;
332 m_toxicityDetection = std::forward<ToxicityDetectionT>(value);
334 template <
typename ToxicityDetectionT = Aws::Vector<ToxicityDetectionSettings>>
339 template <
typename ToxicityDetectionT = ToxicityDetectionSettings>
341 m_toxicityDetectionHasBeenSet =
true;
342 m_toxicityDetection.emplace_back(std::forward<ToxicityDetectionT>(value));
363 ContentRedaction m_contentRedaction;
365 ModelSettings m_modelSettings;
367 bool m_identifyLanguage{
false};
369 bool m_identifyMultipleLanguages{
false};
371 double m_identifiedLanguageScore{0.0};
376 bool m_transcriptionJobNameHasBeenSet =
false;
377 bool m_creationTimeHasBeenSet =
false;
378 bool m_startTimeHasBeenSet =
false;
379 bool m_completionTimeHasBeenSet =
false;
380 bool m_languageCodeHasBeenSet =
false;
381 bool m_transcriptionJobStatusHasBeenSet =
false;
382 bool m_failureReasonHasBeenSet =
false;
383 bool m_outputLocationTypeHasBeenSet =
false;
384 bool m_contentRedactionHasBeenSet =
false;
385 bool m_modelSettingsHasBeenSet =
false;
386 bool m_identifyLanguageHasBeenSet =
false;
387 bool m_identifyMultipleLanguagesHasBeenSet =
false;
388 bool m_identifiedLanguageScoreHasBeenSet =
false;
389 bool m_languageCodesHasBeenSet =
false;
390 bool m_toxicityDetectionHasBeenSet =
false;
TranscriptionJobStatus GetTranscriptionJobStatus() const
const Aws::Vector< ToxicityDetectionSettings > & GetToxicityDetection() const
const ModelSettings & GetModelSettings() const
AWS_TRANSCRIBESERVICE_API TranscriptionJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIdentifyLanguage(bool value)
bool LanguageCodesHasBeenSet() const
const Aws::String & GetFailureReason() const
const ContentRedaction & GetContentRedaction() const
TranscriptionJobSummary & AddToxicityDetection(ToxicityDetectionT &&value)
void SetFailureReason(FailureReasonT &&value)
TranscriptionJobSummary & WithCompletionTime(CompletionTimeT &&value)
void SetStartTime(StartTimeT &&value)
bool StartTimeHasBeenSet() const
bool CreationTimeHasBeenSet() const
TranscriptionJobSummary & WithModelSettings(ModelSettingsT &&value)
bool IdentifiedLanguageScoreHasBeenSet() const
TranscriptionJobSummary & WithTranscriptionJobName(TranscriptionJobNameT &&value)
bool GetIdentifyMultipleLanguages() const
TranscriptionJobSummary & AddLanguageCodes(LanguageCodesT &&value)
TranscriptionJobSummary & WithIdentifyLanguage(bool value)
void SetCreationTime(CreationTimeT &&value)
bool LanguageCodeHasBeenSet() const
const Aws::Vector< LanguageCodeItem > & GetLanguageCodes() const
TranscriptionJobSummary & WithStartTime(StartTimeT &&value)
TranscriptionJobSummary & WithToxicityDetection(ToxicityDetectionT &&value)
bool TranscriptionJobStatusHasBeenSet() const
bool TranscriptionJobNameHasBeenSet() const
bool FailureReasonHasBeenSet() const
void SetLanguageCode(LanguageCode value)
OutputLocationType GetOutputLocationType() const
TranscriptionJobSummary & WithIdentifyMultipleLanguages(bool value)
bool OutputLocationTypeHasBeenSet() const
void SetTranscriptionJobStatus(TranscriptionJobStatus value)
TranscriptionJobSummary & WithContentRedaction(ContentRedactionT &&value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTranscriptionJobName() const
TranscriptionJobSummary & WithLanguageCodes(LanguageCodesT &&value)
void SetOutputLocationType(OutputLocationType value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetIdentifiedLanguageScore(double value)
void SetCompletionTime(CompletionTimeT &&value)
void SetIdentifyMultipleLanguages(bool value)
double GetIdentifiedLanguageScore() const
bool IdentifyMultipleLanguagesHasBeenSet() const
bool ToxicityDetectionHasBeenSet() const
bool ContentRedactionHasBeenSet() const
void SetModelSettings(ModelSettingsT &&value)
bool IdentifyLanguageHasBeenSet() const
AWS_TRANSCRIBESERVICE_API TranscriptionJobSummary(Aws::Utils::Json::JsonView jsonValue)
TranscriptionJobSummary & WithLanguageCode(LanguageCode value)
TranscriptionJobSummary & WithTranscriptionJobStatus(TranscriptionJobStatus value)
void SetLanguageCodes(LanguageCodesT &&value)
bool GetIdentifyLanguage() const
AWS_TRANSCRIBESERVICE_API TranscriptionJobSummary()=default
const Aws::Utils::DateTime & GetCompletionTime() const
TranscriptionJobSummary & WithOutputLocationType(OutputLocationType value)
bool ModelSettingsHasBeenSet() const
bool CompletionTimeHasBeenSet() const
LanguageCode GetLanguageCode() const
const Aws::Utils::DateTime & GetStartTime() const
TranscriptionJobSummary & WithIdentifiedLanguageScore(double value)
TranscriptionJobSummary & WithFailureReason(FailureReasonT &&value)
void SetContentRedaction(ContentRedactionT &&value)
void SetTranscriptionJobName(TranscriptionJobNameT &&value)
void SetToxicityDetection(ToxicityDetectionT &&value)
TranscriptionJobSummary & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue