/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

Describes the result of a data quality ruleset evaluation run.

See * Also:

AWS * API Reference

*/ class DataQualityRulesetEvaluationRunDescription { public: AWS_GLUE_API DataQualityRulesetEvaluationRunDescription(); AWS_GLUE_API DataQualityRulesetEvaluationRunDescription(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API DataQualityRulesetEvaluationRunDescription& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; } /** *

The unique run identifier associated with this run.

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

The unique run identifier associated with this run.

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

The unique run identifier associated with this run.

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

The unique run identifier associated with this run.

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

The unique run identifier associated with this run.

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

The unique run identifier associated with this run.

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

The status for this run.

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

The status for this run.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status for this run.

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

The status for this run.

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

The status for this run.

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

The status for this run.

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

The date and time when the run started.

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

The date and time when the run started.

*/ inline bool StartedOnHasBeenSet() const { return m_startedOnHasBeenSet; } /** *

The date and time when the run started.

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

The date and time when the run started.

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

The date and time when the run started.

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

The date and time when the run started.

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

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

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

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

*/ inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } /** *

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

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

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

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

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

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

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

*/ inline DataQualityRulesetEvaluationRunDescription& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;} private: Aws::String m_runId; bool m_runIdHasBeenSet = false; TaskStatusType m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_startedOn; bool m_startedOnHasBeenSet = false; DataSource m_dataSource; bool m_dataSourceHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws