7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/DataSourceErrorMessage.h>
11#include <aws/datazone/model/DataSourceRunLineageSummary.h>
12#include <aws/datazone/model/RunStatisticsForAssets.h>
13#include <aws/datazone/model/DataSourceRunStatus.h>
14#include <aws/datazone/model/DataSourceRunType.h>
52 template<
typename CreatedAtT = Aws::Utils::DateTime>
53 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
54 template<
typename CreatedAtT = Aws::Utils::DateTime>
64 template<
typename DataSourceIdT = Aws::String>
65 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
66 template<
typename DataSourceIdT = Aws::String>
74 template<
typename ErrorMessageT = DataSourceErrorMessage>
75 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
76 template<
typename ErrorMessageT = DataSourceErrorMessage>
86 template<
typename IdT = Aws::String>
87 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
88 template<
typename IdT = Aws::String>
98 template<
typename LineageSummaryT = DataSourceRunLineageSummary>
99 void SetLineageSummary(LineageSummaryT&& value) { m_lineageSummaryHasBeenSet =
true; m_lineageSummary = std::forward<LineageSummaryT>(value); }
100 template<
typename LineageSummaryT = DataSourceRunLineageSummary>
110 template<
typename ProjectIdT = Aws::String>
111 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet =
true; m_projectId = std::forward<ProjectIdT>(value); }
112 template<
typename ProjectIdT = Aws::String>
120 template<
typename RunStatisticsForAssetsT = RunStatisticsForAssets>
121 void SetRunStatisticsForAssets(RunStatisticsForAssetsT&& value) { m_runStatisticsForAssetsHasBeenSet =
true; m_runStatisticsForAssets = std::forward<RunStatisticsForAssetsT>(value); }
122 template<
typename RunStatisticsForAssetsT = RunStatisticsForAssets>
132 template<
typename StartedAtT = Aws::Utils::DateTime>
133 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
134 template<
typename StartedAtT = Aws::Utils::DateTime>
154 template<
typename StoppedAtT = Aws::Utils::DateTime>
155 void SetStoppedAt(StoppedAtT&& value) { m_stoppedAtHasBeenSet =
true; m_stoppedAt = std::forward<StoppedAtT>(value); }
156 template<
typename StoppedAtT = Aws::Utils::DateTime>
176 template<
typename UpdatedAtT = Aws::Utils::DateTime>
177 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
178 template<
typename UpdatedAtT = Aws::Utils::DateTime>
184 bool m_createdAtHasBeenSet =
false;
187 bool m_dataSourceIdHasBeenSet =
false;
189 DataSourceErrorMessage m_errorMessage;
190 bool m_errorMessageHasBeenSet =
false;
193 bool m_idHasBeenSet =
false;
195 DataSourceRunLineageSummary m_lineageSummary;
196 bool m_lineageSummaryHasBeenSet =
false;
199 bool m_projectIdHasBeenSet =
false;
201 RunStatisticsForAssets m_runStatisticsForAssets;
202 bool m_runStatisticsForAssetsHasBeenSet =
false;
205 bool m_startedAtHasBeenSet =
false;
208 bool m_statusHasBeenSet =
false;
211 bool m_stoppedAtHasBeenSet =
false;
214 bool m_typeHasBeenSet =
false;
217 bool m_updatedAtHasBeenSet =
false;
DataSourceRunSummary & WithDataSourceId(DataSourceIdT &&value)
DataSourceRunSummary & WithStatus(DataSourceRunStatus value)
DataSourceRunSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetStatus(DataSourceRunStatus value)
DataSourceRunSummary & WithType(DataSourceRunType value)
AWS_DATAZONE_API DataSourceRunSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const DataSourceRunLineageSummary & GetLineageSummary() const
AWS_DATAZONE_API DataSourceRunSummary(Aws::Utils::Json::JsonView jsonValue)
bool ProjectIdHasBeenSet() const
DataSourceRunStatus GetStatus() const
DataSourceRunSummary & WithProjectId(ProjectIdT &&value)
const Aws::String & GetProjectId() const
const DataSourceErrorMessage & GetErrorMessage() const
DataSourceRunSummary & WithStoppedAt(StoppedAtT &&value)
bool CreatedAtHasBeenSet() const
bool LineageSummaryHasBeenSet() const
DataSourceRunSummary & WithRunStatisticsForAssets(RunStatisticsForAssetsT &&value)
const Aws::String & GetId() const
DataSourceRunSummary & WithErrorMessage(ErrorMessageT &&value)
bool UpdatedAtHasBeenSet() const
void SetRunStatisticsForAssets(RunStatisticsForAssetsT &&value)
bool StatusHasBeenSet() const
bool TypeHasBeenSet() const
bool RunStatisticsForAssetsHasBeenSet() const
bool DataSourceIdHasBeenSet() const
bool ErrorMessageHasBeenSet() const
DataSourceRunSummary & WithUpdatedAt(UpdatedAtT &&value)
bool IdHasBeenSet() const
const Aws::Utils::DateTime & GetStoppedAt() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStoppedAt(StoppedAtT &&value)
const RunStatisticsForAssets & GetRunStatisticsForAssets() const
const Aws::Utils::DateTime & GetCreatedAt() const
DataSourceRunSummary & WithId(IdT &&value)
void SetErrorMessage(ErrorMessageT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetDataSourceId(DataSourceIdT &&value)
void SetStartedAt(StartedAtT &&value)
DataSourceRunSummary & WithLineageSummary(LineageSummaryT &&value)
bool StartedAtHasBeenSet() const
AWS_DATAZONE_API DataSourceRunSummary()=default
const Aws::String & GetDataSourceId() const
DataSourceRunType GetType() const
void SetProjectId(ProjectIdT &&value)
bool StoppedAtHasBeenSet() const
DataSourceRunSummary & WithStartedAt(StartedAtT &&value)
void SetType(DataSourceRunType value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetLineageSummary(LineageSummaryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue