AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename MedicalTranscriptionJobNameT = Aws::String>
66 void SetMedicalTranscriptionJobName(MedicalTranscriptionJobNameT&& value) { m_medicalTranscriptionJobNameHasBeenSet = true; m_medicalTranscriptionJobName = std::forward<MedicalTranscriptionJobNameT>(value); }
67 template<typename MedicalTranscriptionJobNameT = Aws::String>
68 MedicalTranscriptionJob& WithMedicalTranscriptionJobName(MedicalTranscriptionJobNameT&& value) { SetMedicalTranscriptionJobName(std::forward<MedicalTranscriptionJobNameT>(value)); return *this;}
70
72
79 inline TranscriptionJobStatus GetTranscriptionJobStatus() const { return m_transcriptionJobStatus; }
80 inline bool TranscriptionJobStatusHasBeenSet() const { return m_transcriptionJobStatusHasBeenSet; }
81 inline void SetTranscriptionJobStatus(TranscriptionJobStatus value) { m_transcriptionJobStatusHasBeenSet = true; m_transcriptionJobStatus = value; }
84
86
91 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
92 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
93 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
96
98
101 inline int GetMediaSampleRateHertz() const { return m_mediaSampleRateHertz; }
102 inline bool MediaSampleRateHertzHasBeenSet() const { return m_mediaSampleRateHertzHasBeenSet; }
103 inline void SetMediaSampleRateHertz(int value) { m_mediaSampleRateHertzHasBeenSet = true; m_mediaSampleRateHertz = value; }
106
108
111 inline MediaFormat GetMediaFormat() const { return m_mediaFormat; }
112 inline bool MediaFormatHasBeenSet() const { return m_mediaFormatHasBeenSet; }
113 inline void SetMediaFormat(MediaFormat value) { m_mediaFormatHasBeenSet = true; m_mediaFormat = value; }
116
118
119 inline const Media& GetMedia() const { return m_media; }
120 inline bool MediaHasBeenSet() const { return m_mediaHasBeenSet; }
121 template<typename MediaT = Media>
122 void SetMedia(MediaT&& value) { m_mediaHasBeenSet = true; m_media = std::forward<MediaT>(value); }
123 template<typename MediaT = Media>
124 MedicalTranscriptionJob& WithMedia(MediaT&& value) { SetMedia(std::forward<MediaT>(value)); return *this;}
126
128
132 inline const MedicalTranscript& GetTranscript() const { return m_transcript; }
133 inline bool TranscriptHasBeenSet() const { return m_transcriptHasBeenSet; }
134 template<typename TranscriptT = MedicalTranscript>
135 void SetTranscript(TranscriptT&& value) { m_transcriptHasBeenSet = true; m_transcript = std::forward<TranscriptT>(value); }
136 template<typename TranscriptT = MedicalTranscript>
137 MedicalTranscriptionJob& WithTranscript(TranscriptT&& value) { SetTranscript(std::forward<TranscriptT>(value)); return *this;}
139
141
148 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
149 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
150 template<typename StartTimeT = Aws::Utils::DateTime>
151 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
152 template<typename StartTimeT = Aws::Utils::DateTime>
153 MedicalTranscriptionJob& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
155
157
164 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
165 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
166 template<typename CreationTimeT = Aws::Utils::DateTime>
167 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
168 template<typename CreationTimeT = Aws::Utils::DateTime>
169 MedicalTranscriptionJob& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
171
173
180 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
181 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
182 template<typename CompletionTimeT = Aws::Utils::DateTime>
183 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::forward<CompletionTimeT>(value); }
184 template<typename CompletionTimeT = Aws::Utils::DateTime>
185 MedicalTranscriptionJob& WithCompletionTime(CompletionTimeT&& value) { SetCompletionTime(std::forward<CompletionTimeT>(value)); return *this;}
187
189
216 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
217 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
218 template<typename FailureReasonT = Aws::String>
219 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
220 template<typename FailureReasonT = Aws::String>
221 MedicalTranscriptionJob& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
223
225
231 inline const MedicalTranscriptionSetting& GetSettings() const { return m_settings; }
232 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
233 template<typename SettingsT = MedicalTranscriptionSetting>
234 void SetSettings(SettingsT&& value) { m_settingsHasBeenSet = true; m_settings = std::forward<SettingsT>(value); }
235 template<typename SettingsT = MedicalTranscriptionSetting>
236 MedicalTranscriptionJob& WithSettings(SettingsT&& value) { SetSettings(std::forward<SettingsT>(value)); return *this;}
238
240
244 inline MedicalContentIdentificationType GetContentIdentificationType() const { return m_contentIdentificationType; }
245 inline bool ContentIdentificationTypeHasBeenSet() const { return m_contentIdentificationTypeHasBeenSet; }
246 inline void SetContentIdentificationType(MedicalContentIdentificationType value) { m_contentIdentificationTypeHasBeenSet = true; m_contentIdentificationType = value; }
249
251
254 inline Specialty GetSpecialty() const { return m_specialty; }
255 inline bool SpecialtyHasBeenSet() const { return m_specialtyHasBeenSet; }
256 inline void SetSpecialty(Specialty value) { m_specialtyHasBeenSet = true; m_specialty = value; }
257 inline MedicalTranscriptionJob& WithSpecialty(Specialty value) { SetSpecialty(value); return *this;}
259
261
265 inline Type GetType() const { return m_type; }
266 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
267 inline void SetType(Type value) { m_typeHasBeenSet = true; m_type = value; }
268 inline MedicalTranscriptionJob& WithType(Type value) { SetType(value); return *this;}
270
272
276 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
277 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
278 template<typename TagsT = Aws::Vector<Tag>>
279 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
280 template<typename TagsT = Aws::Vector<Tag>>
281 MedicalTranscriptionJob& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
282 template<typename TagsT = Tag>
283 MedicalTranscriptionJob& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
285 private:
286
287 Aws::String m_medicalTranscriptionJobName;
288 bool m_medicalTranscriptionJobNameHasBeenSet = false;
289
291 bool m_transcriptionJobStatusHasBeenSet = false;
292
293 LanguageCode m_languageCode{LanguageCode::NOT_SET};
294 bool m_languageCodeHasBeenSet = false;
295
296 int m_mediaSampleRateHertz{0};
297 bool m_mediaSampleRateHertzHasBeenSet = false;
298
299 MediaFormat m_mediaFormat{MediaFormat::NOT_SET};
300 bool m_mediaFormatHasBeenSet = false;
301
302 Media m_media;
303 bool m_mediaHasBeenSet = false;
304
305 MedicalTranscript m_transcript;
306 bool m_transcriptHasBeenSet = false;
307
308 Aws::Utils::DateTime m_startTime{};
309 bool m_startTimeHasBeenSet = false;
310
311 Aws::Utils::DateTime m_creationTime{};
312 bool m_creationTimeHasBeenSet = false;
313
314 Aws::Utils::DateTime m_completionTime{};
315 bool m_completionTimeHasBeenSet = false;
316
317 Aws::String m_failureReason;
318 bool m_failureReasonHasBeenSet = false;
319
320 MedicalTranscriptionSetting m_settings;
321 bool m_settingsHasBeenSet = false;
322
324 bool m_contentIdentificationTypeHasBeenSet = false;
325
326 Specialty m_specialty{Specialty::NOT_SET};
327 bool m_specialtyHasBeenSet = false;
328
329 Type m_type{Type::NOT_SET};
330 bool m_typeHasBeenSet = false;
331
332 Aws::Vector<Tag> m_tags;
333 bool m_tagsHasBeenSet = false;
334 };
335
336} // namespace Model
337} // namespace TranscribeService
338} // 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