AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename JobIdT = Aws::String>
52 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
53 template<typename JobIdT = Aws::String>
54 ComprehendMedicalAsyncJobProperties& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
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) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
65 template<typename JobNameT = Aws::String>
66 ComprehendMedicalAsyncJobProperties& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
68
70
75 inline JobStatus GetJobStatus() const { return m_jobStatus; }
76 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
77 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
80
82
85 inline const Aws::String& GetMessage() const { return m_message; }
86 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
87 template<typename MessageT = Aws::String>
88 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
89 template<typename MessageT = Aws::String>
90 ComprehendMedicalAsyncJobProperties& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
98 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
99 template<typename SubmitTimeT = Aws::Utils::DateTime>
100 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::forward<SubmitTimeT>(value); }
101 template<typename SubmitTimeT = Aws::Utils::DateTime>
102 ComprehendMedicalAsyncJobProperties& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
110 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
111 template<typename EndTimeT = Aws::Utils::DateTime>
112 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
113 template<typename EndTimeT = Aws::Utils::DateTime>
114 ComprehendMedicalAsyncJobProperties& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
116
118
125 inline const Aws::Utils::DateTime& GetExpirationTime() const { return m_expirationTime; }
126 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
127 template<typename ExpirationTimeT = Aws::Utils::DateTime>
128 void SetExpirationTime(ExpirationTimeT&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::forward<ExpirationTimeT>(value); }
129 template<typename ExpirationTimeT = Aws::Utils::DateTime>
130 ComprehendMedicalAsyncJobProperties& WithExpirationTime(ExpirationTimeT&& value) { SetExpirationTime(std::forward<ExpirationTimeT>(value)); return *this;}
132
134
138 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
139 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
140 template<typename InputDataConfigT = InputDataConfig>
141 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
142 template<typename InputDataConfigT = InputDataConfig>
143 ComprehendMedicalAsyncJobProperties& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
145
147
151 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
152 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
153 template<typename OutputDataConfigT = OutputDataConfig>
154 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
155 template<typename OutputDataConfigT = OutputDataConfig>
156 ComprehendMedicalAsyncJobProperties& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
158
160
163 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
164 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
165 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
168
170
174 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
175 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
176 template<typename DataAccessRoleArnT = Aws::String>
177 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
178 template<typename DataAccessRoleArnT = Aws::String>
179 ComprehendMedicalAsyncJobProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
181
183
186 inline const Aws::String& GetManifestFilePath() const { return m_manifestFilePath; }
187 inline bool ManifestFilePathHasBeenSet() const { return m_manifestFilePathHasBeenSet; }
188 template<typename ManifestFilePathT = Aws::String>
189 void SetManifestFilePath(ManifestFilePathT&& value) { m_manifestFilePathHasBeenSet = true; m_manifestFilePath = std::forward<ManifestFilePathT>(value); }
190 template<typename ManifestFilePathT = Aws::String>
191 ComprehendMedicalAsyncJobProperties& WithManifestFilePath(ManifestFilePathT&& value) { SetManifestFilePath(std::forward<ManifestFilePathT>(value)); return *this;}
193
195
199 inline const Aws::String& GetKMSKey() const { return m_kMSKey; }
200 inline bool KMSKeyHasBeenSet() const { return m_kMSKeyHasBeenSet; }
201 template<typename KMSKeyT = Aws::String>
202 void SetKMSKey(KMSKeyT&& value) { m_kMSKeyHasBeenSet = true; m_kMSKey = std::forward<KMSKeyT>(value); }
203 template<typename KMSKeyT = Aws::String>
204 ComprehendMedicalAsyncJobProperties& WithKMSKey(KMSKeyT&& value) { SetKMSKey(std::forward<KMSKeyT>(value)); return *this;}
206
208
213 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
214 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
215 template<typename ModelVersionT = Aws::String>
216 void SetModelVersion(ModelVersionT&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::forward<ModelVersionT>(value); }
217 template<typename ModelVersionT = Aws::String>
218 ComprehendMedicalAsyncJobProperties& WithModelVersion(ModelVersionT&& value) { SetModelVersion(std::forward<ModelVersionT>(value)); return *this;}
220 private:
221
222 Aws::String m_jobId;
223 bool m_jobIdHasBeenSet = false;
224
225 Aws::String m_jobName;
226 bool m_jobNameHasBeenSet = false;
227
228 JobStatus m_jobStatus{JobStatus::NOT_SET};
229 bool m_jobStatusHasBeenSet = false;
230
231 Aws::String m_message;
232 bool m_messageHasBeenSet = false;
233
234 Aws::Utils::DateTime m_submitTime{};
235 bool m_submitTimeHasBeenSet = false;
236
237 Aws::Utils::DateTime m_endTime{};
238 bool m_endTimeHasBeenSet = false;
239
240 Aws::Utils::DateTime m_expirationTime{};
241 bool m_expirationTimeHasBeenSet = false;
242
243 InputDataConfig m_inputDataConfig;
244 bool m_inputDataConfigHasBeenSet = false;
245
246 OutputDataConfig m_outputDataConfig;
247 bool m_outputDataConfigHasBeenSet = false;
248
249 LanguageCode m_languageCode{LanguageCode::NOT_SET};
250 bool m_languageCodeHasBeenSet = false;
251
252 Aws::String m_dataAccessRoleArn;
253 bool m_dataAccessRoleArnHasBeenSet = false;
254
255 Aws::String m_manifestFilePath;
256 bool m_manifestFilePathHasBeenSet = false;
257
258 Aws::String m_kMSKey;
259 bool m_kMSKeyHasBeenSet = false;
260
261 Aws::String m_modelVersion;
262 bool m_modelVersionHasBeenSet = false;
263 };
264
265} // namespace Model
266} // namespace ComprehendMedical
267} // 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