AWS SDK for C++

AWS SDK for C++ Version 1.11.769

Loading...
Searching...
No Matches
ComprehendMedicalAsyncJobProperties.h
1
6#pragma once
7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/comprehendmedical/model/InputDataConfig.h>
9#include <aws/comprehendmedical/model/JobStatus.h>
10#include <aws/comprehendmedical/model/LanguageCode.h>
11#include <aws/comprehendmedical/model/OutputDataConfig.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ComprehendMedical {
25namespace Model {
26
33 public:
34 AWS_COMPREHENDMEDICAL_API ComprehendMedicalAsyncJobProperties() = default;
37 AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetJobId() const { return m_jobId; }
44 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
45 template <typename JobIdT = Aws::String>
46 void SetJobId(JobIdT&& value) {
47 m_jobIdHasBeenSet = true;
48 m_jobId = std::forward<JobIdT>(value);
49 }
50 template <typename JobIdT = Aws::String>
52 SetJobId(std::forward<JobIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetJobName() const { return m_jobName; }
62 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
63 template <typename JobNameT = Aws::String>
64 void SetJobName(JobNameT&& value) {
65 m_jobNameHasBeenSet = true;
66 m_jobName = std::forward<JobNameT>(value);
67 }
68 template <typename JobNameT = Aws::String>
70 SetJobName(std::forward<JobNameT>(value));
71 return *this;
72 }
74
76
81 inline JobStatus GetJobStatus() const { return m_jobStatus; }
82 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
83 inline void SetJobStatus(JobStatus value) {
84 m_jobStatusHasBeenSet = true;
85 m_jobStatus = value;
86 }
88 SetJobStatus(value);
89 return *this;
90 }
92
94
97 inline const Aws::String& GetMessage() const { return m_message; }
98 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
99 template <typename MessageT = Aws::String>
100 void SetMessage(MessageT&& value) {
101 m_messageHasBeenSet = true;
102 m_message = std::forward<MessageT>(value);
103 }
104 template <typename MessageT = Aws::String>
106 SetMessage(std::forward<MessageT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
116 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
117 template <typename SubmitTimeT = Aws::Utils::DateTime>
118 void SetSubmitTime(SubmitTimeT&& value) {
119 m_submitTimeHasBeenSet = true;
120 m_submitTime = std::forward<SubmitTimeT>(value);
121 }
122 template <typename SubmitTimeT = Aws::Utils::DateTime>
124 SetSubmitTime(std::forward<SubmitTimeT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
134 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
135 template <typename EndTimeT = Aws::Utils::DateTime>
136 void SetEndTime(EndTimeT&& value) {
137 m_endTimeHasBeenSet = true;
138 m_endTime = std::forward<EndTimeT>(value);
139 }
140 template <typename EndTimeT = Aws::Utils::DateTime>
142 SetEndTime(std::forward<EndTimeT>(value));
143 return *this;
144 }
146
148
155 inline const Aws::Utils::DateTime& GetExpirationTime() const { return m_expirationTime; }
156 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
157 template <typename ExpirationTimeT = Aws::Utils::DateTime>
158 void SetExpirationTime(ExpirationTimeT&& value) {
159 m_expirationTimeHasBeenSet = true;
160 m_expirationTime = std::forward<ExpirationTimeT>(value);
161 }
162 template <typename ExpirationTimeT = Aws::Utils::DateTime>
164 SetExpirationTime(std::forward<ExpirationTimeT>(value));
165 return *this;
166 }
168
170
174 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
175 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
176 template <typename InputDataConfigT = InputDataConfig>
177 void SetInputDataConfig(InputDataConfigT&& value) {
178 m_inputDataConfigHasBeenSet = true;
179 m_inputDataConfig = std::forward<InputDataConfigT>(value);
180 }
181 template <typename InputDataConfigT = InputDataConfig>
183 SetInputDataConfig(std::forward<InputDataConfigT>(value));
184 return *this;
185 }
187
189
193 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
194 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
195 template <typename OutputDataConfigT = OutputDataConfig>
196 void SetOutputDataConfig(OutputDataConfigT&& value) {
197 m_outputDataConfigHasBeenSet = true;
198 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
199 }
200 template <typename OutputDataConfigT = OutputDataConfig>
202 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
203 return *this;
204 }
206
208
211 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
212 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
213 inline void SetLanguageCode(LanguageCode value) {
214 m_languageCodeHasBeenSet = true;
215 m_languageCode = value;
216 }
218 SetLanguageCode(value);
219 return *this;
220 }
222
224
228 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
229 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
230 template <typename DataAccessRoleArnT = Aws::String>
231 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
232 m_dataAccessRoleArnHasBeenSet = true;
233 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
234 }
235 template <typename DataAccessRoleArnT = Aws::String>
237 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
238 return *this;
239 }
241
243
246 inline const Aws::String& GetManifestFilePath() const { return m_manifestFilePath; }
247 inline bool ManifestFilePathHasBeenSet() const { return m_manifestFilePathHasBeenSet; }
248 template <typename ManifestFilePathT = Aws::String>
249 void SetManifestFilePath(ManifestFilePathT&& value) {
250 m_manifestFilePathHasBeenSet = true;
251 m_manifestFilePath = std::forward<ManifestFilePathT>(value);
252 }
253 template <typename ManifestFilePathT = Aws::String>
255 SetManifestFilePath(std::forward<ManifestFilePathT>(value));
256 return *this;
257 }
259
261
265 inline const Aws::String& GetKMSKey() const { return m_kMSKey; }
266 inline bool KMSKeyHasBeenSet() const { return m_kMSKeyHasBeenSet; }
267 template <typename KMSKeyT = Aws::String>
268 void SetKMSKey(KMSKeyT&& value) {
269 m_kMSKeyHasBeenSet = true;
270 m_kMSKey = std::forward<KMSKeyT>(value);
271 }
272 template <typename KMSKeyT = Aws::String>
274 SetKMSKey(std::forward<KMSKeyT>(value));
275 return *this;
276 }
278
280
285 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
286 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
287 template <typename ModelVersionT = Aws::String>
288 void SetModelVersion(ModelVersionT&& value) {
289 m_modelVersionHasBeenSet = true;
290 m_modelVersion = std::forward<ModelVersionT>(value);
291 }
292 template <typename ModelVersionT = Aws::String>
294 SetModelVersion(std::forward<ModelVersionT>(value));
295 return *this;
296 }
298 private:
299 Aws::String m_jobId;
300
301 Aws::String m_jobName;
302
303 JobStatus m_jobStatus{JobStatus::NOT_SET};
304
305 Aws::String m_message;
306
307 Aws::Utils::DateTime m_submitTime{};
308
309 Aws::Utils::DateTime m_endTime{};
310
311 Aws::Utils::DateTime m_expirationTime{};
312
313 InputDataConfig m_inputDataConfig;
314
315 OutputDataConfig m_outputDataConfig;
316
317 LanguageCode m_languageCode{LanguageCode::NOT_SET};
318
319 Aws::String m_dataAccessRoleArn;
320
321 Aws::String m_manifestFilePath;
322
323 Aws::String m_kMSKey;
324
325 Aws::String m_modelVersion;
326 bool m_jobIdHasBeenSet = false;
327 bool m_jobNameHasBeenSet = false;
328 bool m_jobStatusHasBeenSet = false;
329 bool m_messageHasBeenSet = false;
330 bool m_submitTimeHasBeenSet = false;
331 bool m_endTimeHasBeenSet = false;
332 bool m_expirationTimeHasBeenSet = false;
333 bool m_inputDataConfigHasBeenSet = false;
334 bool m_outputDataConfigHasBeenSet = false;
335 bool m_languageCodeHasBeenSet = false;
336 bool m_dataAccessRoleArnHasBeenSet = false;
337 bool m_manifestFilePathHasBeenSet = false;
338 bool m_kMSKeyHasBeenSet = false;
339 bool m_modelVersionHasBeenSet = false;
340};
341
342} // namespace Model
343} // namespace ComprehendMedical
344} // namespace Aws
ComprehendMedicalAsyncJobProperties & WithSubmitTime(SubmitTimeT &&value)
ComprehendMedicalAsyncJobProperties & WithExpirationTime(ExpirationTimeT &&value)
ComprehendMedicalAsyncJobProperties & WithManifestFilePath(ManifestFilePathT &&value)
ComprehendMedicalAsyncJobProperties & WithLanguageCode(LanguageCode value)
ComprehendMedicalAsyncJobProperties & WithModelVersion(ModelVersionT &&value)
AWS_COMPREHENDMEDICAL_API ComprehendMedicalAsyncJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
ComprehendMedicalAsyncJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
AWS_COMPREHENDMEDICAL_API ComprehendMedicalAsyncJobProperties()=default
AWS_COMPREHENDMEDICAL_API ComprehendMedicalAsyncJobProperties(Aws::Utils::Json::JsonView jsonValue)
ComprehendMedicalAsyncJobProperties & WithOutputDataConfig(OutputDataConfigT &&value)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
ComprehendMedicalAsyncJobProperties & WithInputDataConfig(InputDataConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue