AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
GetDataSourceRunResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/DataSourceErrorMessage.h>
12#include <aws/datazone/model/DataSourceRunLineageSummary.h>
13#include <aws/datazone/model/DataSourceRunStatus.h>
14#include <aws/datazone/model/DataSourceRunType.h>
15#include <aws/datazone/model/RunStatisticsForAssets.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataZone {
29namespace Model {
31 public:
32 AWS_DATAZONE_API GetDataSourceRunResult() = default;
35
37
40 inline const Aws::String& GetDomainId() const { return m_domainId; }
41 template <typename DomainIdT = Aws::String>
42 void SetDomainId(DomainIdT&& value) {
43 m_domainIdHasBeenSet = true;
44 m_domainId = std::forward<DomainIdT>(value);
45 }
46 template <typename DomainIdT = Aws::String>
48 SetDomainId(std::forward<DomainIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
58 template <typename DataSourceIdT = Aws::String>
59 void SetDataSourceId(DataSourceIdT&& value) {
60 m_dataSourceIdHasBeenSet = true;
61 m_dataSourceId = std::forward<DataSourceIdT>(value);
62 }
63 template <typename DataSourceIdT = Aws::String>
64 GetDataSourceRunResult& WithDataSourceId(DataSourceIdT&& value) {
65 SetDataSourceId(std::forward<DataSourceIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetId() const { return m_id; }
75 template <typename IdT = Aws::String>
76 void SetId(IdT&& value) {
77 m_idHasBeenSet = true;
78 m_id = std::forward<IdT>(value);
79 }
80 template <typename IdT = Aws::String>
82 SetId(std::forward<IdT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetProjectId() const { return m_projectId; }
92 template <typename ProjectIdT = Aws::String>
93 void SetProjectId(ProjectIdT&& value) {
94 m_projectIdHasBeenSet = true;
95 m_projectId = std::forward<ProjectIdT>(value);
96 }
97 template <typename ProjectIdT = Aws::String>
99 SetProjectId(std::forward<ProjectIdT>(value));
100 return *this;
101 }
103
105
108 inline DataSourceRunStatus GetStatus() const { return m_status; }
109 inline void SetStatus(DataSourceRunStatus value) {
110 m_statusHasBeenSet = true;
111 m_status = value;
112 }
114 SetStatus(value);
115 return *this;
116 }
118
120
123 inline DataSourceRunType GetType() const { return m_type; }
124 inline void SetType(DataSourceRunType value) {
125 m_typeHasBeenSet = true;
126 m_type = value;
127 }
129 SetType(value);
130 return *this;
131 }
133
135
138 inline const Aws::String& GetDataSourceConfigurationSnapshot() const { return m_dataSourceConfigurationSnapshot; }
139 template <typename DataSourceConfigurationSnapshotT = Aws::String>
140 void SetDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT&& value) {
141 m_dataSourceConfigurationSnapshotHasBeenSet = true;
142 m_dataSourceConfigurationSnapshot = std::forward<DataSourceConfigurationSnapshotT>(value);
143 }
144 template <typename DataSourceConfigurationSnapshotT = Aws::String>
145 GetDataSourceRunResult& WithDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT&& value) {
146 SetDataSourceConfigurationSnapshot(std::forward<DataSourceConfigurationSnapshotT>(value));
147 return *this;
148 }
150
152
155 inline const RunStatisticsForAssets& GetRunStatisticsForAssets() const { return m_runStatisticsForAssets; }
156 template <typename RunStatisticsForAssetsT = RunStatisticsForAssets>
157 void SetRunStatisticsForAssets(RunStatisticsForAssetsT&& value) {
158 m_runStatisticsForAssetsHasBeenSet = true;
159 m_runStatisticsForAssets = std::forward<RunStatisticsForAssetsT>(value);
160 }
161 template <typename RunStatisticsForAssetsT = RunStatisticsForAssets>
162 GetDataSourceRunResult& WithRunStatisticsForAssets(RunStatisticsForAssetsT&& value) {
163 SetRunStatisticsForAssets(std::forward<RunStatisticsForAssetsT>(value));
164 return *this;
165 }
167
169
172 inline const DataSourceRunLineageSummary& GetLineageSummary() const { return m_lineageSummary; }
173 template <typename LineageSummaryT = DataSourceRunLineageSummary>
174 void SetLineageSummary(LineageSummaryT&& value) {
175 m_lineageSummaryHasBeenSet = true;
176 m_lineageSummary = std::forward<LineageSummaryT>(value);
177 }
178 template <typename LineageSummaryT = DataSourceRunLineageSummary>
179 GetDataSourceRunResult& WithLineageSummary(LineageSummaryT&& value) {
180 SetLineageSummary(std::forward<LineageSummaryT>(value));
181 return *this;
182 }
184
186
190 inline const DataSourceErrorMessage& GetErrorMessage() const { return m_errorMessage; }
191 template <typename ErrorMessageT = DataSourceErrorMessage>
192 void SetErrorMessage(ErrorMessageT&& value) {
193 m_errorMessageHasBeenSet = true;
194 m_errorMessage = std::forward<ErrorMessageT>(value);
195 }
196 template <typename ErrorMessageT = DataSourceErrorMessage>
197 GetDataSourceRunResult& WithErrorMessage(ErrorMessageT&& value) {
198 SetErrorMessage(std::forward<ErrorMessageT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
208 template <typename CreatedAtT = Aws::Utils::DateTime>
209 void SetCreatedAt(CreatedAtT&& value) {
210 m_createdAtHasBeenSet = true;
211 m_createdAt = std::forward<CreatedAtT>(value);
212 }
213 template <typename CreatedAtT = Aws::Utils::DateTime>
215 SetCreatedAt(std::forward<CreatedAtT>(value));
216 return *this;
217 }
219
221
224 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
225 template <typename UpdatedAtT = Aws::Utils::DateTime>
226 void SetUpdatedAt(UpdatedAtT&& value) {
227 m_updatedAtHasBeenSet = true;
228 m_updatedAt = std::forward<UpdatedAtT>(value);
229 }
230 template <typename UpdatedAtT = Aws::Utils::DateTime>
232 SetUpdatedAt(std::forward<UpdatedAtT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
242 template <typename StartedAtT = Aws::Utils::DateTime>
243 void SetStartedAt(StartedAtT&& value) {
244 m_startedAtHasBeenSet = true;
245 m_startedAt = std::forward<StartedAtT>(value);
246 }
247 template <typename StartedAtT = Aws::Utils::DateTime>
249 SetStartedAt(std::forward<StartedAtT>(value));
250 return *this;
251 }
253
255
258 inline const Aws::Utils::DateTime& GetStoppedAt() const { return m_stoppedAt; }
259 template <typename StoppedAtT = Aws::Utils::DateTime>
260 void SetStoppedAt(StoppedAtT&& value) {
261 m_stoppedAtHasBeenSet = true;
262 m_stoppedAt = std::forward<StoppedAtT>(value);
263 }
264 template <typename StoppedAtT = Aws::Utils::DateTime>
266 SetStoppedAt(std::forward<StoppedAtT>(value));
267 return *this;
268 }
270
272
273 inline const Aws::String& GetRequestId() const { return m_requestId; }
274 template <typename RequestIdT = Aws::String>
275 void SetRequestId(RequestIdT&& value) {
276 m_requestIdHasBeenSet = true;
277 m_requestId = std::forward<RequestIdT>(value);
278 }
279 template <typename RequestIdT = Aws::String>
281 SetRequestId(std::forward<RequestIdT>(value));
282 return *this;
283 }
285 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
286
287 private:
288 Aws::String m_domainId;
289
290 Aws::String m_dataSourceId;
291
292 Aws::String m_id;
293
294 Aws::String m_projectId;
295
297
299
300 Aws::String m_dataSourceConfigurationSnapshot;
301
302 RunStatisticsForAssets m_runStatisticsForAssets;
303
304 DataSourceRunLineageSummary m_lineageSummary;
305
306 DataSourceErrorMessage m_errorMessage;
307
308 Aws::Utils::DateTime m_createdAt{};
309
310 Aws::Utils::DateTime m_updatedAt{};
311
312 Aws::Utils::DateTime m_startedAt{};
313
314 Aws::Utils::DateTime m_stoppedAt{};
315
316 Aws::String m_requestId;
317 Aws::Http::HttpResponseCode m_HttpResponseCode;
318 bool m_domainIdHasBeenSet = false;
319 bool m_dataSourceIdHasBeenSet = false;
320 bool m_idHasBeenSet = false;
321 bool m_projectIdHasBeenSet = false;
322 bool m_statusHasBeenSet = false;
323 bool m_typeHasBeenSet = false;
324 bool m_dataSourceConfigurationSnapshotHasBeenSet = false;
325 bool m_runStatisticsForAssetsHasBeenSet = false;
326 bool m_lineageSummaryHasBeenSet = false;
327 bool m_errorMessageHasBeenSet = false;
328 bool m_createdAtHasBeenSet = false;
329 bool m_updatedAtHasBeenSet = false;
330 bool m_startedAtHasBeenSet = false;
331 bool m_stoppedAtHasBeenSet = false;
332 bool m_requestIdHasBeenSet = false;
333};
334
335} // namespace Model
336} // namespace DataZone
337} // namespace Aws
const Aws::Utils::DateTime & GetStartedAt() const
GetDataSourceRunResult & WithStoppedAt(StoppedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const DataSourceRunLineageSummary & GetLineageSummary() const
const RunStatisticsForAssets & GetRunStatisticsForAssets() const
const Aws::String & GetDataSourceConfigurationSnapshot() const
void SetRunStatisticsForAssets(RunStatisticsForAssetsT &&value)
GetDataSourceRunResult & WithDataSourceId(DataSourceIdT &&value)
void SetDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT &&value)
GetDataSourceRunResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetDataSourceRunResult & WithErrorMessage(ErrorMessageT &&value)
GetDataSourceRunResult & WithLineageSummary(LineageSummaryT &&value)
GetDataSourceRunResult & WithType(DataSourceRunType value)
AWS_DATAZONE_API GetDataSourceRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API GetDataSourceRunResult()=default
GetDataSourceRunResult & WithDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT &&value)
GetDataSourceRunResult & WithStartedAt(StartedAtT &&value)
GetDataSourceRunResult & WithStatus(DataSourceRunStatus value)
const DataSourceErrorMessage & GetErrorMessage() const
GetDataSourceRunResult & WithProjectId(ProjectIdT &&value)
GetDataSourceRunResult & WithId(IdT &&value)
const Aws::Utils::DateTime & GetStoppedAt() const
AWS_DATAZONE_API GetDataSourceRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
GetDataSourceRunResult & WithUpdatedAt(UpdatedAtT &&value)
GetDataSourceRunResult & WithRunStatisticsForAssets(RunStatisticsForAssetsT &&value)
GetDataSourceRunResult & WithRequestId(RequestIdT &&value)
GetDataSourceRunResult & WithDomainId(DomainIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue