/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

Describes a data quality ruleset returned by * GetDataQualityRuleset.

See Also:

AWS * API Reference

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

The name of the data quality ruleset.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the data quality ruleset.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the data quality ruleset.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the data quality ruleset.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the data quality ruleset.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the data quality ruleset.

*/ inline DataQualityRulesetListDetails& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the data quality ruleset.

*/ inline DataQualityRulesetListDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the data quality ruleset.

*/ inline DataQualityRulesetListDetails& WithName(const char* value) { SetName(value); return *this;} /** *

A description of the data quality ruleset.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the data quality ruleset.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the data quality ruleset.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the data quality ruleset.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the data quality ruleset.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the data quality ruleset.

*/ inline DataQualityRulesetListDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the data quality ruleset.

*/ inline DataQualityRulesetListDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the data quality ruleset.

*/ inline DataQualityRulesetListDetails& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The date and time the data quality ruleset was created.

*/ inline const Aws::Utils::DateTime& GetCreatedOn() const{ return m_createdOn; } /** *

The date and time the data quality ruleset was created.

*/ inline bool CreatedOnHasBeenSet() const { return m_createdOnHasBeenSet; } /** *

The date and time the data quality ruleset was created.

*/ inline void SetCreatedOn(const Aws::Utils::DateTime& value) { m_createdOnHasBeenSet = true; m_createdOn = value; } /** *

The date and time the data quality ruleset was created.

*/ inline void SetCreatedOn(Aws::Utils::DateTime&& value) { m_createdOnHasBeenSet = true; m_createdOn = std::move(value); } /** *

The date and time the data quality ruleset was created.

*/ inline DataQualityRulesetListDetails& WithCreatedOn(const Aws::Utils::DateTime& value) { SetCreatedOn(value); return *this;} /** *

The date and time the data quality ruleset was created.

*/ inline DataQualityRulesetListDetails& WithCreatedOn(Aws::Utils::DateTime&& value) { SetCreatedOn(std::move(value)); return *this;} /** *

The date and time the data quality ruleset was last modified.

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

The date and time the data quality ruleset was last modified.

*/ inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; } /** *

The date and time the data quality ruleset was last modified.

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

The date and time the data quality ruleset was last modified.

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

The date and time the data quality ruleset was last modified.

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

The date and time the data quality ruleset was last modified.

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

An object representing an Glue table.

*/ inline const DataQualityTargetTable& GetTargetTable() const{ return m_targetTable; } /** *

An object representing an Glue table.

*/ inline bool TargetTableHasBeenSet() const { return m_targetTableHasBeenSet; } /** *

An object representing an Glue table.

*/ inline void SetTargetTable(const DataQualityTargetTable& value) { m_targetTableHasBeenSet = true; m_targetTable = value; } /** *

An object representing an Glue table.

*/ inline void SetTargetTable(DataQualityTargetTable&& value) { m_targetTableHasBeenSet = true; m_targetTable = std::move(value); } /** *

An object representing an Glue table.

*/ inline DataQualityRulesetListDetails& WithTargetTable(const DataQualityTargetTable& value) { SetTargetTable(value); return *this;} /** *

An object representing an Glue table.

*/ inline DataQualityRulesetListDetails& WithTargetTable(DataQualityTargetTable&& value) { SetTargetTable(std::move(value)); return *this;} /** *

When a ruleset was created from a recommendation run, this run ID is * generated to link the two together.

*/ inline const Aws::String& GetRecommendationRunId() const{ return m_recommendationRunId; } /** *

When a ruleset was created from a recommendation run, this run ID is * generated to link the two together.

*/ inline bool RecommendationRunIdHasBeenSet() const { return m_recommendationRunIdHasBeenSet; } /** *

When a ruleset was created from a recommendation run, this run ID is * generated to link the two together.

*/ inline void SetRecommendationRunId(const Aws::String& value) { m_recommendationRunIdHasBeenSet = true; m_recommendationRunId = value; } /** *

When a ruleset was created from a recommendation run, this run ID is * generated to link the two together.

*/ inline void SetRecommendationRunId(Aws::String&& value) { m_recommendationRunIdHasBeenSet = true; m_recommendationRunId = std::move(value); } /** *

When a ruleset was created from a recommendation run, this run ID is * generated to link the two together.

*/ inline void SetRecommendationRunId(const char* value) { m_recommendationRunIdHasBeenSet = true; m_recommendationRunId.assign(value); } /** *

When a ruleset was created from a recommendation run, this run ID is * generated to link the two together.

*/ inline DataQualityRulesetListDetails& WithRecommendationRunId(const Aws::String& value) { SetRecommendationRunId(value); return *this;} /** *

When a ruleset was created from a recommendation run, this run ID is * generated to link the two together.

*/ inline DataQualityRulesetListDetails& WithRecommendationRunId(Aws::String&& value) { SetRecommendationRunId(std::move(value)); return *this;} /** *

When a ruleset was created from a recommendation run, this run ID is * generated to link the two together.

*/ inline DataQualityRulesetListDetails& WithRecommendationRunId(const char* value) { SetRecommendationRunId(value); return *this;} /** *

The number of rules in the ruleset.

*/ inline int GetRuleCount() const{ return m_ruleCount; } /** *

The number of rules in the ruleset.

*/ inline bool RuleCountHasBeenSet() const { return m_ruleCountHasBeenSet; } /** *

The number of rules in the ruleset.

*/ inline void SetRuleCount(int value) { m_ruleCountHasBeenSet = true; m_ruleCount = value; } /** *

The number of rules in the ruleset.

*/ inline DataQualityRulesetListDetails& WithRuleCount(int value) { SetRuleCount(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_createdOn; bool m_createdOnHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedOn; bool m_lastModifiedOnHasBeenSet = false; DataQualityTargetTable m_targetTable; bool m_targetTableHasBeenSet = false; Aws::String m_recommendationRunId; bool m_recommendationRunIdHasBeenSet = false; int m_ruleCount; bool m_ruleCountHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws