AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MedicalTranscriptionJob.h
1
6#pragma once
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/MedicalTranscript.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/transcribe/model/MedicalTranscriptionSetting.h>
16#include <aws/transcribe/model/MedicalContentIdentificationType.h>
17#include <aws/transcribe/model/Specialty.h>
18#include <aws/transcribe/model/Type.h>
19#include <aws/core/utils/memory/stl/AWSVector.h>
20#include <aws/transcribe/model/Tag.h>
21#include <utility>
22
23namespace Aws
24{
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30 class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace TranscribeService
34{
35namespace Model
36{
37
50 {
51 public:
52 AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJob();
53 AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJob(Aws::Utils::Json::JsonView jsonValue);
54 AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJob& operator=(Aws::Utils::Json::JsonView jsonValue);
55 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
56
57
59
63 inline const Aws::String& GetMedicalTranscriptionJobName() const{ return m_medicalTranscriptionJobName; }
64 inline bool MedicalTranscriptionJobNameHasBeenSet() const { return m_medicalTranscriptionJobNameHasBeenSet; }
65 inline void SetMedicalTranscriptionJobName(const Aws::String& value) { m_medicalTranscriptionJobNameHasBeenSet = true; m_medicalTranscriptionJobName = value; }
66 inline void SetMedicalTranscriptionJobName(Aws::String&& value) { m_medicalTranscriptionJobNameHasBeenSet = true; m_medicalTranscriptionJobName = std::move(value); }
67 inline void SetMedicalTranscriptionJobName(const char* value) { m_medicalTranscriptionJobNameHasBeenSet = true; m_medicalTranscriptionJobName.assign(value); }
72
74
81 inline const TranscriptionJobStatus& GetTranscriptionJobStatus() const{ return m_transcriptionJobStatus; }
82 inline bool TranscriptionJobStatusHasBeenSet() const { return m_transcriptionJobStatusHasBeenSet; }
83 inline void SetTranscriptionJobStatus(const TranscriptionJobStatus& value) { m_transcriptionJobStatusHasBeenSet = true; m_transcriptionJobStatus = value; }
84 inline void SetTranscriptionJobStatus(TranscriptionJobStatus&& value) { m_transcriptionJobStatusHasBeenSet = true; m_transcriptionJobStatus = std::move(value); }
88
90
95 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
96 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
97 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
98 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
99 inline MedicalTranscriptionJob& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
100 inline MedicalTranscriptionJob& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
102
104
107 inline int GetMediaSampleRateHertz() const{ return m_mediaSampleRateHertz; }
108 inline bool MediaSampleRateHertzHasBeenSet() const { return m_mediaSampleRateHertzHasBeenSet; }
109 inline void SetMediaSampleRateHertz(int value) { m_mediaSampleRateHertzHasBeenSet = true; m_mediaSampleRateHertz = value; }
112
114
117 inline const MediaFormat& GetMediaFormat() const{ return m_mediaFormat; }
118 inline bool MediaFormatHasBeenSet() const { return m_mediaFormatHasBeenSet; }
119 inline void SetMediaFormat(const MediaFormat& value) { m_mediaFormatHasBeenSet = true; m_mediaFormat = value; }
120 inline void SetMediaFormat(MediaFormat&& value) { m_mediaFormatHasBeenSet = true; m_mediaFormat = std::move(value); }
121 inline MedicalTranscriptionJob& WithMediaFormat(const MediaFormat& value) { SetMediaFormat(value); return *this;}
122 inline MedicalTranscriptionJob& WithMediaFormat(MediaFormat&& value) { SetMediaFormat(std::move(value)); return *this;}
124
126
127 inline const Media& GetMedia() const{ return m_media; }
128 inline bool MediaHasBeenSet() const { return m_mediaHasBeenSet; }
129 inline void SetMedia(const Media& value) { m_mediaHasBeenSet = true; m_media = value; }
130 inline void SetMedia(Media&& value) { m_mediaHasBeenSet = true; m_media = std::move(value); }
131 inline MedicalTranscriptionJob& WithMedia(const Media& value) { SetMedia(value); return *this;}
132 inline MedicalTranscriptionJob& WithMedia(Media&& value) { SetMedia(std::move(value)); return *this;}
134
136
140 inline const MedicalTranscript& GetTranscript() const{ return m_transcript; }
141 inline bool TranscriptHasBeenSet() const { return m_transcriptHasBeenSet; }
142 inline void SetTranscript(const MedicalTranscript& value) { m_transcriptHasBeenSet = true; m_transcript = value; }
143 inline void SetTranscript(MedicalTranscript&& value) { m_transcriptHasBeenSet = true; m_transcript = std::move(value); }
144 inline MedicalTranscriptionJob& WithTranscript(const MedicalTranscript& value) { SetTranscript(value); return *this;}
145 inline MedicalTranscriptionJob& WithTranscript(MedicalTranscript&& value) { SetTranscript(std::move(value)); return *this;}
147
149
156 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
157 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
158 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
159 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
160 inline MedicalTranscriptionJob& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
161 inline MedicalTranscriptionJob& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
163
165
172 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
173 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
174 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
175 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
177 inline MedicalTranscriptionJob& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
179
181
188 inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
189 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
190 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
191 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
193 inline MedicalTranscriptionJob& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;}
195
197
224 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
225 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
226 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
227 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
228 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
229 inline MedicalTranscriptionJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
230 inline MedicalTranscriptionJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
231 inline MedicalTranscriptionJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
233
235
241 inline const MedicalTranscriptionSetting& GetSettings() const{ return m_settings; }
242 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
243 inline void SetSettings(const MedicalTranscriptionSetting& value) { m_settingsHasBeenSet = true; m_settings = value; }
244 inline void SetSettings(MedicalTranscriptionSetting&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
246 inline MedicalTranscriptionJob& WithSettings(MedicalTranscriptionSetting&& value) { SetSettings(std::move(value)); return *this;}
248
250
254 inline const MedicalContentIdentificationType& GetContentIdentificationType() const{ return m_contentIdentificationType; }
255 inline bool ContentIdentificationTypeHasBeenSet() const { return m_contentIdentificationTypeHasBeenSet; }
256 inline void SetContentIdentificationType(const MedicalContentIdentificationType& value) { m_contentIdentificationTypeHasBeenSet = true; m_contentIdentificationType = value; }
257 inline void SetContentIdentificationType(MedicalContentIdentificationType&& value) { m_contentIdentificationTypeHasBeenSet = true; m_contentIdentificationType = std::move(value); }
261
263
266 inline const Specialty& GetSpecialty() const{ return m_specialty; }
267 inline bool SpecialtyHasBeenSet() const { return m_specialtyHasBeenSet; }
268 inline void SetSpecialty(const Specialty& value) { m_specialtyHasBeenSet = true; m_specialty = value; }
269 inline void SetSpecialty(Specialty&& value) { m_specialtyHasBeenSet = true; m_specialty = std::move(value); }
270 inline MedicalTranscriptionJob& WithSpecialty(const Specialty& value) { SetSpecialty(value); return *this;}
271 inline MedicalTranscriptionJob& WithSpecialty(Specialty&& value) { SetSpecialty(std::move(value)); return *this;}
273
275
279 inline const Type& GetType() const{ return m_type; }
280 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
281 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
282 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
283 inline MedicalTranscriptionJob& WithType(const Type& value) { SetType(value); return *this;}
284 inline MedicalTranscriptionJob& WithType(Type&& value) { SetType(std::move(value)); return *this;}
286
288
292 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
293 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
294 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
295 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
296 inline MedicalTranscriptionJob& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
297 inline MedicalTranscriptionJob& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
298 inline MedicalTranscriptionJob& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
299 inline MedicalTranscriptionJob& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
301 private:
302
303 Aws::String m_medicalTranscriptionJobName;
304 bool m_medicalTranscriptionJobNameHasBeenSet = false;
305
306 TranscriptionJobStatus m_transcriptionJobStatus;
307 bool m_transcriptionJobStatusHasBeenSet = false;
308
309 LanguageCode m_languageCode;
310 bool m_languageCodeHasBeenSet = false;
311
312 int m_mediaSampleRateHertz;
313 bool m_mediaSampleRateHertzHasBeenSet = false;
314
315 MediaFormat m_mediaFormat;
316 bool m_mediaFormatHasBeenSet = false;
317
318 Media m_media;
319 bool m_mediaHasBeenSet = false;
320
321 MedicalTranscript m_transcript;
322 bool m_transcriptHasBeenSet = false;
323
324 Aws::Utils::DateTime m_startTime;
325 bool m_startTimeHasBeenSet = false;
326
327 Aws::Utils::DateTime m_creationTime;
328 bool m_creationTimeHasBeenSet = false;
329
330 Aws::Utils::DateTime m_completionTime;
331 bool m_completionTimeHasBeenSet = false;
332
333 Aws::String m_failureReason;
334 bool m_failureReasonHasBeenSet = false;
335
337 bool m_settingsHasBeenSet = false;
338
339 MedicalContentIdentificationType m_contentIdentificationType;
340 bool m_contentIdentificationTypeHasBeenSet = false;
341
342 Specialty m_specialty;
343 bool m_specialtyHasBeenSet = false;
344
345 Type m_type;
346 bool m_typeHasBeenSet = false;
347
348 Aws::Vector<Tag> m_tags;
349 bool m_tagsHasBeenSet = false;
350 };
351
352} // namespace Model
353} // namespace TranscribeService
354} // namespace Aws
MedicalTranscriptionJob & WithFailureReason(const char *value)
void SetSettings(const MedicalTranscriptionSetting &value)
MedicalTranscriptionJob & WithFailureReason(const Aws::String &value)
MedicalTranscriptionJob & WithSpecialty(Specialty &&value)
const MedicalContentIdentificationType & GetContentIdentificationType() const
MedicalTranscriptionJob & WithFailureReason(Aws::String &&value)
MedicalTranscriptionJob & WithSettings(MedicalTranscriptionSetting &&value)
const TranscriptionJobStatus & GetTranscriptionJobStatus() const
void SetTranscriptionJobStatus(TranscriptionJobStatus &&value)
void SetContentIdentificationType(const MedicalContentIdentificationType &value)
MedicalTranscriptionJob & WithTranscript(MedicalTranscript &&value)
void SetSettings(MedicalTranscriptionSetting &&value)
MedicalTranscriptionJob & WithStartTime(Aws::Utils::DateTime &&value)
MedicalTranscriptionJob & WithContentIdentificationType(const MedicalContentIdentificationType &value)
MedicalTranscriptionJob & WithLanguageCode(const LanguageCode &value)
MedicalTranscriptionJob & AddTags(const Tag &value)
MedicalTranscriptionJob & WithMedicalTranscriptionJobName(const char *value)
MedicalTranscriptionJob & WithTranscriptionJobStatus(const TranscriptionJobStatus &value)
void SetCompletionTime(const Aws::Utils::DateTime &value)
MedicalTranscriptionJob & WithMediaFormat(const MediaFormat &value)
MedicalTranscriptionJob & WithStartTime(const Aws::Utils::DateTime &value)
void SetTranscriptionJobStatus(const TranscriptionJobStatus &value)
MedicalTranscriptionJob & WithLanguageCode(LanguageCode &&value)
MedicalTranscriptionJob & WithCompletionTime(const Aws::Utils::DateTime &value)
MedicalTranscriptionJob & WithTranscript(const MedicalTranscript &value)
MedicalTranscriptionJob & WithTranscriptionJobStatus(TranscriptionJobStatus &&value)
MedicalTranscriptionJob & WithMediaFormat(MediaFormat &&value)
MedicalTranscriptionJob & WithCreationTime(Aws::Utils::DateTime &&value)
MedicalTranscriptionJob & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MedicalTranscriptionJob & WithTags(const Aws::Vector< Tag > &value)
MedicalTranscriptionJob & WithSettings(const MedicalTranscriptionSetting &value)
MedicalTranscriptionJob & WithContentIdentificationType(MedicalContentIdentificationType &&value)
MedicalTranscriptionJob & WithMedicalTranscriptionJobName(Aws::String &&value)
MedicalTranscriptionJob & WithMedicalTranscriptionJobName(const Aws::String &value)
MedicalTranscriptionJob & WithSpecialty(const Specialty &value)
MedicalTranscriptionJob & WithTags(Aws::Vector< Tag > &&value)
void SetContentIdentificationType(MedicalContentIdentificationType &&value)
MedicalTranscriptionJob & WithCompletionTime(Aws::Utils::DateTime &&value)
MedicalTranscriptionJob & WithMedia(const Media &value)
MedicalTranscriptionJob & WithType(const Type &value)
AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJob(Aws::Utils::Json::JsonView jsonValue)
const MedicalTranscriptionSetting & GetSettings() const
AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJob & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue