AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
StartDataSourceRunResult.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/DataSourceRunStatus.h>
12#include <aws/datazone/model/DataSourceRunType.h>
13#include <aws/datazone/model/RunStatisticsForAssets.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone {
27namespace Model {
29 public:
30 AWS_DATAZONE_API StartDataSourceRunResult() = default;
33
35
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>
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 StartDataSourceRunResult& 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 StartDataSourceRunResult& WithRunStatisticsForAssets(RunStatisticsForAssetsT&& value) {
162 SetRunStatisticsForAssets(std::forward<RunStatisticsForAssetsT>(value));
163 return *this;
164 }
166
168
172 inline const DataSourceErrorMessage& GetErrorMessage() const { return m_errorMessage; }
173 template <typename ErrorMessageT = DataSourceErrorMessage>
174 void SetErrorMessage(ErrorMessageT&& value) {
175 m_errorMessageHasBeenSet = true;
176 m_errorMessage = std::forward<ErrorMessageT>(value);
177 }
178 template <typename ErrorMessageT = DataSourceErrorMessage>
180 SetErrorMessage(std::forward<ErrorMessageT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
190 template <typename CreatedAtT = Aws::Utils::DateTime>
191 void SetCreatedAt(CreatedAtT&& value) {
192 m_createdAtHasBeenSet = true;
193 m_createdAt = std::forward<CreatedAtT>(value);
194 }
195 template <typename CreatedAtT = Aws::Utils::DateTime>
197 SetCreatedAt(std::forward<CreatedAtT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
207 template <typename UpdatedAtT = Aws::Utils::DateTime>
208 void SetUpdatedAt(UpdatedAtT&& value) {
209 m_updatedAtHasBeenSet = true;
210 m_updatedAt = std::forward<UpdatedAtT>(value);
211 }
212 template <typename UpdatedAtT = Aws::Utils::DateTime>
214 SetUpdatedAt(std::forward<UpdatedAtT>(value));
215 return *this;
216 }
218
220
223 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
224 template <typename StartedAtT = Aws::Utils::DateTime>
225 void SetStartedAt(StartedAtT&& value) {
226 m_startedAtHasBeenSet = true;
227 m_startedAt = std::forward<StartedAtT>(value);
228 }
229 template <typename StartedAtT = Aws::Utils::DateTime>
231 SetStartedAt(std::forward<StartedAtT>(value));
232 return *this;
233 }
235
237
240 inline const Aws::Utils::DateTime& GetStoppedAt() const { return m_stoppedAt; }
241 template <typename StoppedAtT = Aws::Utils::DateTime>
242 void SetStoppedAt(StoppedAtT&& value) {
243 m_stoppedAtHasBeenSet = true;
244 m_stoppedAt = std::forward<StoppedAtT>(value);
245 }
246 template <typename StoppedAtT = Aws::Utils::DateTime>
248 SetStoppedAt(std::forward<StoppedAtT>(value));
249 return *this;
250 }
252
254
255 inline const Aws::String& GetRequestId() const { return m_requestId; }
256 template <typename RequestIdT = Aws::String>
257 void SetRequestId(RequestIdT&& value) {
258 m_requestIdHasBeenSet = true;
259 m_requestId = std::forward<RequestIdT>(value);
260 }
261 template <typename RequestIdT = Aws::String>
263 SetRequestId(std::forward<RequestIdT>(value));
264 return *this;
265 }
267 private:
268 Aws::String m_domainId;
269
270 Aws::String m_dataSourceId;
271
272 Aws::String m_id;
273
274 Aws::String m_projectId;
275
277
279
280 Aws::String m_dataSourceConfigurationSnapshot;
281
282 RunStatisticsForAssets m_runStatisticsForAssets;
283
284 DataSourceErrorMessage m_errorMessage;
285
286 Aws::Utils::DateTime m_createdAt{};
287
288 Aws::Utils::DateTime m_updatedAt{};
289
290 Aws::Utils::DateTime m_startedAt{};
291
292 Aws::Utils::DateTime m_stoppedAt{};
293
294 Aws::String m_requestId;
295 bool m_domainIdHasBeenSet = false;
296 bool m_dataSourceIdHasBeenSet = false;
297 bool m_idHasBeenSet = false;
298 bool m_projectIdHasBeenSet = false;
299 bool m_statusHasBeenSet = false;
300 bool m_typeHasBeenSet = false;
301 bool m_dataSourceConfigurationSnapshotHasBeenSet = false;
302 bool m_runStatisticsForAssetsHasBeenSet = false;
303 bool m_errorMessageHasBeenSet = false;
304 bool m_createdAtHasBeenSet = false;
305 bool m_updatedAtHasBeenSet = false;
306 bool m_startedAtHasBeenSet = false;
307 bool m_stoppedAtHasBeenSet = false;
308 bool m_requestIdHasBeenSet = false;
309};
310
311} // namespace Model
312} // namespace DataZone
313} // namespace Aws
const Aws::Utils::DateTime & GetStartedAt() const
StartDataSourceRunResult & WithDomainId(DomainIdT &&value)
void SetRunStatisticsForAssets(RunStatisticsForAssetsT &&value)
StartDataSourceRunResult & WithStoppedAt(StoppedAtT &&value)
void SetDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT &&value)
StartDataSourceRunResult & WithUpdatedAt(UpdatedAtT &&value)
StartDataSourceRunResult & WithId(IdT &&value)
const Aws::Utils::DateTime & GetStoppedAt() const
StartDataSourceRunResult & WithCreatedAt(CreatedAtT &&value)
StartDataSourceRunResult & WithDataSourceId(DataSourceIdT &&value)
const RunStatisticsForAssets & GetRunStatisticsForAssets() const
StartDataSourceRunResult & WithRequestId(RequestIdT &&value)
StartDataSourceRunResult & WithErrorMessage(ErrorMessageT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const DataSourceErrorMessage & GetErrorMessage() const
StartDataSourceRunResult & WithRunStatisticsForAssets(RunStatisticsForAssetsT &&value)
StartDataSourceRunResult & WithType(DataSourceRunType value)
StartDataSourceRunResult & WithStatus(DataSourceRunStatus value)
AWS_DATAZONE_API StartDataSourceRunResult()=default
AWS_DATAZONE_API StartDataSourceRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API StartDataSourceRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetUpdatedAt() const
StartDataSourceRunResult & WithStartedAt(StartedAtT &&value)
StartDataSourceRunResult & WithDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT &&value)
StartDataSourceRunResult & WithProjectId(ProjectIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue