AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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 <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace HealthLake
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_HEALTHLAKE_API ImportJobProperties() = default;
42 AWS_HEALTHLAKE_API ImportJobProperties(Aws::Utils::Json::JsonView jsonValue);
44 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetJobId() const { return m_jobId; }
52 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
53 template<typename JobIdT = Aws::String>
54 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
55 template<typename JobIdT = Aws::String>
56 ImportJobProperties& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetJobName() const { return m_jobName; }
64 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
65 template<typename JobNameT = Aws::String>
66 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
67 template<typename JobNameT = Aws::String>
68 ImportJobProperties& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
70
72
76 inline JobStatus GetJobStatus() const { return m_jobStatus; }
77 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
78 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
79 inline ImportJobProperties& WithJobStatus(JobStatus value) { SetJobStatus(value); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
87 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
88 template<typename SubmitTimeT = Aws::Utils::DateTime>
89 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::forward<SubmitTimeT>(value); }
90 template<typename SubmitTimeT = Aws::Utils::DateTime>
91 ImportJobProperties& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
99 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
100 template<typename EndTimeT = Aws::Utils::DateTime>
101 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
102 template<typename EndTimeT = Aws::Utils::DateTime>
103 ImportJobProperties& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
105
107
110 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
111 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
112 template<typename DatastoreIdT = Aws::String>
113 void SetDatastoreId(DatastoreIdT&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::forward<DatastoreIdT>(value); }
114 template<typename DatastoreIdT = Aws::String>
115 ImportJobProperties& WithDatastoreId(DatastoreIdT&& value) { SetDatastoreId(std::forward<DatastoreIdT>(value)); return *this;}
117
119
123 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
124 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
125 template<typename InputDataConfigT = InputDataConfig>
126 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
127 template<typename InputDataConfigT = InputDataConfig>
128 ImportJobProperties& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
130
132
133 inline const OutputDataConfig& GetJobOutputDataConfig() const { return m_jobOutputDataConfig; }
134 inline bool JobOutputDataConfigHasBeenSet() const { return m_jobOutputDataConfigHasBeenSet; }
135 template<typename JobOutputDataConfigT = OutputDataConfig>
136 void SetJobOutputDataConfig(JobOutputDataConfigT&& value) { m_jobOutputDataConfigHasBeenSet = true; m_jobOutputDataConfig = std::forward<JobOutputDataConfigT>(value); }
137 template<typename JobOutputDataConfigT = OutputDataConfig>
138 ImportJobProperties& WithJobOutputDataConfig(JobOutputDataConfigT&& value) { SetJobOutputDataConfig(std::forward<JobOutputDataConfigT>(value)); return *this;}
140
142
146 inline const JobProgressReport& GetJobProgressReport() const { return m_jobProgressReport; }
147 inline bool JobProgressReportHasBeenSet() const { return m_jobProgressReportHasBeenSet; }
148 template<typename JobProgressReportT = JobProgressReport>
149 void SetJobProgressReport(JobProgressReportT&& value) { m_jobProgressReportHasBeenSet = true; m_jobProgressReport = std::forward<JobProgressReportT>(value); }
150 template<typename JobProgressReportT = JobProgressReport>
151 ImportJobProperties& WithJobProgressReport(JobProgressReportT&& value) { SetJobProgressReport(std::forward<JobProgressReportT>(value)); return *this;}
153
155
159 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
160 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
161 template<typename DataAccessRoleArnT = Aws::String>
162 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
163 template<typename DataAccessRoleArnT = Aws::String>
164 ImportJobProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
166
168
172 inline const Aws::String& GetMessage() const { return m_message; }
173 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
174 template<typename MessageT = Aws::String>
175 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
176 template<typename MessageT = Aws::String>
177 ImportJobProperties& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
179 private:
180
181 Aws::String m_jobId;
182 bool m_jobIdHasBeenSet = false;
183
184 Aws::String m_jobName;
185 bool m_jobNameHasBeenSet = false;
186
187 JobStatus m_jobStatus{JobStatus::NOT_SET};
188 bool m_jobStatusHasBeenSet = false;
189
190 Aws::Utils::DateTime m_submitTime{};
191 bool m_submitTimeHasBeenSet = false;
192
193 Aws::Utils::DateTime m_endTime{};
194 bool m_endTimeHasBeenSet = false;
195
196 Aws::String m_datastoreId;
197 bool m_datastoreIdHasBeenSet = false;
198
199 InputDataConfig m_inputDataConfig;
200 bool m_inputDataConfigHasBeenSet = false;
201
202 OutputDataConfig m_jobOutputDataConfig;
203 bool m_jobOutputDataConfigHasBeenSet = false;
204
205 JobProgressReport m_jobProgressReport;
206 bool m_jobProgressReportHasBeenSet = false;
207
208 Aws::String m_dataAccessRoleArn;
209 bool m_dataAccessRoleArnHasBeenSet = false;
210
211 Aws::String m_message;
212 bool m_messageHasBeenSet = false;
213 };
214
215} // namespace Model
216} // namespace HealthLake
217} // 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 & 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