AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
ExportJobProperties.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/JobStatus.h>
11#include <aws/healthlake/model/OutputDataConfig.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace HealthLake {
23namespace Model {
24
31 public:
32 AWS_HEALTHLAKE_API ExportJobProperties() = default;
33 AWS_HEALTHLAKE_API ExportJobProperties(Aws::Utils::Json::JsonView jsonValue);
35 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetJobId() const { return m_jobId; }
42 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
43 template <typename JobIdT = Aws::String>
44 void SetJobId(JobIdT&& value) {
45 m_jobIdHasBeenSet = true;
46 m_jobId = std::forward<JobIdT>(value);
47 }
48 template <typename JobIdT = Aws::String>
49 ExportJobProperties& WithJobId(JobIdT&& value) {
50 SetJobId(std::forward<JobIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetJobName() const { return m_jobName; }
60 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
61 template <typename JobNameT = Aws::String>
62 void SetJobName(JobNameT&& value) {
63 m_jobNameHasBeenSet = true;
64 m_jobName = std::forward<JobNameT>(value);
65 }
66 template <typename JobNameT = Aws::String>
67 ExportJobProperties& WithJobName(JobNameT&& value) {
68 SetJobName(std::forward<JobNameT>(value));
69 return *this;
70 }
72
74
77 inline JobStatus GetJobStatus() const { return m_jobStatus; }
78 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
79 inline void SetJobStatus(JobStatus value) {
80 m_jobStatusHasBeenSet = true;
81 m_jobStatus = value;
82 }
84 SetJobStatus(value);
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
94 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
95 template <typename SubmitTimeT = Aws::Utils::DateTime>
96 void SetSubmitTime(SubmitTimeT&& value) {
97 m_submitTimeHasBeenSet = true;
98 m_submitTime = std::forward<SubmitTimeT>(value);
99 }
100 template <typename SubmitTimeT = Aws::Utils::DateTime>
101 ExportJobProperties& WithSubmitTime(SubmitTimeT&& value) {
102 SetSubmitTime(std::forward<SubmitTimeT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
112 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
113 template <typename EndTimeT = Aws::Utils::DateTime>
114 void SetEndTime(EndTimeT&& value) {
115 m_endTimeHasBeenSet = true;
116 m_endTime = std::forward<EndTimeT>(value);
117 }
118 template <typename EndTimeT = Aws::Utils::DateTime>
119 ExportJobProperties& WithEndTime(EndTimeT&& value) {
120 SetEndTime(std::forward<EndTimeT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
130 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
131 template <typename DatastoreIdT = Aws::String>
132 void SetDatastoreId(DatastoreIdT&& value) {
133 m_datastoreIdHasBeenSet = true;
134 m_datastoreId = std::forward<DatastoreIdT>(value);
135 }
136 template <typename DatastoreIdT = Aws::String>
137 ExportJobProperties& WithDatastoreId(DatastoreIdT&& value) {
138 SetDatastoreId(std::forward<DatastoreIdT>(value));
139 return *this;
140 }
142
144
147 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
148 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
149 template <typename OutputDataConfigT = OutputDataConfig>
150 void SetOutputDataConfig(OutputDataConfigT&& value) {
151 m_outputDataConfigHasBeenSet = true;
152 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
153 }
154 template <typename OutputDataConfigT = OutputDataConfig>
155 ExportJobProperties& WithOutputDataConfig(OutputDataConfigT&& value) {
156 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
157 return *this;
158 }
160
162
166 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
167 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
168 template <typename DataAccessRoleArnT = Aws::String>
169 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
170 m_dataAccessRoleArnHasBeenSet = true;
171 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
172 }
173 template <typename DataAccessRoleArnT = Aws::String>
174 ExportJobProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) {
175 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
176 return *this;
177 }
179
181
185 inline const Aws::String& GetMessage() const { return m_message; }
186 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
187 template <typename MessageT = Aws::String>
188 void SetMessage(MessageT&& value) {
189 m_messageHasBeenSet = true;
190 m_message = std::forward<MessageT>(value);
191 }
192 template <typename MessageT = Aws::String>
193 ExportJobProperties& WithMessage(MessageT&& value) {
194 SetMessage(std::forward<MessageT>(value));
195 return *this;
196 }
198 private:
199 Aws::String m_jobId;
200
201 Aws::String m_jobName;
202
203 JobStatus m_jobStatus{JobStatus::NOT_SET};
204
205 Aws::Utils::DateTime m_submitTime{};
206
207 Aws::Utils::DateTime m_endTime{};
208
209 Aws::String m_datastoreId;
210
211 OutputDataConfig m_outputDataConfig;
212
213 Aws::String m_dataAccessRoleArn;
214
215 Aws::String m_message;
216 bool m_jobIdHasBeenSet = false;
217 bool m_jobNameHasBeenSet = false;
218 bool m_jobStatusHasBeenSet = false;
219 bool m_submitTimeHasBeenSet = false;
220 bool m_endTimeHasBeenSet = false;
221 bool m_datastoreIdHasBeenSet = false;
222 bool m_outputDataConfigHasBeenSet = false;
223 bool m_dataAccessRoleArnHasBeenSet = false;
224 bool m_messageHasBeenSet = false;
225};
226
227} // namespace Model
228} // namespace HealthLake
229} // namespace Aws
ExportJobProperties & WithMessage(MessageT &&value)
ExportJobProperties & WithDatastoreId(DatastoreIdT &&value)
ExportJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
ExportJobProperties & WithJobName(JobNameT &&value)
ExportJobProperties & WithEndTime(EndTimeT &&value)
ExportJobProperties & WithOutputDataConfig(OutputDataConfigT &&value)
ExportJobProperties & WithJobStatus(JobStatus value)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::Utils::DateTime & GetSubmitTime() const
AWS_HEALTHLAKE_API ExportJobProperties()=default
void SetOutputDataConfig(OutputDataConfigT &&value)
AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_HEALTHLAKE_API ExportJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
const OutputDataConfig & GetOutputDataConfig() const
AWS_HEALTHLAKE_API ExportJobProperties(Aws::Utils::Json::JsonView jsonValue)
void SetDataAccessRoleArn(DataAccessRoleArnT &&value)
ExportJobProperties & WithJobId(JobIdT &&value)
ExportJobProperties & WithSubmitTime(SubmitTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue