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>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
41 template <
typename DomainIdT = Aws::String>
43 m_domainIdHasBeenSet =
true;
44 m_domainId = std::forward<DomainIdT>(value);
46 template <
typename DomainIdT = Aws::String>
58 template <
typename DataSourceIdT = Aws::String>
60 m_dataSourceIdHasBeenSet =
true;
61 m_dataSourceId = std::forward<DataSourceIdT>(value);
63 template <
typename DataSourceIdT = Aws::String>
75 template <
typename IdT = Aws::String>
77 m_idHasBeenSet =
true;
78 m_id = std::forward<IdT>(value);
80 template <
typename IdT = Aws::String>
82 SetId(std::forward<IdT>(value));
92 template <
typename ProjectIdT = Aws::String>
94 m_projectIdHasBeenSet =
true;
95 m_projectId = std::forward<ProjectIdT>(value);
97 template <
typename ProjectIdT = Aws::String>
110 m_statusHasBeenSet =
true;
125 m_typeHasBeenSet =
true;
139 template <
typename DataSourceConfigurationSnapshotT = Aws::String>
141 m_dataSourceConfigurationSnapshotHasBeenSet =
true;
142 m_dataSourceConfigurationSnapshot = std::forward<DataSourceConfigurationSnapshotT>(value);
144 template <
typename DataSourceConfigurationSnapshotT = Aws::String>
156 template <
typename RunStatisticsForAssetsT = RunStatisticsForAssets>
158 m_runStatisticsForAssetsHasBeenSet =
true;
159 m_runStatisticsForAssets = std::forward<RunStatisticsForAssetsT>(value);
161 template <
typename RunStatisticsForAssetsT = RunStatisticsForAssets>
174 template <
typename ErrorMessageT = DataSourceErrorMessage>
176 m_errorMessageHasBeenSet =
true;
177 m_errorMessage = std::forward<ErrorMessageT>(value);
179 template <
typename ErrorMessageT = DataSourceErrorMessage>
191 template <
typename CreatedAtT = Aws::Utils::DateTime>
193 m_createdAtHasBeenSet =
true;
194 m_createdAt = std::forward<CreatedAtT>(value);
196 template <
typename CreatedAtT = Aws::Utils::DateTime>
208 template <
typename UpdatedAtT = Aws::Utils::DateTime>
210 m_updatedAtHasBeenSet =
true;
211 m_updatedAt = std::forward<UpdatedAtT>(value);
213 template <
typename UpdatedAtT = Aws::Utils::DateTime>
225 template <
typename StartedAtT = Aws::Utils::DateTime>
227 m_startedAtHasBeenSet =
true;
228 m_startedAt = std::forward<StartedAtT>(value);
230 template <
typename StartedAtT = Aws::Utils::DateTime>
242 template <
typename StoppedAtT = Aws::Utils::DateTime>
244 m_stoppedAtHasBeenSet =
true;
245 m_stoppedAt = std::forward<StoppedAtT>(value);
247 template <
typename StoppedAtT = Aws::Utils::DateTime>
257 template <
typename RequestIdT = Aws::String>
259 m_requestIdHasBeenSet =
true;
260 m_requestId = std::forward<RequestIdT>(value);
262 template <
typename RequestIdT = Aws::String>
285 RunStatisticsForAssets m_runStatisticsForAssets;
287 DataSourceErrorMessage m_errorMessage;
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;
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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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