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>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
40 template <
typename DomainIdT = Aws::String>
42 m_domainIdHasBeenSet =
true;
43 m_domainId = std::forward<DomainIdT>(value);
45 template <
typename DomainIdT = Aws::String>
57 template <
typename DataSourceIdT = Aws::String>
59 m_dataSourceIdHasBeenSet =
true;
60 m_dataSourceId = std::forward<DataSourceIdT>(value);
62 template <
typename DataSourceIdT = Aws::String>
74 template <
typename IdT = Aws::String>
76 m_idHasBeenSet =
true;
77 m_id = std::forward<IdT>(value);
79 template <
typename IdT = Aws::String>
81 SetId(std::forward<IdT>(value));
91 template <
typename ProjectIdT = Aws::String>
93 m_projectIdHasBeenSet =
true;
94 m_projectId = std::forward<ProjectIdT>(value);
96 template <
typename ProjectIdT = Aws::String>
109 m_statusHasBeenSet =
true;
124 m_typeHasBeenSet =
true;
138 template <
typename DataSourceConfigurationSnapshotT = Aws::String>
140 m_dataSourceConfigurationSnapshotHasBeenSet =
true;
141 m_dataSourceConfigurationSnapshot = std::forward<DataSourceConfigurationSnapshotT>(value);
143 template <
typename DataSourceConfigurationSnapshotT = Aws::String>
155 template <
typename RunStatisticsForAssetsT = RunStatisticsForAssets>
157 m_runStatisticsForAssetsHasBeenSet =
true;
158 m_runStatisticsForAssets = std::forward<RunStatisticsForAssetsT>(value);
160 template <
typename RunStatisticsForAssetsT = RunStatisticsForAssets>
173 template <
typename ErrorMessageT = DataSourceErrorMessage>
175 m_errorMessageHasBeenSet =
true;
176 m_errorMessage = std::forward<ErrorMessageT>(value);
178 template <
typename ErrorMessageT = DataSourceErrorMessage>
190 template <
typename CreatedAtT = Aws::Utils::DateTime>
192 m_createdAtHasBeenSet =
true;
193 m_createdAt = std::forward<CreatedAtT>(value);
195 template <
typename CreatedAtT = Aws::Utils::DateTime>
207 template <
typename UpdatedAtT = Aws::Utils::DateTime>
209 m_updatedAtHasBeenSet =
true;
210 m_updatedAt = std::forward<UpdatedAtT>(value);
212 template <
typename UpdatedAtT = Aws::Utils::DateTime>
224 template <
typename StartedAtT = Aws::Utils::DateTime>
226 m_startedAtHasBeenSet =
true;
227 m_startedAt = std::forward<StartedAtT>(value);
229 template <
typename StartedAtT = Aws::Utils::DateTime>
241 template <
typename StoppedAtT = Aws::Utils::DateTime>
243 m_stoppedAtHasBeenSet =
true;
244 m_stoppedAt = std::forward<StoppedAtT>(value);
246 template <
typename StoppedAtT = Aws::Utils::DateTime>
256 template <
typename RequestIdT = Aws::String>
258 m_requestIdHasBeenSet =
true;
259 m_requestId = std::forward<RequestIdT>(value);
261 template <
typename RequestIdT = Aws::String>
282 RunStatisticsForAssets m_runStatisticsForAssets;
284 DataSourceErrorMessage m_errorMessage;
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;
const Aws::Utils::DateTime & GetStartedAt() const
StartDataSourceRunResult & WithDomainId(DomainIdT &&value)
void SetRunStatisticsForAssets(RunStatisticsForAssetsT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetType(DataSourceRunType 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 Aws::String & GetDataSourceConfigurationSnapshot() const
const RunStatisticsForAssets & GetRunStatisticsForAssets() const
StartDataSourceRunResult & WithRequestId(RequestIdT &&value)
void SetErrorMessage(ErrorMessageT &&value)
void SetStartedAt(StartedAtT &&value)
void SetDomainId(DomainIdT &&value)
StartDataSourceRunResult & WithErrorMessage(ErrorMessageT &&value)
DataSourceRunStatus GetStatus() const
const Aws::String & GetProjectId() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDataSourceId(DataSourceIdT &&value)
const DataSourceErrorMessage & GetErrorMessage() const
const Aws::String & GetRequestId() const
void SetProjectId(ProjectIdT &&value)
StartDataSourceRunResult & WithRunStatisticsForAssets(RunStatisticsForAssetsT &&value)
DataSourceRunType GetType() const
void SetStoppedAt(StoppedAtT &&value)
StartDataSourceRunResult & WithType(DataSourceRunType value)
StartDataSourceRunResult & WithStatus(DataSourceRunStatus value)
AWS_DATAZONE_API StartDataSourceRunResult()=default
const Aws::String & GetDomainId() const
AWS_DATAZONE_API StartDataSourceRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdatedAt(UpdatedAtT &&value)
AWS_DATAZONE_API StartDataSourceRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDataSourceId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetStatus(DataSourceRunStatus value)
const Aws::String & GetId() const
StartDataSourceRunResult & WithStartedAt(StartedAtT &&value)
StartDataSourceRunResult & WithDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT &&value)
StartDataSourceRunResult & WithProjectId(ProjectIdT &&value)
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue