AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TranscriptionJobSummary.h
1
6#pragma once
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>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace TranscribeService
31{
32namespace Model
33{
34
42 {
43 public:
44 AWS_TRANSCRIBESERVICE_API TranscriptionJobSummary();
45 AWS_TRANSCRIBESERVICE_API TranscriptionJobSummary(Aws::Utils::Json::JsonView jsonValue);
46 AWS_TRANSCRIBESERVICE_API TranscriptionJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
55 inline const Aws::String& GetTranscriptionJobName() const{ return m_transcriptionJobName; }
56 inline bool TranscriptionJobNameHasBeenSet() const { return m_transcriptionJobNameHasBeenSet; }
57 inline void SetTranscriptionJobName(const Aws::String& value) { m_transcriptionJobNameHasBeenSet = true; m_transcriptionJobName = value; }
58 inline void SetTranscriptionJobName(Aws::String&& value) { m_transcriptionJobNameHasBeenSet = true; m_transcriptionJobName = std::move(value); }
59 inline void SetTranscriptionJobName(const char* value) { m_transcriptionJobNameHasBeenSet = true; m_transcriptionJobName.assign(value); }
61 inline TranscriptionJobSummary& WithTranscriptionJobName(Aws::String&& value) { SetTranscriptionJobName(std::move(value)); return *this;}
62 inline TranscriptionJobSummary& WithTranscriptionJobName(const char* value) { SetTranscriptionJobName(value); return *this;}
64
66
72 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
73 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
74 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
75 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
77 inline TranscriptionJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
79
81
87 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
88 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
89 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
90 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
91 inline TranscriptionJobSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
92 inline TranscriptionJobSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
94
96
102 inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
103 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
104 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
105 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
107 inline TranscriptionJobSummary& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;}
109
111
114 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
115 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
116 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
117 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
118 inline TranscriptionJobSummary& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
119 inline TranscriptionJobSummary& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
121
123
131 inline const TranscriptionJobStatus& GetTranscriptionJobStatus() const{ return m_transcriptionJobStatus; }
132 inline bool TranscriptionJobStatusHasBeenSet() const { return m_transcriptionJobStatusHasBeenSet; }
133 inline void SetTranscriptionJobStatus(const TranscriptionJobStatus& value) { m_transcriptionJobStatusHasBeenSet = true; m_transcriptionJobStatus = value; }
134 inline void SetTranscriptionJobStatus(TranscriptionJobStatus&& value) { m_transcriptionJobStatusHasBeenSet = true; m_transcriptionJobStatus = std::move(value); }
138
140
147 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
148 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
149 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
150 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
151 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
152 inline TranscriptionJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
153 inline TranscriptionJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
154 inline TranscriptionJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
156
158
169 inline const OutputLocationType& GetOutputLocationType() const{ return m_outputLocationType; }
170 inline bool OutputLocationTypeHasBeenSet() const { return m_outputLocationTypeHasBeenSet; }
171 inline void SetOutputLocationType(const OutputLocationType& value) { m_outputLocationTypeHasBeenSet = true; m_outputLocationType = value; }
172 inline void SetOutputLocationType(OutputLocationType&& value) { m_outputLocationTypeHasBeenSet = true; m_outputLocationType = std::move(value); }
176
178
181 inline const ContentRedaction& GetContentRedaction() const{ return m_contentRedaction; }
182 inline bool ContentRedactionHasBeenSet() const { return m_contentRedactionHasBeenSet; }
183 inline void SetContentRedaction(const ContentRedaction& value) { m_contentRedactionHasBeenSet = true; m_contentRedaction = value; }
184 inline void SetContentRedaction(ContentRedaction&& value) { m_contentRedactionHasBeenSet = true; m_contentRedaction = std::move(value); }
186 inline TranscriptionJobSummary& WithContentRedaction(ContentRedaction&& value) { SetContentRedaction(std::move(value)); return *this;}
188
190
191 inline const ModelSettings& GetModelSettings() const{ return m_modelSettings; }
192 inline bool ModelSettingsHasBeenSet() const { return m_modelSettingsHasBeenSet; }
193 inline void SetModelSettings(const ModelSettings& value) { m_modelSettingsHasBeenSet = true; m_modelSettings = value; }
194 inline void SetModelSettings(ModelSettings&& value) { m_modelSettingsHasBeenSet = true; m_modelSettings = std::move(value); }
195 inline TranscriptionJobSummary& WithModelSettings(const ModelSettings& value) { SetModelSettings(value); return *this;}
196 inline TranscriptionJobSummary& WithModelSettings(ModelSettings&& value) { SetModelSettings(std::move(value)); return *this;}
198
200
204 inline bool GetIdentifyLanguage() const{ return m_identifyLanguage; }
205 inline bool IdentifyLanguageHasBeenSet() const { return m_identifyLanguageHasBeenSet; }
206 inline void SetIdentifyLanguage(bool value) { m_identifyLanguageHasBeenSet = true; m_identifyLanguage = value; }
207 inline TranscriptionJobSummary& WithIdentifyLanguage(bool value) { SetIdentifyLanguage(value); return *this;}
209
211
215 inline bool GetIdentifyMultipleLanguages() const{ return m_identifyMultipleLanguages; }
216 inline bool IdentifyMultipleLanguagesHasBeenSet() const { return m_identifyMultipleLanguagesHasBeenSet; }
217 inline void SetIdentifyMultipleLanguages(bool value) { m_identifyMultipleLanguagesHasBeenSet = true; m_identifyMultipleLanguages = value; }
220
222
228 inline double GetIdentifiedLanguageScore() const{ return m_identifiedLanguageScore; }
229 inline bool IdentifiedLanguageScoreHasBeenSet() const { return m_identifiedLanguageScoreHasBeenSet; }
230 inline void SetIdentifiedLanguageScore(double value) { m_identifiedLanguageScoreHasBeenSet = true; m_identifiedLanguageScore = value; }
233
235
240 inline const Aws::Vector<LanguageCodeItem>& GetLanguageCodes() const{ return m_languageCodes; }
241 inline bool LanguageCodesHasBeenSet() const { return m_languageCodesHasBeenSet; }
242 inline void SetLanguageCodes(const Aws::Vector<LanguageCodeItem>& value) { m_languageCodesHasBeenSet = true; m_languageCodes = value; }
243 inline void SetLanguageCodes(Aws::Vector<LanguageCodeItem>&& value) { m_languageCodesHasBeenSet = true; m_languageCodes = std::move(value); }
246 inline TranscriptionJobSummary& AddLanguageCodes(const LanguageCodeItem& value) { m_languageCodesHasBeenSet = true; m_languageCodes.push_back(value); return *this; }
247 inline TranscriptionJobSummary& AddLanguageCodes(LanguageCodeItem&& value) { m_languageCodesHasBeenSet = true; m_languageCodes.push_back(std::move(value)); return *this; }
249
251
255 inline const Aws::Vector<ToxicityDetectionSettings>& GetToxicityDetection() const{ return m_toxicityDetection; }
256 inline bool ToxicityDetectionHasBeenSet() const { return m_toxicityDetectionHasBeenSet; }
257 inline void SetToxicityDetection(const Aws::Vector<ToxicityDetectionSettings>& value) { m_toxicityDetectionHasBeenSet = true; m_toxicityDetection = value; }
258 inline void SetToxicityDetection(Aws::Vector<ToxicityDetectionSettings>&& value) { m_toxicityDetectionHasBeenSet = true; m_toxicityDetection = std::move(value); }
261 inline TranscriptionJobSummary& AddToxicityDetection(const ToxicityDetectionSettings& value) { m_toxicityDetectionHasBeenSet = true; m_toxicityDetection.push_back(value); return *this; }
262 inline TranscriptionJobSummary& AddToxicityDetection(ToxicityDetectionSettings&& value) { m_toxicityDetectionHasBeenSet = true; m_toxicityDetection.push_back(std::move(value)); return *this; }
264 private:
265
266 Aws::String m_transcriptionJobName;
267 bool m_transcriptionJobNameHasBeenSet = false;
268
269 Aws::Utils::DateTime m_creationTime;
270 bool m_creationTimeHasBeenSet = false;
271
272 Aws::Utils::DateTime m_startTime;
273 bool m_startTimeHasBeenSet = false;
274
275 Aws::Utils::DateTime m_completionTime;
276 bool m_completionTimeHasBeenSet = false;
277
278 LanguageCode m_languageCode;
279 bool m_languageCodeHasBeenSet = false;
280
281 TranscriptionJobStatus m_transcriptionJobStatus;
282 bool m_transcriptionJobStatusHasBeenSet = false;
283
284 Aws::String m_failureReason;
285 bool m_failureReasonHasBeenSet = false;
286
287 OutputLocationType m_outputLocationType;
288 bool m_outputLocationTypeHasBeenSet = false;
289
290 ContentRedaction m_contentRedaction;
291 bool m_contentRedactionHasBeenSet = false;
292
293 ModelSettings m_modelSettings;
294 bool m_modelSettingsHasBeenSet = false;
295
296 bool m_identifyLanguage;
297 bool m_identifyLanguageHasBeenSet = false;
298
299 bool m_identifyMultipleLanguages;
300 bool m_identifyMultipleLanguagesHasBeenSet = false;
301
302 double m_identifiedLanguageScore;
303 bool m_identifiedLanguageScoreHasBeenSet = false;
304
305 Aws::Vector<LanguageCodeItem> m_languageCodes;
306 bool m_languageCodesHasBeenSet = false;
307
308 Aws::Vector<ToxicityDetectionSettings> m_toxicityDetection;
309 bool m_toxicityDetectionHasBeenSet = false;
310 };
311
312} // namespace Model
313} // namespace TranscribeService
314} // namespace Aws
const Aws::Vector< ToxicityDetectionSettings > & GetToxicityDetection() const
AWS_TRANSCRIBESERVICE_API TranscriptionJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TranscriptionJobSummary & WithStartTime(const Aws::Utils::DateTime &value)
TranscriptionJobSummary & AddLanguageCodes(LanguageCodeItem &&value)
TranscriptionJobSummary & WithTranscriptionJobName(const Aws::String &value)
void SetCompletionTime(const Aws::Utils::DateTime &value)
TranscriptionJobSummary & WithLanguageCode(LanguageCode &&value)
TranscriptionJobSummary & WithFailureReason(const char *value)
TranscriptionJobSummary & WithTranscriptionJobStatus(const TranscriptionJobStatus &value)
TranscriptionJobSummary & WithCreationTime(const Aws::Utils::DateTime &value)
TranscriptionJobSummary & AddToxicityDetection(ToxicityDetectionSettings &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetLanguageCodes(Aws::Vector< LanguageCodeItem > &&value)
const TranscriptionJobStatus & GetTranscriptionJobStatus() const
const Aws::Vector< LanguageCodeItem > & GetLanguageCodes() const
void SetTranscriptionJobStatus(const TranscriptionJobStatus &value)
TranscriptionJobSummary & WithToxicityDetection(Aws::Vector< ToxicityDetectionSettings > &&value)
TranscriptionJobSummary & WithModelSettings(const ModelSettings &value)
void SetLanguageCodes(const Aws::Vector< LanguageCodeItem > &value)
void SetToxicityDetection(Aws::Vector< ToxicityDetectionSettings > &&value)
TranscriptionJobSummary & WithOutputLocationType(const OutputLocationType &value)
TranscriptionJobSummary & WithLanguageCode(const LanguageCode &value)
TranscriptionJobSummary & AddLanguageCodes(const LanguageCodeItem &value)
TranscriptionJobSummary & WithIdentifyMultipleLanguages(bool value)
TranscriptionJobSummary & WithTranscriptionJobStatus(TranscriptionJobStatus &&value)
TranscriptionJobSummary & WithOutputLocationType(OutputLocationType &&value)
TranscriptionJobSummary & WithContentRedaction(ContentRedaction &&value)
TranscriptionJobSummary & WithLanguageCodes(const Aws::Vector< LanguageCodeItem > &value)
TranscriptionJobSummary & WithModelSettings(ModelSettings &&value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
TranscriptionJobSummary & WithFailureReason(const Aws::String &value)
TranscriptionJobSummary & WithContentRedaction(const ContentRedaction &value)
TranscriptionJobSummary & WithTranscriptionJobName(Aws::String &&value)
TranscriptionJobSummary & WithCreationTime(Aws::Utils::DateTime &&value)
TranscriptionJobSummary & WithFailureReason(Aws::String &&value)
TranscriptionJobSummary & WithLanguageCodes(Aws::Vector< LanguageCodeItem > &&value)
TranscriptionJobSummary & WithCompletionTime(Aws::Utils::DateTime &&value)
TranscriptionJobSummary & WithToxicityDetection(const Aws::Vector< ToxicityDetectionSettings > &value)
AWS_TRANSCRIBESERVICE_API TranscriptionJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetToxicityDetection(const Aws::Vector< ToxicityDetectionSettings > &value)
TranscriptionJobSummary & AddToxicityDetection(const ToxicityDetectionSettings &value)
TranscriptionJobSummary & WithCompletionTime(const Aws::Utils::DateTime &value)
TranscriptionJobSummary & WithIdentifiedLanguageScore(double value)
TranscriptionJobSummary & WithStartTime(Aws::Utils::DateTime &&value)
TranscriptionJobSummary & WithTranscriptionJobName(const char *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