AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
StartDataSourceRunResult.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/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 StartDataSourceRunResult() = default;
34
36
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>
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 StartDataSourceRunResult& 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 StartDataSourceRunResult& WithRunStatisticsForAssets(RunStatisticsForAssetsT&& value) {
163 SetRunStatisticsForAssets(std::forward<RunStatisticsForAssetsT>(value));
164 return *this;
165 }
167
169
173 inline const DataSourceErrorMessage& GetErrorMessage() const { return m_errorMessage; }
174 template <typename ErrorMessageT = DataSourceErrorMessage>
175 void SetErrorMessage(ErrorMessageT&& value) {
176 m_errorMessageHasBeenSet = true;
177 m_errorMessage = std::forward<ErrorMessageT>(value);
178 }
179 template <typename ErrorMessageT = DataSourceErrorMessage>
181 SetErrorMessage(std::forward<ErrorMessageT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
191 template <typename CreatedAtT = Aws::Utils::DateTime>
192 void SetCreatedAt(CreatedAtT&& value) {
193 m_createdAtHasBeenSet = true;
194 m_createdAt = std::forward<CreatedAtT>(value);
195 }
196 template <typename CreatedAtT = Aws::Utils::DateTime>
198 SetCreatedAt(std::forward<CreatedAtT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
208 template <typename UpdatedAtT = Aws::Utils::DateTime>
209 void SetUpdatedAt(UpdatedAtT&& value) {
210 m_updatedAtHasBeenSet = true;
211 m_updatedAt = std::forward<UpdatedAtT>(value);
212 }
213 template <typename UpdatedAtT = Aws::Utils::DateTime>
215 SetUpdatedAt(std::forward<UpdatedAtT>(value));
216 return *this;
217 }
219
221
224 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
225 template <typename StartedAtT = Aws::Utils::DateTime>
226 void SetStartedAt(StartedAtT&& value) {
227 m_startedAtHasBeenSet = true;
228 m_startedAt = std::forward<StartedAtT>(value);
229 }
230 template <typename StartedAtT = Aws::Utils::DateTime>
232 SetStartedAt(std::forward<StartedAtT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::Utils::DateTime& GetStoppedAt() const { return m_stoppedAt; }
242 template <typename StoppedAtT = Aws::Utils::DateTime>
243 void SetStoppedAt(StoppedAtT&& value) {
244 m_stoppedAtHasBeenSet = true;
245 m_stoppedAt = std::forward<StoppedAtT>(value);
246 }
247 template <typename StoppedAtT = Aws::Utils::DateTime>
249 SetStoppedAt(std::forward<StoppedAtT>(value));
250 return *this;
251 }
253
255
256 inline const Aws::String& GetRequestId() const { return m_requestId; }
257 template <typename RequestIdT = Aws::String>
258 void SetRequestId(RequestIdT&& value) {
259 m_requestIdHasBeenSet = true;
260 m_requestId = std::forward<RequestIdT>(value);
261 }
262 template <typename RequestIdT = Aws::String>
264 SetRequestId(std::forward<RequestIdT>(value));
265 return *this;
266 }
268 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
269
270 private:
271 Aws::String m_domainId;
272
273 Aws::String m_dataSourceId;
274
275 Aws::String m_id;
276
277 Aws::String m_projectId;
278
280
282
283 Aws::String m_dataSourceConfigurationSnapshot;
284
285 RunStatisticsForAssets m_runStatisticsForAssets;
286
287 DataSourceErrorMessage m_errorMessage;
288
289 Aws::Utils::DateTime m_createdAt{};
290
291 Aws::Utils::DateTime m_updatedAt{};
292
293 Aws::Utils::DateTime m_startedAt{};
294
295 Aws::Utils::DateTime m_stoppedAt{};
296
297 Aws::String m_requestId;
298 Aws::Http::HttpResponseCode m_HttpResponseCode;
299 bool m_domainIdHasBeenSet = false;
300 bool m_dataSourceIdHasBeenSet = false;
301 bool m_idHasBeenSet = false;
302 bool m_projectIdHasBeenSet = false;
303 bool m_statusHasBeenSet = false;
304 bool m_typeHasBeenSet = false;
305 bool m_dataSourceConfigurationSnapshotHasBeenSet = false;
306 bool m_runStatisticsForAssetsHasBeenSet = false;
307 bool m_errorMessageHasBeenSet = false;
308 bool m_createdAtHasBeenSet = false;
309 bool m_updatedAtHasBeenSet = false;
310 bool m_startedAtHasBeenSet = false;
311 bool m_stoppedAtHasBeenSet = false;
312 bool m_requestIdHasBeenSet = false;
313};
314
315} // namespace Model
316} // namespace DataZone
317} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
StartDataSourceRunResult & WithProjectId(ProjectIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue