AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
MedicalTranscriptionJob.h
1
6#pragma once
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/LanguageCode.h>
12#include <aws/transcribe/model/Media.h>
13#include <aws/transcribe/model/MediaFormat.h>
14#include <aws/transcribe/model/MedicalContentIdentificationType.h>
15#include <aws/transcribe/model/MedicalTranscript.h>
16#include <aws/transcribe/model/MedicalTranscriptionSetting.h>
17#include <aws/transcribe/model/Specialty.h>
18#include <aws/transcribe/model/Tag.h>
19#include <aws/transcribe/model/TranscriptionJobStatus.h>
20#include <aws/transcribe/model/Type.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Utils {
26namespace Json {
27class JsonValue;
28class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace TranscribeService {
32namespace Model {
33
46 public:
47 AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJob() = default;
48 AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJob(Aws::Utils::Json::JsonView jsonValue);
49 AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJob& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
51
53
57 inline const Aws::String& GetMedicalTranscriptionJobName() const { return m_medicalTranscriptionJobName; }
58 inline bool MedicalTranscriptionJobNameHasBeenSet() const { return m_medicalTranscriptionJobNameHasBeenSet; }
59 template <typename MedicalTranscriptionJobNameT = Aws::String>
60 void SetMedicalTranscriptionJobName(MedicalTranscriptionJobNameT&& value) {
61 m_medicalTranscriptionJobNameHasBeenSet = true;
62 m_medicalTranscriptionJobName = std::forward<MedicalTranscriptionJobNameT>(value);
63 }
64 template <typename MedicalTranscriptionJobNameT = Aws::String>
65 MedicalTranscriptionJob& WithMedicalTranscriptionJobName(MedicalTranscriptionJobNameT&& value) {
66 SetMedicalTranscriptionJobName(std::forward<MedicalTranscriptionJobNameT>(value));
67 return *this;
68 }
70
72
79 inline TranscriptionJobStatus GetTranscriptionJobStatus() const { return m_transcriptionJobStatus; }
80 inline bool TranscriptionJobStatusHasBeenSet() const { return m_transcriptionJobStatusHasBeenSet; }
82 m_transcriptionJobStatusHasBeenSet = true;
83 m_transcriptionJobStatus = value;
84 }
87 return *this;
88 }
90
92
97 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
98 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
99 inline void SetLanguageCode(LanguageCode value) {
100 m_languageCodeHasBeenSet = true;
101 m_languageCode = value;
102 }
104 SetLanguageCode(value);
105 return *this;
106 }
108
110
113 inline int GetMediaSampleRateHertz() const { return m_mediaSampleRateHertz; }
114 inline bool MediaSampleRateHertzHasBeenSet() const { return m_mediaSampleRateHertzHasBeenSet; }
115 inline void SetMediaSampleRateHertz(int value) {
116 m_mediaSampleRateHertzHasBeenSet = true;
117 m_mediaSampleRateHertz = value;
118 }
121 return *this;
122 }
124
126
129 inline MediaFormat GetMediaFormat() const { return m_mediaFormat; }
130 inline bool MediaFormatHasBeenSet() const { return m_mediaFormatHasBeenSet; }
131 inline void SetMediaFormat(MediaFormat value) {
132 m_mediaFormatHasBeenSet = true;
133 m_mediaFormat = value;
134 }
136 SetMediaFormat(value);
137 return *this;
138 }
140
142
143 inline const Media& GetMedia() const { return m_media; }
144 inline bool MediaHasBeenSet() const { return m_mediaHasBeenSet; }
145 template <typename MediaT = Media>
146 void SetMedia(MediaT&& value) {
147 m_mediaHasBeenSet = true;
148 m_media = std::forward<MediaT>(value);
149 }
150 template <typename MediaT = Media>
152 SetMedia(std::forward<MediaT>(value));
153 return *this;
154 }
156
158
162 inline const MedicalTranscript& GetTranscript() const { return m_transcript; }
163 inline bool TranscriptHasBeenSet() const { return m_transcriptHasBeenSet; }
164 template <typename TranscriptT = MedicalTranscript>
165 void SetTranscript(TranscriptT&& value) {
166 m_transcriptHasBeenSet = true;
167 m_transcript = std::forward<TranscriptT>(value);
168 }
169 template <typename TranscriptT = MedicalTranscript>
171 SetTranscript(std::forward<TranscriptT>(value));
172 return *this;
173 }
175
177
184 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
185 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
186 template <typename StartTimeT = Aws::Utils::DateTime>
187 void SetStartTime(StartTimeT&& value) {
188 m_startTimeHasBeenSet = true;
189 m_startTime = std::forward<StartTimeT>(value);
190 }
191 template <typename StartTimeT = Aws::Utils::DateTime>
193 SetStartTime(std::forward<StartTimeT>(value));
194 return *this;
195 }
197
199
206 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
207 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
208 template <typename CreationTimeT = Aws::Utils::DateTime>
209 void SetCreationTime(CreationTimeT&& value) {
210 m_creationTimeHasBeenSet = true;
211 m_creationTime = std::forward<CreationTimeT>(value);
212 }
213 template <typename CreationTimeT = Aws::Utils::DateTime>
215 SetCreationTime(std::forward<CreationTimeT>(value));
216 return *this;
217 }
219
221
228 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
229 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
230 template <typename CompletionTimeT = Aws::Utils::DateTime>
231 void SetCompletionTime(CompletionTimeT&& value) {
232 m_completionTimeHasBeenSet = true;
233 m_completionTime = std::forward<CompletionTimeT>(value);
234 }
235 template <typename CompletionTimeT = Aws::Utils::DateTime>
236 MedicalTranscriptionJob& WithCompletionTime(CompletionTimeT&& value) {
237 SetCompletionTime(std::forward<CompletionTimeT>(value));
238 return *this;
239 }
241
243
270 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
271 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
272 template <typename FailureReasonT = Aws::String>
273 void SetFailureReason(FailureReasonT&& value) {
274 m_failureReasonHasBeenSet = true;
275 m_failureReason = std::forward<FailureReasonT>(value);
276 }
277 template <typename FailureReasonT = Aws::String>
279 SetFailureReason(std::forward<FailureReasonT>(value));
280 return *this;
281 }
283
285
291 inline const MedicalTranscriptionSetting& GetSettings() const { return m_settings; }
292 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
293 template <typename SettingsT = MedicalTranscriptionSetting>
294 void SetSettings(SettingsT&& value) {
295 m_settingsHasBeenSet = true;
296 m_settings = std::forward<SettingsT>(value);
297 }
298 template <typename SettingsT = MedicalTranscriptionSetting>
300 SetSettings(std::forward<SettingsT>(value));
301 return *this;
302 }
304
306
310 inline MedicalContentIdentificationType GetContentIdentificationType() const { return m_contentIdentificationType; }
311 inline bool ContentIdentificationTypeHasBeenSet() const { return m_contentIdentificationTypeHasBeenSet; }
313 m_contentIdentificationTypeHasBeenSet = true;
314 m_contentIdentificationType = value;
315 }
318 return *this;
319 }
321
323
326 inline Specialty GetSpecialty() const { return m_specialty; }
327 inline bool SpecialtyHasBeenSet() const { return m_specialtyHasBeenSet; }
328 inline void SetSpecialty(Specialty value) {
329 m_specialtyHasBeenSet = true;
330 m_specialty = value;
331 }
333 SetSpecialty(value);
334 return *this;
335 }
337
339
343 inline Type GetType() const { return m_type; }
344 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
345 inline void SetType(Type value) {
346 m_typeHasBeenSet = true;
347 m_type = value;
348 }
350 SetType(value);
351 return *this;
352 }
354
356
360 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
361 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
362 template <typename TagsT = Aws::Vector<Tag>>
363 void SetTags(TagsT&& value) {
364 m_tagsHasBeenSet = true;
365 m_tags = std::forward<TagsT>(value);
366 }
367 template <typename TagsT = Aws::Vector<Tag>>
369 SetTags(std::forward<TagsT>(value));
370 return *this;
371 }
372 template <typename TagsT = Tag>
374 m_tagsHasBeenSet = true;
375 m_tags.emplace_back(std::forward<TagsT>(value));
376 return *this;
377 }
379 private:
380 Aws::String m_medicalTranscriptionJobName;
381
383
384 LanguageCode m_languageCode{LanguageCode::NOT_SET};
385
386 int m_mediaSampleRateHertz{0};
387
388 MediaFormat m_mediaFormat{MediaFormat::NOT_SET};
389
390 Media m_media;
391
392 MedicalTranscript m_transcript;
393
394 Aws::Utils::DateTime m_startTime{};
395
396 Aws::Utils::DateTime m_creationTime{};
397
398 Aws::Utils::DateTime m_completionTime{};
399
400 Aws::String m_failureReason;
401
402 MedicalTranscriptionSetting m_settings;
403
405
406 Specialty m_specialty{Specialty::NOT_SET};
407
408 Type m_type{Type::NOT_SET};
409
410 Aws::Vector<Tag> m_tags;
411 bool m_medicalTranscriptionJobNameHasBeenSet = false;
412 bool m_transcriptionJobStatusHasBeenSet = false;
413 bool m_languageCodeHasBeenSet = false;
414 bool m_mediaSampleRateHertzHasBeenSet = false;
415 bool m_mediaFormatHasBeenSet = false;
416 bool m_mediaHasBeenSet = false;
417 bool m_transcriptHasBeenSet = false;
418 bool m_startTimeHasBeenSet = false;
419 bool m_creationTimeHasBeenSet = false;
420 bool m_completionTimeHasBeenSet = false;
421 bool m_failureReasonHasBeenSet = false;
422 bool m_settingsHasBeenSet = false;
423 bool m_contentIdentificationTypeHasBeenSet = false;
424 bool m_specialtyHasBeenSet = false;
425 bool m_typeHasBeenSet = false;
426 bool m_tagsHasBeenSet = false;
427};
428
429} // namespace Model
430} // namespace TranscribeService
431} // namespace Aws
AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJob()=default
MedicalTranscriptionJob & WithLanguageCode(LanguageCode value)
MedicalTranscriptionJob & WithContentIdentificationType(MedicalContentIdentificationType value)
MedicalTranscriptionJob & WithCreationTime(CreationTimeT &&value)
MedicalTranscriptionJob & WithSpecialty(Specialty value)
MedicalTranscriptionJob & WithTranscriptionJobStatus(TranscriptionJobStatus value)
MedicalTranscriptionJob & WithMediaFormat(MediaFormat value)
void SetContentIdentificationType(MedicalContentIdentificationType value)
MedicalTranscriptionJob & WithStartTime(StartTimeT &&value)
void SetMedicalTranscriptionJobName(MedicalTranscriptionJobNameT &&value)
MedicalTranscriptionJob & WithCompletionTime(CompletionTimeT &&value)
MedicalTranscriptionJob & WithTranscript(TranscriptT &&value)
MedicalContentIdentificationType GetContentIdentificationType() const
MedicalTranscriptionJob & WithSettings(SettingsT &&value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MedicalTranscriptionJob & WithMedicalTranscriptionJobName(MedicalTranscriptionJobNameT &&value)
AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJob(Aws::Utils::Json::JsonView jsonValue)
MedicalTranscriptionJob & WithFailureReason(FailureReasonT &&value)
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