7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/transcribe/model/LanguageCode.h>
11#include <aws/transcribe/model/TranscriptionJobStatus.h>
12#include <aws/transcribe/model/OutputLocationType.h>
13#include <aws/transcribe/model/ContentRedaction.h>
14#include <aws/transcribe/model/ModelSettings.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/transcribe/model/LanguageCodeItem.h>
17#include <aws/transcribe/model/ToxicityDetectionSettings.h>
30namespace TranscribeService
57 template<
typename TranscriptionJobNameT = Aws::String>
58 void SetTranscriptionJobName(TranscriptionJobNameT&& value) { m_transcriptionJobNameHasBeenSet =
true; m_transcriptionJobName = std::forward<TranscriptionJobNameT>(value); }
59 template<
typename TranscriptionJobNameT = Aws::String>
72 template<
typename CreationTimeT = Aws::Utils::DateTime>
73 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
74 template<
typename CreationTimeT = Aws::Utils::DateTime>
87 template<
typename StartTimeT = Aws::Utils::DateTime>
88 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
89 template<
typename StartTimeT = Aws::Utils::DateTime>
102 template<
typename CompletionTimeT = Aws::Utils::DateTime>
103 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet =
true; m_completionTime = std::forward<CompletionTimeT>(value); }
104 template<
typename CompletionTimeT = Aws::Utils::DateTime>
143 template<
typename FailureReasonT = Aws::String>
144 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
145 template<
typename FailureReasonT = Aws::String>
173 template<
typename ContentRedactionT = ContentRedaction>
174 void SetContentRedaction(ContentRedactionT&& value) { m_contentRedactionHasBeenSet =
true; m_contentRedaction = std::forward<ContentRedactionT>(value); }
175 template<
typename ContentRedactionT = ContentRedaction>
183 template<
typename ModelSettingsT = ModelSettings>
184 void SetModelSettings(ModelSettingsT&& value) { m_modelSettingsHasBeenSet =
true; m_modelSettings = std::forward<ModelSettingsT>(value); }
185 template<
typename ModelSettingsT = ModelSettings>
196 inline void SetIdentifyLanguage(
bool value) { m_identifyLanguageHasBeenSet =
true; m_identifyLanguage = value; }
232 template<
typename LanguageCodesT = Aws::Vector<LanguageCodeItem>>
233 void SetLanguageCodes(LanguageCodesT&& value) { m_languageCodesHasBeenSet =
true; m_languageCodes = std::forward<LanguageCodesT>(value); }
234 template<
typename LanguageCodesT = Aws::Vector<LanguageCodeItem>>
236 template<
typename LanguageCodesT = LanguageCodeItem>
247 template<
typename ToxicityDetectionT = Aws::Vector<ToxicityDetectionSettings>>
248 void SetToxicityDetection(ToxicityDetectionT&& value) { m_toxicityDetectionHasBeenSet =
true; m_toxicityDetection = std::forward<ToxicityDetectionT>(value); }
249 template<
typename ToxicityDetectionT = Aws::Vector<ToxicityDetectionSettings>>
251 template<
typename ToxicityDetectionT = ToxicityDetectionSettings>
257 bool m_transcriptionJobNameHasBeenSet =
false;
260 bool m_creationTimeHasBeenSet =
false;
263 bool m_startTimeHasBeenSet =
false;
266 bool m_completionTimeHasBeenSet =
false;
269 bool m_languageCodeHasBeenSet =
false;
272 bool m_transcriptionJobStatusHasBeenSet =
false;
275 bool m_failureReasonHasBeenSet =
false;
278 bool m_outputLocationTypeHasBeenSet =
false;
280 ContentRedaction m_contentRedaction;
281 bool m_contentRedactionHasBeenSet =
false;
283 ModelSettings m_modelSettings;
284 bool m_modelSettingsHasBeenSet =
false;
286 bool m_identifyLanguage{
false};
287 bool m_identifyLanguageHasBeenSet =
false;
289 bool m_identifyMultipleLanguages{
false};
290 bool m_identifyMultipleLanguagesHasBeenSet =
false;
292 double m_identifiedLanguageScore{0.0};
293 bool m_identifiedLanguageScoreHasBeenSet =
false;
296 bool m_languageCodesHasBeenSet =
false;
299 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