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/RunStatisticsForAssets.h>
12#include <aws/datazone/model/DataSourceRunStatus.h>
13#include <aws/datazone/model/DataSourceRunType.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename CreatedAtT = Aws::Utils::DateTime>
46 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
47 template<
typename CreatedAtT = Aws::Utils::DateTime>
56 template<
typename DataSourceConfigurationSnapshotT = Aws::String>
57 void SetDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT&& value) { m_dataSourceConfigurationSnapshotHasBeenSet =
true; m_dataSourceConfigurationSnapshot = std::forward<DataSourceConfigurationSnapshotT>(value); }
58 template<
typename DataSourceConfigurationSnapshotT = Aws::String>
67 template<
typename DataSourceIdT = Aws::String>
68 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
69 template<
typename DataSourceIdT = Aws::String>
79 template<
typename DomainIdT = Aws::String>
80 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
81 template<
typename DomainIdT = Aws::String>
91 template<
typename ErrorMessageT = DataSourceErrorMessage>
92 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
93 template<
typename ErrorMessageT = DataSourceErrorMessage>
102 template<
typename IdT = Aws::String>
103 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
104 template<
typename IdT = Aws::String>
113 template<
typename ProjectIdT = Aws::String>
114 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet =
true; m_projectId = std::forward<ProjectIdT>(value); }
115 template<
typename ProjectIdT = Aws::String>
124 template<
typename RunStatisticsForAssetsT = RunStatisticsForAssets>
125 void SetRunStatisticsForAssets(RunStatisticsForAssetsT&& value) { m_runStatisticsForAssetsHasBeenSet =
true; m_runStatisticsForAssets = std::forward<RunStatisticsForAssetsT>(value); }
126 template<
typename RunStatisticsForAssetsT = RunStatisticsForAssets>
135 template<
typename StartedAtT = Aws::Utils::DateTime>
136 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
137 template<
typename StartedAtT = Aws::Utils::DateTime>
155 template<
typename StoppedAtT = Aws::Utils::DateTime>
156 void SetStoppedAt(StoppedAtT&& value) { m_stoppedAtHasBeenSet =
true; m_stoppedAt = std::forward<StoppedAtT>(value); }
157 template<
typename StoppedAtT = Aws::Utils::DateTime>
175 template<
typename UpdatedAtT = Aws::Utils::DateTime>
176 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
177 template<
typename UpdatedAtT = Aws::Utils::DateTime>
184 template<
typename RequestIdT = Aws::String>
185 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
186 template<
typename RequestIdT = Aws::String>
192 bool m_createdAtHasBeenSet =
false;
195 bool m_dataSourceConfigurationSnapshotHasBeenSet =
false;
198 bool m_dataSourceIdHasBeenSet =
false;
201 bool m_domainIdHasBeenSet =
false;
203 DataSourceErrorMessage m_errorMessage;
204 bool m_errorMessageHasBeenSet =
false;
207 bool m_idHasBeenSet =
false;
210 bool m_projectIdHasBeenSet =
false;
212 RunStatisticsForAssets m_runStatisticsForAssets;
213 bool m_runStatisticsForAssetsHasBeenSet =
false;
216 bool m_startedAtHasBeenSet =
false;
219 bool m_statusHasBeenSet =
false;
222 bool m_stoppedAtHasBeenSet =
false;
225 bool m_typeHasBeenSet =
false;
228 bool m_updatedAtHasBeenSet =
false;
231 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