/** * 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 namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Glue { namespace Model { class GetDataQualityResultResult { public: AWS_GLUE_API GetDataQualityResultResult(); AWS_GLUE_API GetDataQualityResultResult(const Aws::AmazonWebServiceResult& result); AWS_GLUE_API GetDataQualityResultResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A unique result ID for the data quality result.

*/ inline const Aws::String& GetResultId() const{ return m_resultId; } /** *

A unique result ID for the data quality result.

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

A unique result ID for the data quality result.

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

A unique result ID for the data quality result.

*/ inline void SetResultId(const char* value) { m_resultId.assign(value); } /** *

A unique result ID for the data quality result.

*/ inline GetDataQualityResultResult& WithResultId(const Aws::String& value) { SetResultId(value); return *this;} /** *

A unique result ID for the data quality result.

*/ inline GetDataQualityResultResult& WithResultId(Aws::String&& value) { SetResultId(std::move(value)); return *this;} /** *

A unique result ID for the data quality result.

*/ inline GetDataQualityResultResult& WithResultId(const char* value) { SetResultId(value); return *this;} /** *

An aggregate data quality score. Represents the ratio of rules that passed to * the total number of rules.

*/ inline double GetScore() const{ return m_score; } /** *

An aggregate data quality score. Represents the ratio of rules that passed to * the total number of rules.

*/ inline void SetScore(double value) { m_score = value; } /** *

An aggregate data quality score. Represents the ratio of rules that passed to * the total number of rules.

*/ inline GetDataQualityResultResult& WithScore(double value) { SetScore(value); return *this;} /** *

The table associated with the data quality result, if any.

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

The table associated with the data quality result, if any.

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

The table associated with the data quality result, if any.

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

The table associated with the data quality result, if any.

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

The table associated with the data quality result, if any.

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

The name of the ruleset associated with the data quality result.

*/ inline const Aws::String& GetRulesetName() const{ return m_rulesetName; } /** *

The name of the ruleset associated with the data quality result.

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

The name of the ruleset associated with the data quality result.

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

The name of the ruleset associated with the data quality result.

*/ inline void SetRulesetName(const char* value) { m_rulesetName.assign(value); } /** *

The name of the ruleset associated with the data quality result.

*/ inline GetDataQualityResultResult& WithRulesetName(const Aws::String& value) { SetRulesetName(value); return *this;} /** *

The name of the ruleset associated with the data quality result.

*/ inline GetDataQualityResultResult& WithRulesetName(Aws::String&& value) { SetRulesetName(std::move(value)); return *this;} /** *

The name of the ruleset associated with the data quality result.

*/ inline GetDataQualityResultResult& WithRulesetName(const char* value) { SetRulesetName(value); return *this;} /** *

In the context of a job in Glue Studio, each node in the canvas is typically * assigned some sort of name and data quality nodes will have names. In the case * of multiple nodes, the evaluationContext can differentiate the * nodes.

*/ inline const Aws::String& GetEvaluationContext() const{ return m_evaluationContext; } /** *

In the context of a job in Glue Studio, each node in the canvas is typically * assigned some sort of name and data quality nodes will have names. In the case * of multiple nodes, the evaluationContext can differentiate the * nodes.

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

In the context of a job in Glue Studio, each node in the canvas is typically * assigned some sort of name and data quality nodes will have names. In the case * of multiple nodes, the evaluationContext can differentiate the * nodes.

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

In the context of a job in Glue Studio, each node in the canvas is typically * assigned some sort of name and data quality nodes will have names. In the case * of multiple nodes, the evaluationContext can differentiate the * nodes.

*/ inline void SetEvaluationContext(const char* value) { m_evaluationContext.assign(value); } /** *

In the context of a job in Glue Studio, each node in the canvas is typically * assigned some sort of name and data quality nodes will have names. In the case * of multiple nodes, the evaluationContext can differentiate the * nodes.

*/ inline GetDataQualityResultResult& WithEvaluationContext(const Aws::String& value) { SetEvaluationContext(value); return *this;} /** *

In the context of a job in Glue Studio, each node in the canvas is typically * assigned some sort of name and data quality nodes will have names. In the case * of multiple nodes, the evaluationContext can differentiate the * nodes.

*/ inline GetDataQualityResultResult& WithEvaluationContext(Aws::String&& value) { SetEvaluationContext(std::move(value)); return *this;} /** *

In the context of a job in Glue Studio, each node in the canvas is typically * assigned some sort of name and data quality nodes will have names. In the case * of multiple nodes, the evaluationContext can differentiate the * nodes.

*/ inline GetDataQualityResultResult& WithEvaluationContext(const char* value) { SetEvaluationContext(value); return *this;} /** *

The date and time when the run for this data quality result started.

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

The date and time when the run for this data quality result started.

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

The date and time when the run for this data quality result started.

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

The date and time when the run for this data quality result started.

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

The date and time when the run for this data quality result started.

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

The date and time when the run for this data quality result was * completed.

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

The date and time when the run for this data quality result was * completed.

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

The date and time when the run for this data quality result was * completed.

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

The date and time when the run for this data quality result was * completed.

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

The date and time when the run for this data quality result was * completed.

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

The job name associated with the data quality result, if any.

*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *

The job name associated with the data quality result, if any.

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

The job name associated with the data quality result, if any.

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

The job name associated with the data quality result, if any.

*/ inline void SetJobName(const char* value) { m_jobName.assign(value); } /** *

The job name associated with the data quality result, if any.

*/ inline GetDataQualityResultResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The job name associated with the data quality result, if any.

*/ inline GetDataQualityResultResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *

The job name associated with the data quality result, if any.

*/ inline GetDataQualityResultResult& WithJobName(const char* value) { SetJobName(value); return *this;} /** *

The job run ID associated with the data quality result, if any.

*/ inline const Aws::String& GetJobRunId() const{ return m_jobRunId; } /** *

The job run ID associated with the data quality result, if any.

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

The job run ID associated with the data quality result, if any.

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

The job run ID associated with the data quality result, if any.

*/ inline void SetJobRunId(const char* value) { m_jobRunId.assign(value); } /** *

The job run ID associated with the data quality result, if any.

*/ inline GetDataQualityResultResult& WithJobRunId(const Aws::String& value) { SetJobRunId(value); return *this;} /** *

The job run ID associated with the data quality result, if any.

*/ inline GetDataQualityResultResult& WithJobRunId(Aws::String&& value) { SetJobRunId(std::move(value)); return *this;} /** *

The job run ID associated with the data quality result, if any.

*/ inline GetDataQualityResultResult& WithJobRunId(const char* value) { SetJobRunId(value); return *this;} /** *

The unique run ID associated with the ruleset evaluation.

*/ inline const Aws::String& GetRulesetEvaluationRunId() const{ return m_rulesetEvaluationRunId; } /** *

The unique run ID associated with the ruleset evaluation.

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

The unique run ID associated with the ruleset evaluation.

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

The unique run ID associated with the ruleset evaluation.

*/ inline void SetRulesetEvaluationRunId(const char* value) { m_rulesetEvaluationRunId.assign(value); } /** *

The unique run ID associated with the ruleset evaluation.

*/ inline GetDataQualityResultResult& WithRulesetEvaluationRunId(const Aws::String& value) { SetRulesetEvaluationRunId(value); return *this;} /** *

The unique run ID associated with the ruleset evaluation.

*/ inline GetDataQualityResultResult& WithRulesetEvaluationRunId(Aws::String&& value) { SetRulesetEvaluationRunId(std::move(value)); return *this;} /** *

The unique run ID associated with the ruleset evaluation.

*/ inline GetDataQualityResultResult& WithRulesetEvaluationRunId(const char* value) { SetRulesetEvaluationRunId(value); return *this;} /** *

A list of DataQualityRuleResult objects representing the results * for each rule.

*/ inline const Aws::Vector& GetRuleResults() const{ return m_ruleResults; } /** *

A list of DataQualityRuleResult objects representing the results * for each rule.

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

A list of DataQualityRuleResult objects representing the results * for each rule.

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

A list of DataQualityRuleResult objects representing the results * for each rule.

*/ inline GetDataQualityResultResult& WithRuleResults(const Aws::Vector& value) { SetRuleResults(value); return *this;} /** *

A list of DataQualityRuleResult objects representing the results * for each rule.

*/ inline GetDataQualityResultResult& WithRuleResults(Aws::Vector&& value) { SetRuleResults(std::move(value)); return *this;} /** *

A list of DataQualityRuleResult objects representing the results * for each rule.

*/ inline GetDataQualityResultResult& AddRuleResults(const DataQualityRuleResult& value) { m_ruleResults.push_back(value); return *this; } /** *

A list of DataQualityRuleResult objects representing the results * for each rule.

*/ inline GetDataQualityResultResult& AddRuleResults(DataQualityRuleResult&& value) { m_ruleResults.push_back(std::move(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 GetDataQualityResultResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDataQualityResultResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDataQualityResultResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_resultId; double m_score; DataSource m_dataSource; Aws::String m_rulesetName; Aws::String m_evaluationContext; Aws::Utils::DateTime m_startedOn; Aws::Utils::DateTime m_completedOn; Aws::String m_jobName; Aws::String m_jobRunId; Aws::String m_rulesetEvaluationRunId; Aws::Vector m_ruleResults; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws