AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartMedicalTranscriptionJobRequest.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/TranscribeServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.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/core/utils/memory/stl/AWSMap.h>
14#include <aws/transcribe/model/MedicalTranscriptionSetting.h>
15#include <aws/transcribe/model/MedicalContentIdentificationType.h>
16#include <aws/transcribe/model/Specialty.h>
17#include <aws/transcribe/model/Type.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/transcribe/model/Tag.h>
20#include <utility>
21
22namespace Aws
23{
24namespace TranscribeService
25{
26namespace Model
27{
28
32 {
33 public:
34 AWS_TRANSCRIBESERVICE_API StartMedicalTranscriptionJobRequest();
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "StartMedicalTranscriptionJob"; }
41
42 AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override;
43
44 AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
45
46
48
57 inline const Aws::String& GetMedicalTranscriptionJobName() const{ return m_medicalTranscriptionJobName; }
58 inline bool MedicalTranscriptionJobNameHasBeenSet() const { return m_medicalTranscriptionJobNameHasBeenSet; }
59 inline void SetMedicalTranscriptionJobName(const Aws::String& value) { m_medicalTranscriptionJobNameHasBeenSet = true; m_medicalTranscriptionJobName = value; }
60 inline void SetMedicalTranscriptionJobName(Aws::String&& value) { m_medicalTranscriptionJobNameHasBeenSet = true; m_medicalTranscriptionJobName = std::move(value); }
61 inline void SetMedicalTranscriptionJobName(const char* value) { m_medicalTranscriptionJobNameHasBeenSet = true; m_medicalTranscriptionJobName.assign(value); }
66
68
74 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
75 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
76 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
77 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
79 inline StartMedicalTranscriptionJobRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
81
83
92 inline int GetMediaSampleRateHertz() const{ return m_mediaSampleRateHertz; }
93 inline bool MediaSampleRateHertzHasBeenSet() const { return m_mediaSampleRateHertzHasBeenSet; }
94 inline void SetMediaSampleRateHertz(int value) { m_mediaSampleRateHertzHasBeenSet = true; m_mediaSampleRateHertz = value; }
97
99
102 inline const MediaFormat& GetMediaFormat() const{ return m_mediaFormat; }
103 inline bool MediaFormatHasBeenSet() const { return m_mediaFormatHasBeenSet; }
104 inline void SetMediaFormat(const MediaFormat& value) { m_mediaFormatHasBeenSet = true; m_mediaFormat = value; }
105 inline void SetMediaFormat(MediaFormat&& value) { m_mediaFormatHasBeenSet = true; m_mediaFormat = std::move(value); }
107 inline StartMedicalTranscriptionJobRequest& WithMediaFormat(MediaFormat&& value) { SetMediaFormat(std::move(value)); return *this;}
109
111
112 inline const Media& GetMedia() const{ return m_media; }
113 inline bool MediaHasBeenSet() const { return m_mediaHasBeenSet; }
114 inline void SetMedia(const Media& value) { m_mediaHasBeenSet = true; m_media = value; }
115 inline void SetMedia(Media&& value) { m_mediaHasBeenSet = true; m_media = std::move(value); }
116 inline StartMedicalTranscriptionJobRequest& WithMedia(const Media& value) { SetMedia(value); return *this;}
117 inline StartMedicalTranscriptionJobRequest& WithMedia(Media&& value) { SetMedia(std::move(value)); return *this;}
119
121
140 inline const Aws::String& GetOutputBucketName() const{ return m_outputBucketName; }
141 inline bool OutputBucketNameHasBeenSet() const { return m_outputBucketNameHasBeenSet; }
142 inline void SetOutputBucketName(const Aws::String& value) { m_outputBucketNameHasBeenSet = true; m_outputBucketName = value; }
143 inline void SetOutputBucketName(Aws::String&& value) { m_outputBucketNameHasBeenSet = true; m_outputBucketName = std::move(value); }
144 inline void SetOutputBucketName(const char* value) { m_outputBucketNameHasBeenSet = true; m_outputBucketName.assign(value); }
147 inline StartMedicalTranscriptionJobRequest& WithOutputBucketName(const char* value) { SetOutputBucketName(value); return *this;}
149
151
178 inline const Aws::String& GetOutputKey() const{ return m_outputKey; }
179 inline bool OutputKeyHasBeenSet() const { return m_outputKeyHasBeenSet; }
180 inline void SetOutputKey(const Aws::String& value) { m_outputKeyHasBeenSet = true; m_outputKey = value; }
181 inline void SetOutputKey(Aws::String&& value) { m_outputKeyHasBeenSet = true; m_outputKey = std::move(value); }
182 inline void SetOutputKey(const char* value) { m_outputKeyHasBeenSet = true; m_outputKey.assign(value); }
183 inline StartMedicalTranscriptionJobRequest& WithOutputKey(const Aws::String& value) { SetOutputKey(value); return *this;}
184 inline StartMedicalTranscriptionJobRequest& WithOutputKey(Aws::String&& value) { SetOutputKey(std::move(value)); return *this;}
185 inline StartMedicalTranscriptionJobRequest& WithOutputKey(const char* value) { SetOutputKey(value); return *this;}
187
189
212 inline const Aws::String& GetOutputEncryptionKMSKeyId() const{ return m_outputEncryptionKMSKeyId; }
213 inline bool OutputEncryptionKMSKeyIdHasBeenSet() const { return m_outputEncryptionKMSKeyIdHasBeenSet; }
214 inline void SetOutputEncryptionKMSKeyId(const Aws::String& value) { m_outputEncryptionKMSKeyIdHasBeenSet = true; m_outputEncryptionKMSKeyId = value; }
215 inline void SetOutputEncryptionKMSKeyId(Aws::String&& value) { m_outputEncryptionKMSKeyIdHasBeenSet = true; m_outputEncryptionKMSKeyId = std::move(value); }
216 inline void SetOutputEncryptionKMSKeyId(const char* value) { m_outputEncryptionKMSKeyIdHasBeenSet = true; m_outputEncryptionKMSKeyId.assign(value); }
221
223
232 inline const Aws::Map<Aws::String, Aws::String>& GetKMSEncryptionContext() const{ return m_kMSEncryptionContext; }
233 inline bool KMSEncryptionContextHasBeenSet() const { return m_kMSEncryptionContextHasBeenSet; }
234 inline void SetKMSEncryptionContext(const Aws::Map<Aws::String, Aws::String>& value) { m_kMSEncryptionContextHasBeenSet = true; m_kMSEncryptionContext = value; }
235 inline void SetKMSEncryptionContext(Aws::Map<Aws::String, Aws::String>&& value) { m_kMSEncryptionContextHasBeenSet = true; m_kMSEncryptionContext = std::move(value); }
238 inline StartMedicalTranscriptionJobRequest& AddKMSEncryptionContext(const Aws::String& key, const Aws::String& value) { m_kMSEncryptionContextHasBeenSet = true; m_kMSEncryptionContext.emplace(key, value); return *this; }
239 inline StartMedicalTranscriptionJobRequest& AddKMSEncryptionContext(Aws::String&& key, const Aws::String& value) { m_kMSEncryptionContextHasBeenSet = true; m_kMSEncryptionContext.emplace(std::move(key), value); return *this; }
240 inline StartMedicalTranscriptionJobRequest& AddKMSEncryptionContext(const Aws::String& key, Aws::String&& value) { m_kMSEncryptionContextHasBeenSet = true; m_kMSEncryptionContext.emplace(key, std::move(value)); return *this; }
241 inline StartMedicalTranscriptionJobRequest& AddKMSEncryptionContext(Aws::String&& key, Aws::String&& value) { m_kMSEncryptionContextHasBeenSet = true; m_kMSEncryptionContext.emplace(std::move(key), std::move(value)); return *this; }
242 inline StartMedicalTranscriptionJobRequest& AddKMSEncryptionContext(const char* key, Aws::String&& value) { m_kMSEncryptionContextHasBeenSet = true; m_kMSEncryptionContext.emplace(key, std::move(value)); return *this; }
243 inline StartMedicalTranscriptionJobRequest& AddKMSEncryptionContext(Aws::String&& key, const char* value) { m_kMSEncryptionContextHasBeenSet = true; m_kMSEncryptionContext.emplace(std::move(key), value); return *this; }
244 inline StartMedicalTranscriptionJobRequest& AddKMSEncryptionContext(const char* key, const char* value) { m_kMSEncryptionContextHasBeenSet = true; m_kMSEncryptionContext.emplace(key, value); return *this; }
246
248
253 inline const MedicalTranscriptionSetting& GetSettings() const{ return m_settings; }
254 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
255 inline void SetSettings(const MedicalTranscriptionSetting& value) { m_settingsHasBeenSet = true; m_settings = value; }
256 inline void SetSettings(MedicalTranscriptionSetting&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
260
262
268 inline const MedicalContentIdentificationType& GetContentIdentificationType() const{ return m_contentIdentificationType; }
269 inline bool ContentIdentificationTypeHasBeenSet() const { return m_contentIdentificationTypeHasBeenSet; }
270 inline void SetContentIdentificationType(const MedicalContentIdentificationType& value) { m_contentIdentificationTypeHasBeenSet = true; m_contentIdentificationType = value; }
271 inline void SetContentIdentificationType(MedicalContentIdentificationType&& value) { m_contentIdentificationTypeHasBeenSet = true; m_contentIdentificationType = std::move(value); }
275
277
282 inline const Specialty& GetSpecialty() const{ return m_specialty; }
283 inline bool SpecialtyHasBeenSet() const { return m_specialtyHasBeenSet; }
284 inline void SetSpecialty(const Specialty& value) { m_specialtyHasBeenSet = true; m_specialty = value; }
285 inline void SetSpecialty(Specialty&& value) { m_specialtyHasBeenSet = true; m_specialty = std::move(value); }
286 inline StartMedicalTranscriptionJobRequest& WithSpecialty(const Specialty& value) { SetSpecialty(value); return *this;}
287 inline StartMedicalTranscriptionJobRequest& WithSpecialty(Specialty&& value) { SetSpecialty(std::move(value)); return *this;}
289
291
299 inline const Type& GetType() const{ return m_type; }
300 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
301 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
302 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
303 inline StartMedicalTranscriptionJobRequest& WithType(const Type& value) { SetType(value); return *this;}
304 inline StartMedicalTranscriptionJobRequest& WithType(Type&& value) { SetType(std::move(value)); return *this;}
306
308
315 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
316 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
317 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
318 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
319 inline StartMedicalTranscriptionJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
320 inline StartMedicalTranscriptionJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
321 inline StartMedicalTranscriptionJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
322 inline StartMedicalTranscriptionJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
324 private:
325
326 Aws::String m_medicalTranscriptionJobName;
327 bool m_medicalTranscriptionJobNameHasBeenSet = false;
328
329 LanguageCode m_languageCode;
330 bool m_languageCodeHasBeenSet = false;
331
332 int m_mediaSampleRateHertz;
333 bool m_mediaSampleRateHertzHasBeenSet = false;
334
335 MediaFormat m_mediaFormat;
336 bool m_mediaFormatHasBeenSet = false;
337
338 Media m_media;
339 bool m_mediaHasBeenSet = false;
340
341 Aws::String m_outputBucketName;
342 bool m_outputBucketNameHasBeenSet = false;
343
344 Aws::String m_outputKey;
345 bool m_outputKeyHasBeenSet = false;
346
347 Aws::String m_outputEncryptionKMSKeyId;
348 bool m_outputEncryptionKMSKeyIdHasBeenSet = false;
349
350 Aws::Map<Aws::String, Aws::String> m_kMSEncryptionContext;
351 bool m_kMSEncryptionContextHasBeenSet = false;
352
354 bool m_settingsHasBeenSet = false;
355
356 MedicalContentIdentificationType m_contentIdentificationType;
357 bool m_contentIdentificationTypeHasBeenSet = false;
358
359 Specialty m_specialty;
360 bool m_specialtyHasBeenSet = false;
361
362 Type m_type;
363 bool m_typeHasBeenSet = false;
364
365 Aws::Vector<Tag> m_tags;
366 bool m_tagsHasBeenSet = false;
367 };
368
369} // namespace Model
370} // namespace TranscribeService
371} // namespace Aws
StartMedicalTranscriptionJobRequest & WithOutputEncryptionKMSKeyId(const Aws::String &value)
StartMedicalTranscriptionJobRequest & WithMedicalTranscriptionJobName(const char *value)
StartMedicalTranscriptionJobRequest & AddKMSEncryptionContext(const char *key, Aws::String &&value)
StartMedicalTranscriptionJobRequest & WithOutputKey(const Aws::String &value)
StartMedicalTranscriptionJobRequest & WithLanguageCode(LanguageCode &&value)
AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartMedicalTranscriptionJobRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override
StartMedicalTranscriptionJobRequest & WithSpecialty(const Specialty &value)
StartMedicalTranscriptionJobRequest & WithTags(const Aws::Vector< Tag > &value)
StartMedicalTranscriptionJobRequest & WithMediaFormat(MediaFormat &&value)
StartMedicalTranscriptionJobRequest & WithSettings(const MedicalTranscriptionSetting &value)
StartMedicalTranscriptionJobRequest & WithContentIdentificationType(const MedicalContentIdentificationType &value)
StartMedicalTranscriptionJobRequest & WithKMSEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
StartMedicalTranscriptionJobRequest & WithOutputBucketName(const char *value)
StartMedicalTranscriptionJobRequest & AddKMSEncryptionContext(Aws::String &&key, const char *value)
void SetKMSEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
StartMedicalTranscriptionJobRequest & WithLanguageCode(const LanguageCode &value)
StartMedicalTranscriptionJobRequest & WithOutputKey(Aws::String &&value)
StartMedicalTranscriptionJobRequest & AddKMSEncryptionContext(const Aws::String &key, const Aws::String &value)
StartMedicalTranscriptionJobRequest & AddKMSEncryptionContext(Aws::String &&key, const Aws::String &value)
StartMedicalTranscriptionJobRequest & WithKMSEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
StartMedicalTranscriptionJobRequest & WithMediaFormat(const MediaFormat &value)
StartMedicalTranscriptionJobRequest & AddKMSEncryptionContext(const Aws::String &key, Aws::String &&value)
StartMedicalTranscriptionJobRequest & WithOutputEncryptionKMSKeyId(const char *value)
StartMedicalTranscriptionJobRequest & WithSettings(MedicalTranscriptionSetting &&value)
StartMedicalTranscriptionJobRequest & AddKMSEncryptionContext(const char *key, const char *value)
StartMedicalTranscriptionJobRequest & WithOutputEncryptionKMSKeyId(Aws::String &&value)
StartMedicalTranscriptionJobRequest & WithOutputBucketName(const Aws::String &value)
StartMedicalTranscriptionJobRequest & WithMedicalTranscriptionJobName(const Aws::String &value)
StartMedicalTranscriptionJobRequest & WithOutputBucketName(Aws::String &&value)
StartMedicalTranscriptionJobRequest & WithMedicalTranscriptionJobName(Aws::String &&value)
StartMedicalTranscriptionJobRequest & AddKMSEncryptionContext(Aws::String &&key, Aws::String &&value)
StartMedicalTranscriptionJobRequest & WithContentIdentificationType(MedicalContentIdentificationType &&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