/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 GetDataQualityRuleRecommendationRunResult { public: AWS_GLUE_API GetDataQualityRuleRecommendationRunResult(); AWS_GLUE_API GetDataQualityRuleRecommendationRunResult(const Aws::AmazonWebServiceResult& result); AWS_GLUE_API GetDataQualityRuleRecommendationRunResult& 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 GetDataQualityRuleRecommendationRunResult& WithRunId(const Aws::String& value) { SetRunId(value); return *this;} /** *

The unique run identifier associated with this run.

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

The unique run identifier associated with this run.

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

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

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

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

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

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

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

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

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

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

*/ inline GetDataQualityRuleRecommendationRunResult& 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 GetDataQualityRuleRecommendationRunResult& WithRole(const Aws::String& value) { SetRole(value); return *this;} /** *

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

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

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

*/ inline GetDataQualityRuleRecommendationRunResult& 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 GetDataQualityRuleRecommendationRunResult& 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 GetDataQualityRuleRecommendationRunResult& WithTimeout(int value) { SetTimeout(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 GetDataQualityRuleRecommendationRunResult& WithStatus(const TaskStatusType& value) { SetStatus(value); return *this;} /** *

The status for this run.

*/ inline GetDataQualityRuleRecommendationRunResult& 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 GetDataQualityRuleRecommendationRunResult& WithErrorString(const Aws::String& value) { SetErrorString(value); return *this;} /** *

The error strings that are associated with the run.

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

The error strings that are associated with the run.

*/ inline GetDataQualityRuleRecommendationRunResult& 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 GetDataQualityRuleRecommendationRunResult& WithStartedOn(const Aws::Utils::DateTime& value) { SetStartedOn(value); return *this;} /** *

The date and time when this run started.

*/ inline GetDataQualityRuleRecommendationRunResult& 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 GetDataQualityRuleRecommendationRunResult& 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 GetDataQualityRuleRecommendationRunResult& 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 GetDataQualityRuleRecommendationRunResult& WithCompletedOn(const Aws::Utils::DateTime& value) { SetCompletedOn(value); return *this;} /** *

The date and time when this run was completed.

*/ inline GetDataQualityRuleRecommendationRunResult& 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 GetDataQualityRuleRecommendationRunResult& WithExecutionTime(int value) { SetExecutionTime(value); return *this;} /** *

When a start rule recommendation run completes, it creates a recommended * ruleset (a set of rules). This member has those rules in Data Quality Definition * Language (DQDL) format.

*/ inline const Aws::String& GetRecommendedRuleset() const{ return m_recommendedRuleset; } /** *

When a start rule recommendation run completes, it creates a recommended * ruleset (a set of rules). This member has those rules in Data Quality Definition * Language (DQDL) format.

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

When a start rule recommendation run completes, it creates a recommended * ruleset (a set of rules). This member has those rules in Data Quality Definition * Language (DQDL) format.

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

When a start rule recommendation run completes, it creates a recommended * ruleset (a set of rules). This member has those rules in Data Quality Definition * Language (DQDL) format.

*/ inline void SetRecommendedRuleset(const char* value) { m_recommendedRuleset.assign(value); } /** *

When a start rule recommendation run completes, it creates a recommended * ruleset (a set of rules). This member has those rules in Data Quality Definition * Language (DQDL) format.

*/ inline GetDataQualityRuleRecommendationRunResult& WithRecommendedRuleset(const Aws::String& value) { SetRecommendedRuleset(value); return *this;} /** *

When a start rule recommendation run completes, it creates a recommended * ruleset (a set of rules). This member has those rules in Data Quality Definition * Language (DQDL) format.

*/ inline GetDataQualityRuleRecommendationRunResult& WithRecommendedRuleset(Aws::String&& value) { SetRecommendedRuleset(std::move(value)); return *this;} /** *

When a start rule recommendation run completes, it creates a recommended * ruleset (a set of rules). This member has those rules in Data Quality Definition * Language (DQDL) format.

*/ inline GetDataQualityRuleRecommendationRunResult& WithRecommendedRuleset(const char* value) { SetRecommendedRuleset(value); return *this;} /** *

The name of the ruleset that was created by the run.

*/ inline const Aws::String& GetCreatedRulesetName() const{ return m_createdRulesetName; } /** *

The name of the ruleset that was created by the run.

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

The name of the ruleset that was created by the run.

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

The name of the ruleset that was created by the run.

*/ inline void SetCreatedRulesetName(const char* value) { m_createdRulesetName.assign(value); } /** *

The name of the ruleset that was created by the run.

*/ inline GetDataQualityRuleRecommendationRunResult& WithCreatedRulesetName(const Aws::String& value) { SetCreatedRulesetName(value); return *this;} /** *

The name of the ruleset that was created by the run.

*/ inline GetDataQualityRuleRecommendationRunResult& WithCreatedRulesetName(Aws::String&& value) { SetCreatedRulesetName(std::move(value)); return *this;} /** *

The name of the ruleset that was created by the run.

*/ inline GetDataQualityRuleRecommendationRunResult& WithCreatedRulesetName(const char* value) { SetCreatedRulesetName(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 GetDataQualityRuleRecommendationRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDataQualityRuleRecommendationRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDataQualityRuleRecommendationRunResult& 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; 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::String m_recommendedRuleset; Aws::String m_createdRulesetName; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws