AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
StartMedicalTranscriptionJobRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/transcribe/TranscribeServiceRequest.h>
11#include <aws/transcribe/TranscribeService_EXPORTS.h>
12#include <aws/transcribe/model/LanguageCode.h>
13#include <aws/transcribe/model/Media.h>
14#include <aws/transcribe/model/MediaFormat.h>
15#include <aws/transcribe/model/MedicalContentIdentificationType.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/Type.h>
20
21#include <utility>
22
23namespace Aws {
24namespace TranscribeService {
25namespace Model {
26
30 public:
31 AWS_TRANSCRIBESERVICE_API StartMedicalTranscriptionJobRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "StartMedicalTranscriptionJob"; }
38
39 AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override;
40
41 AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
44
53 inline const Aws::String& GetMedicalTranscriptionJobName() const { return m_medicalTranscriptionJobName; }
54 inline bool MedicalTranscriptionJobNameHasBeenSet() const { return m_medicalTranscriptionJobNameHasBeenSet; }
55 template <typename MedicalTranscriptionJobNameT = Aws::String>
56 void SetMedicalTranscriptionJobName(MedicalTranscriptionJobNameT&& value) {
57 m_medicalTranscriptionJobNameHasBeenSet = true;
58 m_medicalTranscriptionJobName = std::forward<MedicalTranscriptionJobNameT>(value);
59 }
60 template <typename MedicalTranscriptionJobNameT = Aws::String>
62 SetMedicalTranscriptionJobName(std::forward<MedicalTranscriptionJobNameT>(value));
63 return *this;
64 }
66
68
74 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
75 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
76 inline void SetLanguageCode(LanguageCode value) {
77 m_languageCodeHasBeenSet = true;
78 m_languageCode = value;
79 }
81 SetLanguageCode(value);
82 return *this;
83 }
85
87
96 inline int GetMediaSampleRateHertz() const { return m_mediaSampleRateHertz; }
97 inline bool MediaSampleRateHertzHasBeenSet() const { return m_mediaSampleRateHertzHasBeenSet; }
98 inline void SetMediaSampleRateHertz(int value) {
99 m_mediaSampleRateHertzHasBeenSet = true;
100 m_mediaSampleRateHertz = value;
101 }
104 return *this;
105 }
107
109
112 inline MediaFormat GetMediaFormat() const { return m_mediaFormat; }
113 inline bool MediaFormatHasBeenSet() const { return m_mediaFormatHasBeenSet; }
114 inline void SetMediaFormat(MediaFormat value) {
115 m_mediaFormatHasBeenSet = true;
116 m_mediaFormat = value;
117 }
119 SetMediaFormat(value);
120 return *this;
121 }
123
125
126 inline const Media& GetMedia() const { return m_media; }
127 inline bool MediaHasBeenSet() const { return m_mediaHasBeenSet; }
128 template <typename MediaT = Media>
129 void SetMedia(MediaT&& value) {
130 m_mediaHasBeenSet = true;
131 m_media = std::forward<MediaT>(value);
132 }
133 template <typename MediaT = Media>
135 SetMedia(std::forward<MediaT>(value));
136 return *this;
137 }
139
141
160 inline const Aws::String& GetOutputBucketName() const { return m_outputBucketName; }
161 inline bool OutputBucketNameHasBeenSet() const { return m_outputBucketNameHasBeenSet; }
162 template <typename OutputBucketNameT = Aws::String>
163 void SetOutputBucketName(OutputBucketNameT&& value) {
164 m_outputBucketNameHasBeenSet = true;
165 m_outputBucketName = std::forward<OutputBucketNameT>(value);
166 }
167 template <typename OutputBucketNameT = Aws::String>
169 SetOutputBucketName(std::forward<OutputBucketNameT>(value));
170 return *this;
171 }
173
175
202 inline const Aws::String& GetOutputKey() const { return m_outputKey; }
203 inline bool OutputKeyHasBeenSet() const { return m_outputKeyHasBeenSet; }
204 template <typename OutputKeyT = Aws::String>
205 void SetOutputKey(OutputKeyT&& value) {
206 m_outputKeyHasBeenSet = true;
207 m_outputKey = std::forward<OutputKeyT>(value);
208 }
209 template <typename OutputKeyT = Aws::String>
211 SetOutputKey(std::forward<OutputKeyT>(value));
212 return *this;
213 }
215
217
230 inline const Aws::String& GetOutputEncryptionKMSKeyId() const { return m_outputEncryptionKMSKeyId; }
231 inline bool OutputEncryptionKMSKeyIdHasBeenSet() const { return m_outputEncryptionKMSKeyIdHasBeenSet; }
232 template <typename OutputEncryptionKMSKeyIdT = Aws::String>
233 void SetOutputEncryptionKMSKeyId(OutputEncryptionKMSKeyIdT&& value) {
234 m_outputEncryptionKMSKeyIdHasBeenSet = true;
235 m_outputEncryptionKMSKeyId = std::forward<OutputEncryptionKMSKeyIdT>(value);
236 }
237 template <typename OutputEncryptionKMSKeyIdT = Aws::String>
239 SetOutputEncryptionKMSKeyId(std::forward<OutputEncryptionKMSKeyIdT>(value));
240 return *this;
241 }
243
245
254 inline const Aws::Map<Aws::String, Aws::String>& GetKMSEncryptionContext() const { return m_kMSEncryptionContext; }
255 inline bool KMSEncryptionContextHasBeenSet() const { return m_kMSEncryptionContextHasBeenSet; }
256 template <typename KMSEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
257 void SetKMSEncryptionContext(KMSEncryptionContextT&& value) {
258 m_kMSEncryptionContextHasBeenSet = true;
259 m_kMSEncryptionContext = std::forward<KMSEncryptionContextT>(value);
260 }
261 template <typename KMSEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
263 SetKMSEncryptionContext(std::forward<KMSEncryptionContextT>(value));
264 return *this;
265 }
266 template <typename KMSEncryptionContextKeyT = Aws::String, typename KMSEncryptionContextValueT = Aws::String>
267 StartMedicalTranscriptionJobRequest& AddKMSEncryptionContext(KMSEncryptionContextKeyT&& key, KMSEncryptionContextValueT&& value) {
268 m_kMSEncryptionContextHasBeenSet = true;
269 m_kMSEncryptionContext.emplace(std::forward<KMSEncryptionContextKeyT>(key), std::forward<KMSEncryptionContextValueT>(value));
270 return *this;
271 }
273
275
280 inline const MedicalTranscriptionSetting& GetSettings() const { return m_settings; }
281 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
282 template <typename SettingsT = MedicalTranscriptionSetting>
283 void SetSettings(SettingsT&& value) {
284 m_settingsHasBeenSet = true;
285 m_settings = std::forward<SettingsT>(value);
286 }
287 template <typename SettingsT = MedicalTranscriptionSetting>
289 SetSettings(std::forward<SettingsT>(value));
290 return *this;
291 }
293
295
301 inline MedicalContentIdentificationType GetContentIdentificationType() const { return m_contentIdentificationType; }
302 inline bool ContentIdentificationTypeHasBeenSet() const { return m_contentIdentificationTypeHasBeenSet; }
304 m_contentIdentificationTypeHasBeenSet = true;
305 m_contentIdentificationType = value;
306 }
309 return *this;
310 }
312
314
319 inline Specialty GetSpecialty() const { return m_specialty; }
320 inline bool SpecialtyHasBeenSet() const { return m_specialtyHasBeenSet; }
321 inline void SetSpecialty(Specialty value) {
322 m_specialtyHasBeenSet = true;
323 m_specialty = value;
324 }
326 SetSpecialty(value);
327 return *this;
328 }
330
332
340 inline Type GetType() const { return m_type; }
341 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
342 inline void SetType(Type value) {
343 m_typeHasBeenSet = true;
344 m_type = value;
345 }
347 SetType(value);
348 return *this;
349 }
351
353
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 bool m_medicalTranscriptionJobNameHasBeenSet = false;
382
383 LanguageCode m_languageCode{LanguageCode::NOT_SET};
384 bool m_languageCodeHasBeenSet = false;
385
386 int m_mediaSampleRateHertz{0};
387 bool m_mediaSampleRateHertzHasBeenSet = false;
388
389 MediaFormat m_mediaFormat{MediaFormat::NOT_SET};
390 bool m_mediaFormatHasBeenSet = false;
391
392 Media m_media;
393 bool m_mediaHasBeenSet = false;
394
395 Aws::String m_outputBucketName;
396 bool m_outputBucketNameHasBeenSet = false;
397
398 Aws::String m_outputKey;
399 bool m_outputKeyHasBeenSet = false;
400
401 Aws::String m_outputEncryptionKMSKeyId;
402 bool m_outputEncryptionKMSKeyIdHasBeenSet = false;
403
404 Aws::Map<Aws::String, Aws::String> m_kMSEncryptionContext;
405 bool m_kMSEncryptionContextHasBeenSet = false;
406
407 MedicalTranscriptionSetting m_settings;
408 bool m_settingsHasBeenSet = false;
409
411 bool m_contentIdentificationTypeHasBeenSet = false;
412
413 Specialty m_specialty{Specialty::NOT_SET};
414 bool m_specialtyHasBeenSet = false;
415
416 Type m_type{Type::NOT_SET};
417 bool m_typeHasBeenSet = false;
418
419 Aws::Vector<Tag> m_tags;
420 bool m_tagsHasBeenSet = false;
421};
422
423} // namespace Model
424} // namespace TranscribeService
425} // namespace Aws
StartMedicalTranscriptionJobRequest & WithContentIdentificationType(MedicalContentIdentificationType value)
AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartMedicalTranscriptionJobRequest & WithOutputBucketName(OutputBucketNameT &&value)
AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override
AWS_TRANSCRIBESERVICE_API StartMedicalTranscriptionJobRequest()=default
StartMedicalTranscriptionJobRequest & WithMediaFormat(MediaFormat value)
StartMedicalTranscriptionJobRequest & WithKMSEncryptionContext(KMSEncryptionContextT &&value)
StartMedicalTranscriptionJobRequest & WithMedicalTranscriptionJobName(MedicalTranscriptionJobNameT &&value)
StartMedicalTranscriptionJobRequest & WithOutputEncryptionKMSKeyId(OutputEncryptionKMSKeyIdT &&value)
StartMedicalTranscriptionJobRequest & AddKMSEncryptionContext(KMSEncryptionContextKeyT &&key, KMSEncryptionContextValueT &&value)
StartMedicalTranscriptionJobRequest & WithOutputKey(OutputKeyT &&value)
StartMedicalTranscriptionJobRequest & WithLanguageCode(LanguageCode value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector