AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComprehendMedicalAsyncJobProperties.h
1
6#pragma once
7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehendmedical/model/JobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/comprehendmedical/model/InputDataConfig.h>
12#include <aws/comprehendmedical/model/OutputDataConfig.h>
13#include <aws/comprehendmedical/model/LanguageCode.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace ComprehendMedical
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_COMPREHENDMEDICAL_API ComprehendMedicalAsyncJobProperties();
42 AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetJobId() const{ return m_jobId; }
50 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
51 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
52 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
53 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
54 inline ComprehendMedicalAsyncJobProperties& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
55 inline ComprehendMedicalAsyncJobProperties& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
56 inline ComprehendMedicalAsyncJobProperties& WithJobId(const char* value) { SetJobId(value); return *this;}
58
60
63 inline const Aws::String& GetJobName() const{ return m_jobName; }
64 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
65 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
66 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
67 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
68 inline ComprehendMedicalAsyncJobProperties& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
69 inline ComprehendMedicalAsyncJobProperties& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
70 inline ComprehendMedicalAsyncJobProperties& WithJobName(const char* value) { SetJobName(value); return *this;}
72
74
79 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
80 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
81 inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
82 inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
83 inline ComprehendMedicalAsyncJobProperties& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
84 inline ComprehendMedicalAsyncJobProperties& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
86
88
91 inline const Aws::String& GetMessage() const{ return m_message; }
92 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
93 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
94 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
95 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
96 inline ComprehendMedicalAsyncJobProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
97 inline ComprehendMedicalAsyncJobProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
98 inline ComprehendMedicalAsyncJobProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
106 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
107 inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; }
108 inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); }
112
114
117 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
118 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
119 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
120 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
122 inline ComprehendMedicalAsyncJobProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
124
126
133 inline const Aws::Utils::DateTime& GetExpirationTime() const{ return m_expirationTime; }
134 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
135 inline void SetExpirationTime(const Aws::Utils::DateTime& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = value; }
136 inline void SetExpirationTime(Aws::Utils::DateTime&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::move(value); }
140
142
146 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
147 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
148 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
149 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
153
155
159 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
160 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
161 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
162 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
166
168
171 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
172 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
173 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
174 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
176 inline ComprehendMedicalAsyncJobProperties& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
178
180
184 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
185 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
186 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
187 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
188 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
191 inline ComprehendMedicalAsyncJobProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
193
195
198 inline const Aws::String& GetManifestFilePath() const{ return m_manifestFilePath; }
199 inline bool ManifestFilePathHasBeenSet() const { return m_manifestFilePathHasBeenSet; }
200 inline void SetManifestFilePath(const Aws::String& value) { m_manifestFilePathHasBeenSet = true; m_manifestFilePath = value; }
201 inline void SetManifestFilePath(Aws::String&& value) { m_manifestFilePathHasBeenSet = true; m_manifestFilePath = std::move(value); }
202 inline void SetManifestFilePath(const char* value) { m_manifestFilePathHasBeenSet = true; m_manifestFilePath.assign(value); }
205 inline ComprehendMedicalAsyncJobProperties& WithManifestFilePath(const char* value) { SetManifestFilePath(value); return *this;}
207
209
213 inline const Aws::String& GetKMSKey() const{ return m_kMSKey; }
214 inline bool KMSKeyHasBeenSet() const { return m_kMSKeyHasBeenSet; }
215 inline void SetKMSKey(const Aws::String& value) { m_kMSKeyHasBeenSet = true; m_kMSKey = value; }
216 inline void SetKMSKey(Aws::String&& value) { m_kMSKeyHasBeenSet = true; m_kMSKey = std::move(value); }
217 inline void SetKMSKey(const char* value) { m_kMSKeyHasBeenSet = true; m_kMSKey.assign(value); }
218 inline ComprehendMedicalAsyncJobProperties& WithKMSKey(const Aws::String& value) { SetKMSKey(value); return *this;}
219 inline ComprehendMedicalAsyncJobProperties& WithKMSKey(Aws::String&& value) { SetKMSKey(std::move(value)); return *this;}
220 inline ComprehendMedicalAsyncJobProperties& WithKMSKey(const char* value) { SetKMSKey(value); return *this;}
222
224
229 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
230 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
231 inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
232 inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
233 inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
235 inline ComprehendMedicalAsyncJobProperties& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
236 inline ComprehendMedicalAsyncJobProperties& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
238 private:
239
240 Aws::String m_jobId;
241 bool m_jobIdHasBeenSet = false;
242
243 Aws::String m_jobName;
244 bool m_jobNameHasBeenSet = false;
245
246 JobStatus m_jobStatus;
247 bool m_jobStatusHasBeenSet = false;
248
249 Aws::String m_message;
250 bool m_messageHasBeenSet = false;
251
252 Aws::Utils::DateTime m_submitTime;
253 bool m_submitTimeHasBeenSet = false;
254
255 Aws::Utils::DateTime m_endTime;
256 bool m_endTimeHasBeenSet = false;
257
258 Aws::Utils::DateTime m_expirationTime;
259 bool m_expirationTimeHasBeenSet = false;
260
261 InputDataConfig m_inputDataConfig;
262 bool m_inputDataConfigHasBeenSet = false;
263
264 OutputDataConfig m_outputDataConfig;
265 bool m_outputDataConfigHasBeenSet = false;
266
267 LanguageCode m_languageCode;
268 bool m_languageCodeHasBeenSet = false;
269
270 Aws::String m_dataAccessRoleArn;
271 bool m_dataAccessRoleArnHasBeenSet = false;
272
273 Aws::String m_manifestFilePath;
274 bool m_manifestFilePathHasBeenSet = false;
275
276 Aws::String m_kMSKey;
277 bool m_kMSKeyHasBeenSet = false;
278
279 Aws::String m_modelVersion;
280 bool m_modelVersionHasBeenSet = false;
281 };
282
283} // namespace Model
284} // namespace ComprehendMedical
285} // namespace Aws
ComprehendMedicalAsyncJobProperties & WithMessage(const Aws::String &value)
ComprehendMedicalAsyncJobProperties & WithExpirationTime(Aws::Utils::DateTime &&value)
ComprehendMedicalAsyncJobProperties & WithModelVersion(const char *value)
ComprehendMedicalAsyncJobProperties & WithManifestFilePath(const Aws::String &value)
ComprehendMedicalAsyncJobProperties & WithJobId(const Aws::String &value)
ComprehendMedicalAsyncJobProperties & WithModelVersion(Aws::String &&value)
ComprehendMedicalAsyncJobProperties & WithJobId(Aws::String &&value)
ComprehendMedicalAsyncJobProperties & WithEndTime(Aws::Utils::DateTime &&value)
ComprehendMedicalAsyncJobProperties & WithKMSKey(const Aws::String &value)
ComprehendMedicalAsyncJobProperties & WithDataAccessRoleArn(Aws::String &&value)
ComprehendMedicalAsyncJobProperties & WithManifestFilePath(const char *value)
ComprehendMedicalAsyncJobProperties & WithSubmitTime(Aws::Utils::DateTime &&value)
AWS_COMPREHENDMEDICAL_API ComprehendMedicalAsyncJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
ComprehendMedicalAsyncJobProperties & WithJobStatus(const JobStatus &value)
AWS_COMPREHENDMEDICAL_API ComprehendMedicalAsyncJobProperties(Aws::Utils::Json::JsonView jsonValue)
ComprehendMedicalAsyncJobProperties & WithOutputDataConfig(const OutputDataConfig &value)
ComprehendMedicalAsyncJobProperties & WithOutputDataConfig(OutputDataConfig &&value)
ComprehendMedicalAsyncJobProperties & WithDataAccessRoleArn(const char *value)
ComprehendMedicalAsyncJobProperties & WithModelVersion(const Aws::String &value)
ComprehendMedicalAsyncJobProperties & WithInputDataConfig(const InputDataConfig &value)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
ComprehendMedicalAsyncJobProperties & WithLanguageCode(const LanguageCode &value)
ComprehendMedicalAsyncJobProperties & WithKMSKey(Aws::String &&value)
ComprehendMedicalAsyncJobProperties & WithSubmitTime(const Aws::Utils::DateTime &value)
ComprehendMedicalAsyncJobProperties & WithDataAccessRoleArn(const Aws::String &value)
ComprehendMedicalAsyncJobProperties & WithJobStatus(JobStatus &&value)
ComprehendMedicalAsyncJobProperties & WithJobName(const Aws::String &value)
ComprehendMedicalAsyncJobProperties & WithEndTime(const Aws::Utils::DateTime &value)
ComprehendMedicalAsyncJobProperties & WithLanguageCode(LanguageCode &&value)
ComprehendMedicalAsyncJobProperties & WithExpirationTime(const Aws::Utils::DateTime &value)
ComprehendMedicalAsyncJobProperties & WithMessage(Aws::String &&value)
ComprehendMedicalAsyncJobProperties & WithInputDataConfig(InputDataConfig &&value)
ComprehendMedicalAsyncJobProperties & WithManifestFilePath(Aws::String &&value)
ComprehendMedicalAsyncJobProperties & WithJobName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue