7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/Glue_EXPORTS.h>
12#include <aws/glue/model/DataQualityEvaluationRunAdditionalRunOptions.h>
13#include <aws/glue/model/DataSource.h>
14#include <aws/glue/model/TaskStatusType.h>
47 template <
typename RunIdT = Aws::String>
49 m_runIdHasBeenSet =
true;
50 m_runId = std::forward<RunIdT>(value);
52 template <
typename RunIdT = Aws::String>
54 SetRunId(std::forward<RunIdT>(value));
63 template <
typename DataSourceT = DataSource>
65 m_dataSourceHasBeenSet =
true;
66 m_dataSource = std::forward<DataSourceT>(value);
68 template <
typename DataSourceT = DataSource>
81 template <
typename RoleT = Aws::String>
83 m_roleHasBeenSet =
true;
84 m_role = std::forward<RoleT>(value);
86 template <
typename RoleT = Aws::String>
88 SetRole(std::forward<RoleT>(value));
101 m_numberOfWorkersHasBeenSet =
true;
102 m_numberOfWorkers = value;
119 m_timeoutHasBeenSet =
true;
132 template <
typename AdditionalRunOptionsT = DataQualityEvaluationRunAdditionalRunOptions>
134 m_additionalRunOptionsHasBeenSet =
true;
135 m_additionalRunOptions = std::forward<AdditionalRunOptionsT>(value);
137 template <
typename AdditionalRunOptionsT = DataQualityEvaluationRunAdditionalRunOptions>
151 m_statusHasBeenSet =
true;
166 template <
typename ErrorStringT = Aws::String>
168 m_errorStringHasBeenSet =
true;
169 m_errorString = std::forward<ErrorStringT>(value);
171 template <
typename ErrorStringT = Aws::String>
184 template <
typename StartedOnT = Aws::Utils::DateTime>
186 m_startedOnHasBeenSet =
true;
187 m_startedOn = std::forward<StartedOnT>(value);
189 template <
typename StartedOnT = Aws::Utils::DateTime>
202 template <
typename LastModifiedOnT = Aws::Utils::DateTime>
204 m_lastModifiedOnHasBeenSet =
true;
205 m_lastModifiedOn = std::forward<LastModifiedOnT>(value);
207 template <
typename LastModifiedOnT = Aws::Utils::DateTime>
220 template <
typename CompletedOnT = Aws::Utils::DateTime>
222 m_completedOnHasBeenSet =
true;
223 m_completedOn = std::forward<CompletedOnT>(value);
225 template <
typename CompletedOnT = Aws::Utils::DateTime>
239 m_executionTimeHasBeenSet =
true;
240 m_executionTime = value;
254 template <
typename RulesetNamesT = Aws::Vector<Aws::String>>
256 m_rulesetNamesHasBeenSet =
true;
257 m_rulesetNames = std::forward<RulesetNamesT>(value);
259 template <
typename RulesetNamesT = Aws::Vector<Aws::String>>
264 template <
typename RulesetNamesT = Aws::String>
266 m_rulesetNamesHasBeenSet =
true;
267 m_rulesetNames.emplace_back(std::forward<RulesetNamesT>(value));
278 template <
typename ResultIdsT = Aws::Vector<Aws::String>>
280 m_resultIdsHasBeenSet =
true;
281 m_resultIds = std::forward<ResultIdsT>(value);
283 template <
typename ResultIdsT = Aws::Vector<Aws::String>>
288 template <
typename ResultIdsT = Aws::String>
290 m_resultIdsHasBeenSet =
true;
291 m_resultIds.emplace_back(std::forward<ResultIdsT>(value));
303 template <
typename AdditionalDataSourcesT = Aws::Map<Aws::String, DataSource>>
305 m_additionalDataSourcesHasBeenSet =
true;
306 m_additionalDataSources = std::forward<AdditionalDataSourcesT>(value);
308 template <
typename AdditionalDataSourcesT = Aws::Map<Aws::String, DataSource>>
313 template <
typename AdditionalDataSourcesKeyT = Aws::String,
typename AdditionalDataSourcesValueT = DataSource>
315 m_additionalDataSourcesHasBeenSet =
true;
316 m_additionalDataSources.emplace(std::forward<AdditionalDataSourcesKeyT>(key), std::forward<AdditionalDataSourcesValueT>(value));
327 int m_numberOfWorkers{0};
331 DataQualityEvaluationRunAdditionalRunOptions m_additionalRunOptions;
343 int m_executionTime{0};
350 bool m_runIdHasBeenSet =
false;
351 bool m_dataSourceHasBeenSet =
false;
352 bool m_roleHasBeenSet =
false;
353 bool m_numberOfWorkersHasBeenSet =
false;
354 bool m_timeoutHasBeenSet =
false;
355 bool m_additionalRunOptionsHasBeenSet =
false;
356 bool m_statusHasBeenSet =
false;
357 bool m_errorStringHasBeenSet =
false;
358 bool m_startedOnHasBeenSet =
false;
359 bool m_lastModifiedOnHasBeenSet =
false;
360 bool m_completedOnHasBeenSet =
false;
361 bool m_executionTimeHasBeenSet =
false;
362 bool m_rulesetNamesHasBeenSet =
false;
363 bool m_resultIdsHasBeenSet =
false;
364 bool m_additionalDataSourcesHasBeenSet =
false;
bool DataSourceHasBeenSet() const
AWS_GLUE_API DataQualityRulesetEvaluationRun(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
DataQualityRulesetEvaluationRun & WithStartedOn(StartedOnT &&value)
const DataQualityEvaluationRunAdditionalRunOptions & GetAdditionalRunOptions() const
void SetStartedOn(StartedOnT &&value)
const Aws::String & GetRole() const
void SetStatus(TaskStatusType value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
DataQualityRulesetEvaluationRun & WithRole(RoleT &&value)
bool LastModifiedOnHasBeenSet() const
void SetDataSource(DataSourceT &&value)
DataQualityRulesetEvaluationRun & WithResultIds(ResultIdsT &&value)
bool RunIdHasBeenSet() const
void SetAdditionalDataSources(AdditionalDataSourcesT &&value)
DataQualityRulesetEvaluationRun & WithAdditionalRunOptions(AdditionalRunOptionsT &&value)
DataQualityRulesetEvaluationRun & WithRunId(RunIdT &&value)
DataQualityRulesetEvaluationRun & AddAdditionalDataSources(AdditionalDataSourcesKeyT &&key, AdditionalDataSourcesValueT &&value)
void SetNumberOfWorkers(int value)
const Aws::Map< Aws::String, DataSource > & GetAdditionalDataSources() const
DataQualityRulesetEvaluationRun & AddResultIds(ResultIdsT &&value)
DataQualityRulesetEvaluationRun & WithNumberOfWorkers(int value)
TaskStatusType GetStatus() const
DataQualityRulesetEvaluationRun & WithCompletedOn(CompletedOnT &&value)
AWS_GLUE_API DataQualityRulesetEvaluationRun()=default
DataQualityRulesetEvaluationRun & AddRulesetNames(RulesetNamesT &&value)
bool TimeoutHasBeenSet() const
bool StartedOnHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedOn() const
AWS_GLUE_API DataQualityRulesetEvaluationRun & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRulesetNames(RulesetNamesT &&value)
void SetTimeout(int value)
void SetRunId(RunIdT &&value)
bool ResultIdsHasBeenSet() const
bool AdditionalDataSourcesHasBeenSet() const
const Aws::String & GetErrorString() const
DataQualityRulesetEvaluationRun & WithAdditionalDataSources(AdditionalDataSourcesT &&value)
void SetResultIds(ResultIdsT &&value)
DataQualityRulesetEvaluationRun & WithErrorString(ErrorStringT &&value)
const DataSource & GetDataSource() const
bool RoleHasBeenSet() const
void SetLastModifiedOn(LastModifiedOnT &&value)
DataQualityRulesetEvaluationRun & WithTimeout(int value)
DataQualityRulesetEvaluationRun & WithRulesetNames(RulesetNamesT &&value)
DataQualityRulesetEvaluationRun & WithLastModifiedOn(LastModifiedOnT &&value)
void SetCompletedOn(CompletedOnT &&value)
bool CompletedOnHasBeenSet() const
int GetExecutionTime() const
const Aws::String & GetRunId() const
DataQualityRulesetEvaluationRun & WithDataSource(DataSourceT &&value)
const Aws::Vector< Aws::String > & GetResultIds() const
bool RulesetNamesHasBeenSet() const
DataQualityRulesetEvaluationRun & WithStatus(TaskStatusType value)
bool AdditionalRunOptionsHasBeenSet() const
void SetExecutionTime(int value)
const Aws::Vector< Aws::String > & GetRulesetNames() const
const Aws::Utils::DateTime & GetCompletedOn() const
int GetNumberOfWorkers() const
bool NumberOfWorkersHasBeenSet() const
void SetErrorString(ErrorStringT &&value)
const Aws::Utils::DateTime & GetStartedOn() const
DataQualityRulesetEvaluationRun & WithExecutionTime(int value)
void SetAdditionalRunOptions(AdditionalRunOptionsT &&value)
void SetRole(RoleT &&value)
bool ExecutionTimeHasBeenSet() const
bool ErrorStringHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue