AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
ImportJobProperties.h
1
6#pragma once
7#include <aws/healthlake/HealthLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/healthlake/model/JobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/healthlake/model/InputDataConfig.h>
12#include <aws/healthlake/model/OutputDataConfig.h>
13#include <aws/healthlake/model/JobProgressReport.h>
14#include <aws/healthlake/model/ValidationLevel.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace HealthLake
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_HEALTHLAKE_API ImportJobProperties() = default;
41 AWS_HEALTHLAKE_API ImportJobProperties(Aws::Utils::Json::JsonView jsonValue);
43 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetJobId() const { return m_jobId; }
51 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
52 template<typename JobIdT = Aws::String>
53 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
54 template<typename JobIdT = Aws::String>
55 ImportJobProperties& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
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) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
66 template<typename JobNameT = Aws::String>
67 ImportJobProperties& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
69
71
74 inline JobStatus GetJobStatus() const { return m_jobStatus; }
75 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
76 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
77 inline ImportJobProperties& WithJobStatus(JobStatus value) { SetJobStatus(value); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
85 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
86 template<typename SubmitTimeT = Aws::Utils::DateTime>
87 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::forward<SubmitTimeT>(value); }
88 template<typename SubmitTimeT = Aws::Utils::DateTime>
89 ImportJobProperties& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
97 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
98 template<typename EndTimeT = Aws::Utils::DateTime>
99 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
100 template<typename EndTimeT = Aws::Utils::DateTime>
101 ImportJobProperties& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
103
105
108 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
109 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
110 template<typename DatastoreIdT = Aws::String>
111 void SetDatastoreId(DatastoreIdT&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::forward<DatastoreIdT>(value); }
112 template<typename DatastoreIdT = Aws::String>
113 ImportJobProperties& WithDatastoreId(DatastoreIdT&& value) { SetDatastoreId(std::forward<DatastoreIdT>(value)); return *this;}
115
117
120 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
121 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
122 template<typename InputDataConfigT = InputDataConfig>
123 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
124 template<typename InputDataConfigT = InputDataConfig>
125 ImportJobProperties& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
127
129
130 inline const OutputDataConfig& GetJobOutputDataConfig() const { return m_jobOutputDataConfig; }
131 inline bool JobOutputDataConfigHasBeenSet() const { return m_jobOutputDataConfigHasBeenSet; }
132 template<typename JobOutputDataConfigT = OutputDataConfig>
133 void SetJobOutputDataConfig(JobOutputDataConfigT&& value) { m_jobOutputDataConfigHasBeenSet = true; m_jobOutputDataConfig = std::forward<JobOutputDataConfigT>(value); }
134 template<typename JobOutputDataConfigT = OutputDataConfig>
135 ImportJobProperties& WithJobOutputDataConfig(JobOutputDataConfigT&& value) { SetJobOutputDataConfig(std::forward<JobOutputDataConfigT>(value)); return *this;}
137
139
143 inline const JobProgressReport& GetJobProgressReport() const { return m_jobProgressReport; }
144 inline bool JobProgressReportHasBeenSet() const { return m_jobProgressReportHasBeenSet; }
145 template<typename JobProgressReportT = JobProgressReport>
146 void SetJobProgressReport(JobProgressReportT&& value) { m_jobProgressReportHasBeenSet = true; m_jobProgressReport = std::forward<JobProgressReportT>(value); }
147 template<typename JobProgressReportT = JobProgressReport>
148 ImportJobProperties& WithJobProgressReport(JobProgressReportT&& value) { SetJobProgressReport(std::forward<JobProgressReportT>(value)); return *this;}
150
152
156 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
157 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
158 template<typename DataAccessRoleArnT = Aws::String>
159 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
160 template<typename DataAccessRoleArnT = Aws::String>
161 ImportJobProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
163
165
169 inline const Aws::String& GetMessage() const { return m_message; }
170 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
171 template<typename MessageT = Aws::String>
172 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
173 template<typename MessageT = Aws::String>
174 ImportJobProperties& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
176
178
181 inline ValidationLevel GetValidationLevel() const { return m_validationLevel; }
182 inline bool ValidationLevelHasBeenSet() const { return m_validationLevelHasBeenSet; }
183 inline void SetValidationLevel(ValidationLevel value) { m_validationLevelHasBeenSet = true; m_validationLevel = value; }
186 private:
187
188 Aws::String m_jobId;
189 bool m_jobIdHasBeenSet = false;
190
191 Aws::String m_jobName;
192 bool m_jobNameHasBeenSet = false;
193
194 JobStatus m_jobStatus{JobStatus::NOT_SET};
195 bool m_jobStatusHasBeenSet = false;
196
197 Aws::Utils::DateTime m_submitTime{};
198 bool m_submitTimeHasBeenSet = false;
199
200 Aws::Utils::DateTime m_endTime{};
201 bool m_endTimeHasBeenSet = false;
202
203 Aws::String m_datastoreId;
204 bool m_datastoreIdHasBeenSet = false;
205
206 InputDataConfig m_inputDataConfig;
207 bool m_inputDataConfigHasBeenSet = false;
208
209 OutputDataConfig m_jobOutputDataConfig;
210 bool m_jobOutputDataConfigHasBeenSet = false;
211
212 JobProgressReport m_jobProgressReport;
213 bool m_jobProgressReportHasBeenSet = false;
214
215 Aws::String m_dataAccessRoleArn;
216 bool m_dataAccessRoleArnHasBeenSet = false;
217
218 Aws::String m_message;
219 bool m_messageHasBeenSet = false;
220
221 ValidationLevel m_validationLevel{ValidationLevel::NOT_SET};
222 bool m_validationLevelHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace HealthLake
227} // 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