AWS SDK for C++

AWS SDK for C++ Version 1.11.775

Loading...
Searching...
No Matches
ImportJobProperties.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/healthlake/HealthLake_EXPORTS.h>
10#include <aws/healthlake/model/InputDataConfig.h>
11#include <aws/healthlake/model/JobProgressReport.h>
12#include <aws/healthlake/model/JobStatus.h>
13#include <aws/healthlake/model/OutputDataConfig.h>
14#include <aws/healthlake/model/ValidationLevel.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace HealthLake {
26namespace Model {
27
34 public:
35 AWS_HEALTHLAKE_API ImportJobProperties() = default;
36 AWS_HEALTHLAKE_API ImportJobProperties(Aws::Utils::Json::JsonView jsonValue);
38 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetJobId() const { return m_jobId; }
45 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
46 template <typename JobIdT = Aws::String>
47 void SetJobId(JobIdT&& value) {
48 m_jobIdHasBeenSet = true;
49 m_jobId = std::forward<JobIdT>(value);
50 }
51 template <typename JobIdT = Aws::String>
52 ImportJobProperties& WithJobId(JobIdT&& value) {
53 SetJobId(std::forward<JobIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetJobName() const { return m_jobName; }
63 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
64 template <typename JobNameT = Aws::String>
65 void SetJobName(JobNameT&& value) {
66 m_jobNameHasBeenSet = true;
67 m_jobName = std::forward<JobNameT>(value);
68 }
69 template <typename JobNameT = Aws::String>
70 ImportJobProperties& WithJobName(JobNameT&& value) {
71 SetJobName(std::forward<JobNameT>(value));
72 return *this;
73 }
75
77
80 inline JobStatus GetJobStatus() const { return m_jobStatus; }
81 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
82 inline void SetJobStatus(JobStatus value) {
83 m_jobStatusHasBeenSet = true;
84 m_jobStatus = value;
85 }
87 SetJobStatus(value);
88 return *this;
89 }
91
93
96 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
97 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
98 template <typename SubmitTimeT = Aws::Utils::DateTime>
99 void SetSubmitTime(SubmitTimeT&& value) {
100 m_submitTimeHasBeenSet = true;
101 m_submitTime = std::forward<SubmitTimeT>(value);
102 }
103 template <typename SubmitTimeT = Aws::Utils::DateTime>
104 ImportJobProperties& WithSubmitTime(SubmitTimeT&& value) {
105 SetSubmitTime(std::forward<SubmitTimeT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
115 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
116 template <typename EndTimeT = Aws::Utils::DateTime>
117 void SetEndTime(EndTimeT&& value) {
118 m_endTimeHasBeenSet = true;
119 m_endTime = std::forward<EndTimeT>(value);
120 }
121 template <typename EndTimeT = Aws::Utils::DateTime>
122 ImportJobProperties& WithEndTime(EndTimeT&& value) {
123 SetEndTime(std::forward<EndTimeT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
133 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
134 template <typename DatastoreIdT = Aws::String>
135 void SetDatastoreId(DatastoreIdT&& value) {
136 m_datastoreIdHasBeenSet = true;
137 m_datastoreId = std::forward<DatastoreIdT>(value);
138 }
139 template <typename DatastoreIdT = Aws::String>
140 ImportJobProperties& WithDatastoreId(DatastoreIdT&& value) {
141 SetDatastoreId(std::forward<DatastoreIdT>(value));
142 return *this;
143 }
145
147
150 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
151 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
152 template <typename InputDataConfigT = InputDataConfig>
153 void SetInputDataConfig(InputDataConfigT&& value) {
154 m_inputDataConfigHasBeenSet = true;
155 m_inputDataConfig = std::forward<InputDataConfigT>(value);
156 }
157 template <typename InputDataConfigT = InputDataConfig>
158 ImportJobProperties& WithInputDataConfig(InputDataConfigT&& value) {
159 SetInputDataConfig(std::forward<InputDataConfigT>(value));
160 return *this;
161 }
163
165
166 inline const OutputDataConfig& GetJobOutputDataConfig() const { return m_jobOutputDataConfig; }
167 inline bool JobOutputDataConfigHasBeenSet() const { return m_jobOutputDataConfigHasBeenSet; }
168 template <typename JobOutputDataConfigT = OutputDataConfig>
169 void SetJobOutputDataConfig(JobOutputDataConfigT&& value) {
170 m_jobOutputDataConfigHasBeenSet = true;
171 m_jobOutputDataConfig = std::forward<JobOutputDataConfigT>(value);
172 }
173 template <typename JobOutputDataConfigT = OutputDataConfig>
174 ImportJobProperties& WithJobOutputDataConfig(JobOutputDataConfigT&& value) {
175 SetJobOutputDataConfig(std::forward<JobOutputDataConfigT>(value));
176 return *this;
177 }
179
181
185 inline const JobProgressReport& GetJobProgressReport() const { return m_jobProgressReport; }
186 inline bool JobProgressReportHasBeenSet() const { return m_jobProgressReportHasBeenSet; }
187 template <typename JobProgressReportT = JobProgressReport>
188 void SetJobProgressReport(JobProgressReportT&& value) {
189 m_jobProgressReportHasBeenSet = true;
190 m_jobProgressReport = std::forward<JobProgressReportT>(value);
191 }
192 template <typename JobProgressReportT = JobProgressReport>
193 ImportJobProperties& WithJobProgressReport(JobProgressReportT&& value) {
194 SetJobProgressReport(std::forward<JobProgressReportT>(value));
195 return *this;
196 }
198
200
204 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
205 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
206 template <typename DataAccessRoleArnT = Aws::String>
207 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
208 m_dataAccessRoleArnHasBeenSet = true;
209 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
210 }
211 template <typename DataAccessRoleArnT = Aws::String>
212 ImportJobProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) {
213 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
214 return *this;
215 }
217
219
223 inline const Aws::String& GetMessage() const { return m_message; }
224 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
225 template <typename MessageT = Aws::String>
226 void SetMessage(MessageT&& value) {
227 m_messageHasBeenSet = true;
228 m_message = std::forward<MessageT>(value);
229 }
230 template <typename MessageT = Aws::String>
231 ImportJobProperties& WithMessage(MessageT&& value) {
232 SetMessage(std::forward<MessageT>(value));
233 return *this;
234 }
236
238
241 inline ValidationLevel GetValidationLevel() const { return m_validationLevel; }
242 inline bool ValidationLevelHasBeenSet() const { return m_validationLevelHasBeenSet; }
244 m_validationLevelHasBeenSet = true;
245 m_validationLevel = value;
246 }
248 SetValidationLevel(value);
249 return *this;
250 }
252 private:
253 Aws::String m_jobId;
254
255 Aws::String m_jobName;
256
257 JobStatus m_jobStatus{JobStatus::NOT_SET};
258
259 Aws::Utils::DateTime m_submitTime{};
260
261 Aws::Utils::DateTime m_endTime{};
262
263 Aws::String m_datastoreId;
264
265 InputDataConfig m_inputDataConfig;
266
267 OutputDataConfig m_jobOutputDataConfig;
268
269 JobProgressReport m_jobProgressReport;
270
271 Aws::String m_dataAccessRoleArn;
272
273 Aws::String m_message;
274
275 ValidationLevel m_validationLevel{ValidationLevel::NOT_SET};
276 bool m_jobIdHasBeenSet = false;
277 bool m_jobNameHasBeenSet = false;
278 bool m_jobStatusHasBeenSet = false;
279 bool m_submitTimeHasBeenSet = false;
280 bool m_endTimeHasBeenSet = false;
281 bool m_datastoreIdHasBeenSet = false;
282 bool m_inputDataConfigHasBeenSet = false;
283 bool m_jobOutputDataConfigHasBeenSet = false;
284 bool m_jobProgressReportHasBeenSet = false;
285 bool m_dataAccessRoleArnHasBeenSet = false;
286 bool m_messageHasBeenSet = false;
287 bool m_validationLevelHasBeenSet = false;
288};
289
290} // namespace Model
291} // namespace HealthLake
292} // namespace Aws
AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetSubmitTime() const
void SetInputDataConfig(InputDataConfigT &&value)
const OutputDataConfig & GetJobOutputDataConfig() const
const Aws::Utils::DateTime & GetEndTime() const
ImportJobProperties & WithValidationLevel(ValidationLevel value)
ImportJobProperties & WithInputDataConfig(InputDataConfigT &&value)
ImportJobProperties & WithJobStatus(JobStatus value)
ImportJobProperties & WithEndTime(EndTimeT &&value)
void SetJobProgressReport(JobProgressReportT &&value)
ImportJobProperties & WithSubmitTime(SubmitTimeT &&value)
ImportJobProperties & WithJobName(JobNameT &&value)
ImportJobProperties & WithJobId(JobIdT &&value)
void SetJobOutputDataConfig(JobOutputDataConfigT &&value)
ImportJobProperties & WithDatastoreId(DatastoreIdT &&value)
ImportJobProperties & WithJobOutputDataConfig(JobOutputDataConfigT &&value)
ImportJobProperties & WithMessage(MessageT &&value)
AWS_HEALTHLAKE_API ImportJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
ImportJobProperties & WithJobProgressReport(JobProgressReportT &&value)
AWS_HEALTHLAKE_API ImportJobProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_HEALTHLAKE_API ImportJobProperties()=default
const InputDataConfig & GetInputDataConfig() const
const JobProgressReport & GetJobProgressReport() const
void SetDataAccessRoleArn(DataAccessRoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue