AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetDataSourceRunResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/DataSourceErrorMessage.h>
11#include <aws/datazone/model/DataSourceRunLineageSummary.h>
12#include <aws/datazone/model/DataSourceRunStatus.h>
13#include <aws/datazone/model/DataSourceRunType.h>
14#include <aws/datazone/model/RunStatisticsForAssets.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataZone {
28namespace Model {
30 public:
31 AWS_DATAZONE_API GetDataSourceRunResult() = default;
34
36
39 inline const Aws::String& GetDomainId() const { return m_domainId; }
40 template <typename DomainIdT = Aws::String>
41 void SetDomainId(DomainIdT&& value) {
42 m_domainIdHasBeenSet = true;
43 m_domainId = std::forward<DomainIdT>(value);
44 }
45 template <typename DomainIdT = Aws::String>
47 SetDomainId(std::forward<DomainIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
57 template <typename DataSourceIdT = Aws::String>
58 void SetDataSourceId(DataSourceIdT&& value) {
59 m_dataSourceIdHasBeenSet = true;
60 m_dataSourceId = std::forward<DataSourceIdT>(value);
61 }
62 template <typename DataSourceIdT = Aws::String>
63 GetDataSourceRunResult& WithDataSourceId(DataSourceIdT&& value) {
64 SetDataSourceId(std::forward<DataSourceIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetId() const { return m_id; }
74 template <typename IdT = Aws::String>
75 void SetId(IdT&& value) {
76 m_idHasBeenSet = true;
77 m_id = std::forward<IdT>(value);
78 }
79 template <typename IdT = Aws::String>
81 SetId(std::forward<IdT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetProjectId() const { return m_projectId; }
91 template <typename ProjectIdT = Aws::String>
92 void SetProjectId(ProjectIdT&& value) {
93 m_projectIdHasBeenSet = true;
94 m_projectId = std::forward<ProjectIdT>(value);
95 }
96 template <typename ProjectIdT = Aws::String>
98 SetProjectId(std::forward<ProjectIdT>(value));
99 return *this;
100 }
102
104
107 inline DataSourceRunStatus GetStatus() const { return m_status; }
108 inline void SetStatus(DataSourceRunStatus value) {
109 m_statusHasBeenSet = true;
110 m_status = value;
111 }
113 SetStatus(value);
114 return *this;
115 }
117
119
122 inline DataSourceRunType GetType() const { return m_type; }
123 inline void SetType(DataSourceRunType value) {
124 m_typeHasBeenSet = true;
125 m_type = value;
126 }
128 SetType(value);
129 return *this;
130 }
132
134
137 inline const Aws::String& GetDataSourceConfigurationSnapshot() const { return m_dataSourceConfigurationSnapshot; }
138 template <typename DataSourceConfigurationSnapshotT = Aws::String>
139 void SetDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT&& value) {
140 m_dataSourceConfigurationSnapshotHasBeenSet = true;
141 m_dataSourceConfigurationSnapshot = std::forward<DataSourceConfigurationSnapshotT>(value);
142 }
143 template <typename DataSourceConfigurationSnapshotT = Aws::String>
144 GetDataSourceRunResult& WithDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT&& value) {
145 SetDataSourceConfigurationSnapshot(std::forward<DataSourceConfigurationSnapshotT>(value));
146 return *this;
147 }
149
151
154 inline const RunStatisticsForAssets& GetRunStatisticsForAssets() const { return m_runStatisticsForAssets; }
155 template <typename RunStatisticsForAssetsT = RunStatisticsForAssets>
156 void SetRunStatisticsForAssets(RunStatisticsForAssetsT&& value) {
157 m_runStatisticsForAssetsHasBeenSet = true;
158 m_runStatisticsForAssets = std::forward<RunStatisticsForAssetsT>(value);
159 }
160 template <typename RunStatisticsForAssetsT = RunStatisticsForAssets>
161 GetDataSourceRunResult& WithRunStatisticsForAssets(RunStatisticsForAssetsT&& value) {
162 SetRunStatisticsForAssets(std::forward<RunStatisticsForAssetsT>(value));
163 return *this;
164 }
166
168
171 inline const DataSourceRunLineageSummary& GetLineageSummary() const { return m_lineageSummary; }
172 template <typename LineageSummaryT = DataSourceRunLineageSummary>
173 void SetLineageSummary(LineageSummaryT&& value) {
174 m_lineageSummaryHasBeenSet = true;
175 m_lineageSummary = std::forward<LineageSummaryT>(value);
176 }
177 template <typename LineageSummaryT = DataSourceRunLineageSummary>
178 GetDataSourceRunResult& WithLineageSummary(LineageSummaryT&& value) {
179 SetLineageSummary(std::forward<LineageSummaryT>(value));
180 return *this;
181 }
183
185
189 inline const DataSourceErrorMessage& GetErrorMessage() const { return m_errorMessage; }
190 template <typename ErrorMessageT = DataSourceErrorMessage>
191 void SetErrorMessage(ErrorMessageT&& value) {
192 m_errorMessageHasBeenSet = true;
193 m_errorMessage = std::forward<ErrorMessageT>(value);
194 }
195 template <typename ErrorMessageT = DataSourceErrorMessage>
196 GetDataSourceRunResult& WithErrorMessage(ErrorMessageT&& value) {
197 SetErrorMessage(std::forward<ErrorMessageT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
207 template <typename CreatedAtT = Aws::Utils::DateTime>
208 void SetCreatedAt(CreatedAtT&& value) {
209 m_createdAtHasBeenSet = true;
210 m_createdAt = std::forward<CreatedAtT>(value);
211 }
212 template <typename CreatedAtT = Aws::Utils::DateTime>
214 SetCreatedAt(std::forward<CreatedAtT>(value));
215 return *this;
216 }
218
220
223 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
224 template <typename UpdatedAtT = Aws::Utils::DateTime>
225 void SetUpdatedAt(UpdatedAtT&& value) {
226 m_updatedAtHasBeenSet = true;
227 m_updatedAt = std::forward<UpdatedAtT>(value);
228 }
229 template <typename UpdatedAtT = Aws::Utils::DateTime>
231 SetUpdatedAt(std::forward<UpdatedAtT>(value));
232 return *this;
233 }
235
237
240 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
241 template <typename StartedAtT = Aws::Utils::DateTime>
242 void SetStartedAt(StartedAtT&& value) {
243 m_startedAtHasBeenSet = true;
244 m_startedAt = std::forward<StartedAtT>(value);
245 }
246 template <typename StartedAtT = Aws::Utils::DateTime>
248 SetStartedAt(std::forward<StartedAtT>(value));
249 return *this;
250 }
252
254
257 inline const Aws::Utils::DateTime& GetStoppedAt() const { return m_stoppedAt; }
258 template <typename StoppedAtT = Aws::Utils::DateTime>
259 void SetStoppedAt(StoppedAtT&& value) {
260 m_stoppedAtHasBeenSet = true;
261 m_stoppedAt = std::forward<StoppedAtT>(value);
262 }
263 template <typename StoppedAtT = Aws::Utils::DateTime>
265 SetStoppedAt(std::forward<StoppedAtT>(value));
266 return *this;
267 }
269
271
272 inline const Aws::String& GetRequestId() const { return m_requestId; }
273 template <typename RequestIdT = Aws::String>
274 void SetRequestId(RequestIdT&& value) {
275 m_requestIdHasBeenSet = true;
276 m_requestId = std::forward<RequestIdT>(value);
277 }
278 template <typename RequestIdT = Aws::String>
280 SetRequestId(std::forward<RequestIdT>(value));
281 return *this;
282 }
284 private:
285 Aws::String m_domainId;
286
287 Aws::String m_dataSourceId;
288
289 Aws::String m_id;
290
291 Aws::String m_projectId;
292
294
296
297 Aws::String m_dataSourceConfigurationSnapshot;
298
299 RunStatisticsForAssets m_runStatisticsForAssets;
300
301 DataSourceRunLineageSummary m_lineageSummary;
302
303 DataSourceErrorMessage m_errorMessage;
304
305 Aws::Utils::DateTime m_createdAt{};
306
307 Aws::Utils::DateTime m_updatedAt{};
308
309 Aws::Utils::DateTime m_startedAt{};
310
311 Aws::Utils::DateTime m_stoppedAt{};
312
313 Aws::String m_requestId;
314 bool m_domainIdHasBeenSet = false;
315 bool m_dataSourceIdHasBeenSet = false;
316 bool m_idHasBeenSet = false;
317 bool m_projectIdHasBeenSet = false;
318 bool m_statusHasBeenSet = false;
319 bool m_typeHasBeenSet = false;
320 bool m_dataSourceConfigurationSnapshotHasBeenSet = false;
321 bool m_runStatisticsForAssetsHasBeenSet = false;
322 bool m_lineageSummaryHasBeenSet = false;
323 bool m_errorMessageHasBeenSet = false;
324 bool m_createdAtHasBeenSet = false;
325 bool m_updatedAtHasBeenSet = false;
326 bool m_startedAtHasBeenSet = false;
327 bool m_stoppedAtHasBeenSet = false;
328 bool m_requestIdHasBeenSet = false;
329};
330
331} // namespace Model
332} // namespace DataZone
333} // namespace Aws
const Aws::Utils::DateTime & GetStartedAt() const
GetDataSourceRunResult & WithStoppedAt(StoppedAtT &&value)
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