AWS SDK for C++

AWS SDK for C++ Version 1.11.773

Loading...
Searching...
No Matches
MedicalTranscriptionJobSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/transcribe/TranscribeService_EXPORTS.h>
10#include <aws/transcribe/model/LanguageCode.h>
11#include <aws/transcribe/model/MedicalContentIdentificationType.h>
12#include <aws/transcribe/model/OutputLocationType.h>
13#include <aws/transcribe/model/Specialty.h>
14#include <aws/transcribe/model/TranscriptionJobStatus.h>
15#include <aws/transcribe/model/Type.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace TranscribeService {
27namespace Model {
28
36 public:
37 AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJobSummary() = default;
38 AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJobSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
47 inline const Aws::String& GetMedicalTranscriptionJobName() const { return m_medicalTranscriptionJobName; }
48 inline bool MedicalTranscriptionJobNameHasBeenSet() const { return m_medicalTranscriptionJobNameHasBeenSet; }
49 template <typename MedicalTranscriptionJobNameT = Aws::String>
50 void SetMedicalTranscriptionJobName(MedicalTranscriptionJobNameT&& value) {
51 m_medicalTranscriptionJobNameHasBeenSet = true;
52 m_medicalTranscriptionJobName = std::forward<MedicalTranscriptionJobNameT>(value);
53 }
54 template <typename MedicalTranscriptionJobNameT = Aws::String>
55 MedicalTranscriptionJobSummary& WithMedicalTranscriptionJobName(MedicalTranscriptionJobNameT&& value) {
56 SetMedicalTranscriptionJobName(std::forward<MedicalTranscriptionJobNameT>(value));
57 return *this;
58 }
60
62
69 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
70 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
71 template <typename CreationTimeT = Aws::Utils::DateTime>
72 void SetCreationTime(CreationTimeT&& value) {
73 m_creationTimeHasBeenSet = true;
74 m_creationTime = std::forward<CreationTimeT>(value);
75 }
76 template <typename CreationTimeT = Aws::Utils::DateTime>
78 SetCreationTime(std::forward<CreationTimeT>(value));
79 return *this;
80 }
82
84
90 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
91 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
92 template <typename StartTimeT = Aws::Utils::DateTime>
93 void SetStartTime(StartTimeT&& value) {
94 m_startTimeHasBeenSet = true;
95 m_startTime = std::forward<StartTimeT>(value);
96 }
97 template <typename StartTimeT = Aws::Utils::DateTime>
99 SetStartTime(std::forward<StartTimeT>(value));
100 return *this;
101 }
103
105
112 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
113 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
114 template <typename CompletionTimeT = Aws::Utils::DateTime>
115 void SetCompletionTime(CompletionTimeT&& value) {
116 m_completionTimeHasBeenSet = true;
117 m_completionTime = std::forward<CompletionTimeT>(value);
118 }
119 template <typename CompletionTimeT = Aws::Utils::DateTime>
121 SetCompletionTime(std::forward<CompletionTimeT>(value));
122 return *this;
123 }
125
127
132 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
133 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
134 inline void SetLanguageCode(LanguageCode value) {
135 m_languageCodeHasBeenSet = true;
136 m_languageCode = value;
137 }
139 SetLanguageCode(value);
140 return *this;
141 }
143
145
152 inline TranscriptionJobStatus GetTranscriptionJobStatus() const { return m_transcriptionJobStatus; }
153 inline bool TranscriptionJobStatusHasBeenSet() const { return m_transcriptionJobStatusHasBeenSet; }
155 m_transcriptionJobStatusHasBeenSet = true;
156 m_transcriptionJobStatus = value;
157 }
160 return *this;
161 }
163
165
172 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
173 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
174 template <typename FailureReasonT = Aws::String>
175 void SetFailureReason(FailureReasonT&& value) {
176 m_failureReasonHasBeenSet = true;
177 m_failureReason = std::forward<FailureReasonT>(value);
178 }
179 template <typename FailureReasonT = Aws::String>
181 SetFailureReason(std::forward<FailureReasonT>(value));
182 return *this;
183 }
185
187
197 inline OutputLocationType GetOutputLocationType() const { return m_outputLocationType; }
198 inline bool OutputLocationTypeHasBeenSet() const { return m_outputLocationTypeHasBeenSet; }
200 m_outputLocationTypeHasBeenSet = true;
201 m_outputLocationType = value;
202 }
205 return *this;
206 }
208
210
213 inline Specialty GetSpecialty() const { return m_specialty; }
214 inline bool SpecialtyHasBeenSet() const { return m_specialtyHasBeenSet; }
215 inline void SetSpecialty(Specialty value) {
216 m_specialtyHasBeenSet = true;
217 m_specialty = value;
218 }
220 SetSpecialty(value);
221 return *this;
222 }
224
226
232 inline MedicalContentIdentificationType GetContentIdentificationType() const { return m_contentIdentificationType; }
233 inline bool ContentIdentificationTypeHasBeenSet() const { return m_contentIdentificationTypeHasBeenSet; }
235 m_contentIdentificationTypeHasBeenSet = true;
236 m_contentIdentificationType = value;
237 }
240 return *this;
241 }
243
245
249 inline Type GetType() const { return m_type; }
250 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
251 inline void SetType(Type value) {
252 m_typeHasBeenSet = true;
253 m_type = value;
254 }
256 SetType(value);
257 return *this;
258 }
260 private:
261 Aws::String m_medicalTranscriptionJobName;
262
263 Aws::Utils::DateTime m_creationTime{};
264
265 Aws::Utils::DateTime m_startTime{};
266
267 Aws::Utils::DateTime m_completionTime{};
268
269 LanguageCode m_languageCode{LanguageCode::NOT_SET};
270
272
273 Aws::String m_failureReason;
274
276
277 Specialty m_specialty{Specialty::NOT_SET};
278
280
281 Type m_type{Type::NOT_SET};
282 bool m_medicalTranscriptionJobNameHasBeenSet = false;
283 bool m_creationTimeHasBeenSet = false;
284 bool m_startTimeHasBeenSet = false;
285 bool m_completionTimeHasBeenSet = false;
286 bool m_languageCodeHasBeenSet = false;
287 bool m_transcriptionJobStatusHasBeenSet = false;
288 bool m_failureReasonHasBeenSet = false;
289 bool m_outputLocationTypeHasBeenSet = false;
290 bool m_specialtyHasBeenSet = false;
291 bool m_contentIdentificationTypeHasBeenSet = false;
292 bool m_typeHasBeenSet = false;
293};
294
295} // namespace Model
296} // namespace TranscribeService
297} // namespace Aws
MedicalTranscriptionJobSummary & WithCompletionTime(CompletionTimeT &&value)
AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJobSummary(Aws::Utils::Json::JsonView jsonValue)
MedicalTranscriptionJobSummary & WithMedicalTranscriptionJobName(MedicalTranscriptionJobNameT &&value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MedicalTranscriptionJobSummary & WithFailureReason(FailureReasonT &&value)
AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
MedicalTranscriptionJobSummary & WithOutputLocationType(OutputLocationType value)
AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJobSummary()=default
MedicalTranscriptionJobSummary & WithStartTime(StartTimeT &&value)
MedicalTranscriptionJobSummary & WithContentIdentificationType(MedicalContentIdentificationType value)
MedicalTranscriptionJobSummary & WithCreationTime(CreationTimeT &&value)
MedicalTranscriptionJobSummary & WithLanguageCode(LanguageCode value)
MedicalTranscriptionJobSummary & WithTranscriptionJobStatus(TranscriptionJobStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue