/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Glue { namespace Model { class GetDataQualityRulesetEvaluationRunResult { public: AWS_GLUE_API GetDataQualityRulesetEvaluationRunResult(); AWS_GLUE_API GetDataQualityRulesetEvaluationRunResult(const Aws::AmazonWebServiceResult& result); AWS_GLUE_API GetDataQualityRulesetEvaluationRunResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique run identifier associated with this run.

*/ inline const Aws::String& GetRunId() const{ return m_runId; } /** *

The unique run identifier associated with this run.

*/ inline void SetRunId(const Aws::String& value) { m_runId = value; } /** *

The unique run identifier associated with this run.

*/ inline void SetRunId(Aws::String&& value) { m_runId = std::move(value); } /** *

The unique run identifier associated with this run.

*/ inline void SetRunId(const char* value) { m_runId.assign(value); } /** *

The unique run identifier associated with this run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithRunId(const Aws::String& value) { SetRunId(value); return *this;} /** *

The unique run identifier associated with this run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;} /** *

The unique run identifier associated with this run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithRunId(const char* value) { SetRunId(value); return *this;} /** *

The data source (an Glue table) associated with this evaluation run.

*/ inline const DataSource& GetDataSource() const{ return m_dataSource; } /** *

The data source (an Glue table) associated with this evaluation run.

*/ inline void SetDataSource(const DataSource& value) { m_dataSource = value; } /** *

The data source (an Glue table) associated with this evaluation run.

*/ inline void SetDataSource(DataSource&& value) { m_dataSource = std::move(value); } /** *

The data source (an Glue table) associated with this evaluation run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;} /** *

The data source (an Glue table) associated with this evaluation run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;} /** *

An IAM role supplied to encrypt the results of the run.

*/ inline const Aws::String& GetRole() const{ return m_role; } /** *

An IAM role supplied to encrypt the results of the run.

*/ inline void SetRole(const Aws::String& value) { m_role = value; } /** *

An IAM role supplied to encrypt the results of the run.

*/ inline void SetRole(Aws::String&& value) { m_role = std::move(value); } /** *

An IAM role supplied to encrypt the results of the run.

*/ inline void SetRole(const char* value) { m_role.assign(value); } /** *

An IAM role supplied to encrypt the results of the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithRole(const Aws::String& value) { SetRole(value); return *this;} /** *

An IAM role supplied to encrypt the results of the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;} /** *

An IAM role supplied to encrypt the results of the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithRole(const char* value) { SetRole(value); return *this;} /** *

The number of G.1X workers to be used in the run. The default is * 5.

*/ inline int GetNumberOfWorkers() const{ return m_numberOfWorkers; } /** *

The number of G.1X workers to be used in the run. The default is * 5.

*/ inline void SetNumberOfWorkers(int value) { m_numberOfWorkers = value; } /** *

The number of G.1X workers to be used in the run. The default is * 5.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;} /** *

The timeout for a run in minutes. This is the maximum time that a run can * consume resources before it is terminated and enters TIMEOUT * status. The default is 2,880 minutes (48 hours).

*/ inline int GetTimeout() const{ return m_timeout; } /** *

The timeout for a run in minutes. This is the maximum time that a run can * consume resources before it is terminated and enters TIMEOUT * status. The default is 2,880 minutes (48 hours).

*/ inline void SetTimeout(int value) { m_timeout = value; } /** *

The timeout for a run in minutes. This is the maximum time that a run can * consume resources before it is terminated and enters TIMEOUT * status. The default is 2,880 minutes (48 hours).

*/ inline GetDataQualityRulesetEvaluationRunResult& WithTimeout(int value) { SetTimeout(value); return *this;} /** *

Additional run options you can specify for an evaluation run.

*/ inline const DataQualityEvaluationRunAdditionalRunOptions& GetAdditionalRunOptions() const{ return m_additionalRunOptions; } /** *

Additional run options you can specify for an evaluation run.

*/ inline void SetAdditionalRunOptions(const DataQualityEvaluationRunAdditionalRunOptions& value) { m_additionalRunOptions = value; } /** *

Additional run options you can specify for an evaluation run.

*/ inline void SetAdditionalRunOptions(DataQualityEvaluationRunAdditionalRunOptions&& value) { m_additionalRunOptions = std::move(value); } /** *

Additional run options you can specify for an evaluation run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithAdditionalRunOptions(const DataQualityEvaluationRunAdditionalRunOptions& value) { SetAdditionalRunOptions(value); return *this;} /** *

Additional run options you can specify for an evaluation run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithAdditionalRunOptions(DataQualityEvaluationRunAdditionalRunOptions&& value) { SetAdditionalRunOptions(std::move(value)); return *this;} /** *

The status for this run.

*/ inline const TaskStatusType& GetStatus() const{ return m_status; } /** *

The status for this run.

*/ inline void SetStatus(const TaskStatusType& value) { m_status = value; } /** *

The status for this run.

*/ inline void SetStatus(TaskStatusType&& value) { m_status = std::move(value); } /** *

The status for this run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithStatus(const TaskStatusType& value) { SetStatus(value); return *this;} /** *

The status for this run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithStatus(TaskStatusType&& value) { SetStatus(std::move(value)); return *this;} /** *

The error strings that are associated with the run.

*/ inline const Aws::String& GetErrorString() const{ return m_errorString; } /** *

The error strings that are associated with the run.

*/ inline void SetErrorString(const Aws::String& value) { m_errorString = value; } /** *

The error strings that are associated with the run.

*/ inline void SetErrorString(Aws::String&& value) { m_errorString = std::move(value); } /** *

The error strings that are associated with the run.

*/ inline void SetErrorString(const char* value) { m_errorString.assign(value); } /** *

The error strings that are associated with the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithErrorString(const Aws::String& value) { SetErrorString(value); return *this;} /** *

The error strings that are associated with the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithErrorString(Aws::String&& value) { SetErrorString(std::move(value)); return *this;} /** *

The error strings that are associated with the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithErrorString(const char* value) { SetErrorString(value); return *this;} /** *

The date and time when this run started.

*/ inline const Aws::Utils::DateTime& GetStartedOn() const{ return m_startedOn; } /** *

The date and time when this run started.

*/ inline void SetStartedOn(const Aws::Utils::DateTime& value) { m_startedOn = value; } /** *

The date and time when this run started.

*/ inline void SetStartedOn(Aws::Utils::DateTime&& value) { m_startedOn = std::move(value); } /** *

The date and time when this run started.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithStartedOn(const Aws::Utils::DateTime& value) { SetStartedOn(value); return *this;} /** *

The date and time when this run started.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithStartedOn(Aws::Utils::DateTime&& value) { SetStartedOn(std::move(value)); return *this;} /** *

A timestamp. The last point in time when this data quality rule * recommendation run was modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedOn() const{ return m_lastModifiedOn; } /** *

A timestamp. The last point in time when this data quality rule * recommendation run was modified.

*/ inline void SetLastModifiedOn(const Aws::Utils::DateTime& value) { m_lastModifiedOn = value; } /** *

A timestamp. The last point in time when this data quality rule * recommendation run was modified.

*/ inline void SetLastModifiedOn(Aws::Utils::DateTime&& value) { m_lastModifiedOn = std::move(value); } /** *

A timestamp. The last point in time when this data quality rule * recommendation run was modified.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithLastModifiedOn(const Aws::Utils::DateTime& value) { SetLastModifiedOn(value); return *this;} /** *

A timestamp. The last point in time when this data quality rule * recommendation run was modified.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithLastModifiedOn(Aws::Utils::DateTime&& value) { SetLastModifiedOn(std::move(value)); return *this;} /** *

The date and time when this run was completed.

*/ inline const Aws::Utils::DateTime& GetCompletedOn() const{ return m_completedOn; } /** *

The date and time when this run was completed.

*/ inline void SetCompletedOn(const Aws::Utils::DateTime& value) { m_completedOn = value; } /** *

The date and time when this run was completed.

*/ inline void SetCompletedOn(Aws::Utils::DateTime&& value) { m_completedOn = std::move(value); } /** *

The date and time when this run was completed.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithCompletedOn(const Aws::Utils::DateTime& value) { SetCompletedOn(value); return *this;} /** *

The date and time when this run was completed.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithCompletedOn(Aws::Utils::DateTime&& value) { SetCompletedOn(std::move(value)); return *this;} /** *

The amount of time (in seconds) that the run consumed resources.

*/ inline int GetExecutionTime() const{ return m_executionTime; } /** *

The amount of time (in seconds) that the run consumed resources.

*/ inline void SetExecutionTime(int value) { m_executionTime = value; } /** *

The amount of time (in seconds) that the run consumed resources.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithExecutionTime(int value) { SetExecutionTime(value); return *this;} /** *

A list of ruleset names for the run.

*/ inline const Aws::Vector& GetRulesetNames() const{ return m_rulesetNames; } /** *

A list of ruleset names for the run.

*/ inline void SetRulesetNames(const Aws::Vector& value) { m_rulesetNames = value; } /** *

A list of ruleset names for the run.

*/ inline void SetRulesetNames(Aws::Vector&& value) { m_rulesetNames = std::move(value); } /** *

A list of ruleset names for the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithRulesetNames(const Aws::Vector& value) { SetRulesetNames(value); return *this;} /** *

A list of ruleset names for the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithRulesetNames(Aws::Vector&& value) { SetRulesetNames(std::move(value)); return *this;} /** *

A list of ruleset names for the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& AddRulesetNames(const Aws::String& value) { m_rulesetNames.push_back(value); return *this; } /** *

A list of ruleset names for the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& AddRulesetNames(Aws::String&& value) { m_rulesetNames.push_back(std::move(value)); return *this; } /** *

A list of ruleset names for the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& AddRulesetNames(const char* value) { m_rulesetNames.push_back(value); return *this; } /** *

A list of result IDs for the data quality results for the run.

*/ inline const Aws::Vector& GetResultIds() const{ return m_resultIds; } /** *

A list of result IDs for the data quality results for the run.

*/ inline void SetResultIds(const Aws::Vector& value) { m_resultIds = value; } /** *

A list of result IDs for the data quality results for the run.

*/ inline void SetResultIds(Aws::Vector&& value) { m_resultIds = std::move(value); } /** *

A list of result IDs for the data quality results for the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithResultIds(const Aws::Vector& value) { SetResultIds(value); return *this;} /** *

A list of result IDs for the data quality results for the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithResultIds(Aws::Vector&& value) { SetResultIds(std::move(value)); return *this;} /** *

A list of result IDs for the data quality results for the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& AddResultIds(const Aws::String& value) { m_resultIds.push_back(value); return *this; } /** *

A list of result IDs for the data quality results for the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& AddResultIds(Aws::String&& value) { m_resultIds.push_back(std::move(value)); return *this; } /** *

A list of result IDs for the data quality results for the run.

*/ inline GetDataQualityRulesetEvaluationRunResult& AddResultIds(const char* value) { m_resultIds.push_back(value); return *this; } /** *

A map of reference strings to additional data sources you can specify for an * evaluation run.

*/ inline const Aws::Map& GetAdditionalDataSources() const{ return m_additionalDataSources; } /** *

A map of reference strings to additional data sources you can specify for an * evaluation run.

*/ inline void SetAdditionalDataSources(const Aws::Map& value) { m_additionalDataSources = value; } /** *

A map of reference strings to additional data sources you can specify for an * evaluation run.

*/ inline void SetAdditionalDataSources(Aws::Map&& value) { m_additionalDataSources = std::move(value); } /** *

A map of reference strings to additional data sources you can specify for an * evaluation run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithAdditionalDataSources(const Aws::Map& value) { SetAdditionalDataSources(value); return *this;} /** *

A map of reference strings to additional data sources you can specify for an * evaluation run.

*/ inline GetDataQualityRulesetEvaluationRunResult& WithAdditionalDataSources(Aws::Map&& value) { SetAdditionalDataSources(std::move(value)); return *this;} /** *

A map of reference strings to additional data sources you can specify for an * evaluation run.

*/ inline GetDataQualityRulesetEvaluationRunResult& AddAdditionalDataSources(const Aws::String& key, const DataSource& value) { m_additionalDataSources.emplace(key, value); return *this; } /** *

A map of reference strings to additional data sources you can specify for an * evaluation run.

*/ inline GetDataQualityRulesetEvaluationRunResult& AddAdditionalDataSources(Aws::String&& key, const DataSource& value) { m_additionalDataSources.emplace(std::move(key), value); return *this; } /** *

A map of reference strings to additional data sources you can specify for an * evaluation run.

*/ inline GetDataQualityRulesetEvaluationRunResult& AddAdditionalDataSources(const Aws::String& key, DataSource&& value) { m_additionalDataSources.emplace(key, std::move(value)); return *this; } /** *

A map of reference strings to additional data sources you can specify for an * evaluation run.

*/ inline GetDataQualityRulesetEvaluationRunResult& AddAdditionalDataSources(Aws::String&& key, DataSource&& value) { m_additionalDataSources.emplace(std::move(key), std::move(value)); return *this; } /** *

A map of reference strings to additional data sources you can specify for an * evaluation run.

*/ inline GetDataQualityRulesetEvaluationRunResult& AddAdditionalDataSources(const char* key, DataSource&& value) { m_additionalDataSources.emplace(key, std::move(value)); return *this; } /** *

A map of reference strings to additional data sources you can specify for an * evaluation run.

*/ inline GetDataQualityRulesetEvaluationRunResult& AddAdditionalDataSources(const char* key, const DataSource& value) { m_additionalDataSources.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDataQualityRulesetEvaluationRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDataQualityRulesetEvaluationRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDataQualityRulesetEvaluationRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_runId; DataSource m_dataSource; Aws::String m_role; int m_numberOfWorkers; int m_timeout; DataQualityEvaluationRunAdditionalRunOptions m_additionalRunOptions; TaskStatusType m_status; Aws::String m_errorString; Aws::Utils::DateTime m_startedOn; Aws::Utils::DateTime m_lastModifiedOn; Aws::Utils::DateTime m_completedOn; int m_executionTime; Aws::Vector m_rulesetNames; Aws::Vector m_resultIds; Aws::Map m_additionalDataSources; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws