/** * 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 GlueDataBrew { namespace Model { class DescribeRulesetResult { public: AWS_GLUEDATABREW_API DescribeRulesetResult(); AWS_GLUEDATABREW_API DescribeRulesetResult(const Aws::AmazonWebServiceResult& result); AWS_GLUEDATABREW_API DescribeRulesetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the ruleset.

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

The name of the ruleset.

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

The name of the ruleset.

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

The name of the ruleset.

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

The name of the ruleset.

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

The name of the ruleset.

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

The name of the ruleset.

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

The description of the ruleset.

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

The description of the ruleset.

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

The description of the ruleset.

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

The description of the ruleset.

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

The description of the ruleset.

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

The description of the ruleset.

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

The description of the ruleset.

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

The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is * associated with.

*/ inline const Aws::String& GetTargetArn() const{ return m_targetArn; } /** *

The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is * associated with.

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

The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is * associated with.

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

The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is * associated with.

*/ inline void SetTargetArn(const char* value) { m_targetArn.assign(value); } /** *

The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is * associated with.

*/ inline DescribeRulesetResult& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is * associated with.

*/ inline DescribeRulesetResult& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is * associated with.

*/ inline DescribeRulesetResult& WithTargetArn(const char* value) { SetTargetArn(value); return *this;} /** *

A list of rules that are defined with the ruleset. A rule includes one or * more checks to be validated on a DataBrew dataset.

*/ inline const Aws::Vector& GetRules() const{ return m_rules; } /** *

A list of rules that are defined with the ruleset. A rule includes one or * more checks to be validated on a DataBrew dataset.

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

A list of rules that are defined with the ruleset. A rule includes one or * more checks to be validated on a DataBrew dataset.

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

A list of rules that are defined with the ruleset. A rule includes one or * more checks to be validated on a DataBrew dataset.

*/ inline DescribeRulesetResult& WithRules(const Aws::Vector& value) { SetRules(value); return *this;} /** *

A list of rules that are defined with the ruleset. A rule includes one or * more checks to be validated on a DataBrew dataset.

*/ inline DescribeRulesetResult& WithRules(Aws::Vector&& value) { SetRules(std::move(value)); return *this;} /** *

A list of rules that are defined with the ruleset. A rule includes one or * more checks to be validated on a DataBrew dataset.

*/ inline DescribeRulesetResult& AddRules(const Rule& value) { m_rules.push_back(value); return *this; } /** *

A list of rules that are defined with the ruleset. A rule includes one or * more checks to be validated on a DataBrew dataset.

*/ inline DescribeRulesetResult& AddRules(Rule&& value) { m_rules.push_back(std::move(value)); return *this; } /** *

The date and time that the ruleset was created.

*/ inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; } /** *

The date and time that the ruleset was created.

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

The date and time that the ruleset was created.

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

The date and time that the ruleset was created.

*/ inline DescribeRulesetResult& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;} /** *

The date and time that the ruleset was created.

*/ inline DescribeRulesetResult& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the user who created the ruleset.

*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *

The Amazon Resource Name (ARN) of the user who created the ruleset.

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

The Amazon Resource Name (ARN) of the user who created the ruleset.

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

The Amazon Resource Name (ARN) of the user who created the ruleset.

*/ inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } /** *

The Amazon Resource Name (ARN) of the user who created the ruleset.

*/ inline DescribeRulesetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *

The Amazon Resource Name (ARN) of the user who created the ruleset.

*/ inline DescribeRulesetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the user who created the ruleset.

*/ inline DescribeRulesetResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *

The Amazon Resource Name (ARN) of the user who last modified the ruleset.

*/ inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; } /** *

The Amazon Resource Name (ARN) of the user who last modified the ruleset.

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

The Amazon Resource Name (ARN) of the user who last modified the ruleset.

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

The Amazon Resource Name (ARN) of the user who last modified the ruleset.

*/ inline void SetLastModifiedBy(const char* value) { m_lastModifiedBy.assign(value); } /** *

The Amazon Resource Name (ARN) of the user who last modified the ruleset.

*/ inline DescribeRulesetResult& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;} /** *

The Amazon Resource Name (ARN) of the user who last modified the ruleset.

*/ inline DescribeRulesetResult& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the user who last modified the ruleset.

*/ inline DescribeRulesetResult& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;} /** *

The modification date and time of the ruleset.

*/ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *

The modification date and time of the ruleset.

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

The modification date and time of the ruleset.

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

The modification date and time of the ruleset.

*/ inline DescribeRulesetResult& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;} /** *

The modification date and time of the ruleset.

*/ inline DescribeRulesetResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the ruleset.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The Amazon Resource Name (ARN) for the ruleset.

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

The Amazon Resource Name (ARN) for the ruleset.

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

The Amazon Resource Name (ARN) for the ruleset.

*/ inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the ruleset.

*/ inline DescribeRulesetResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the ruleset.

*/ inline DescribeRulesetResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the ruleset.

*/ inline DescribeRulesetResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *

Metadata tags that have been applied to the ruleset.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Metadata tags that have been applied to the ruleset.

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

Metadata tags that have been applied to the ruleset.

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

Metadata tags that have been applied to the ruleset.

*/ inline DescribeRulesetResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Metadata tags that have been applied to the ruleset.

*/ inline DescribeRulesetResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Metadata tags that have been applied to the ruleset.

*/ inline DescribeRulesetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

Metadata tags that have been applied to the ruleset.

*/ inline DescribeRulesetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Metadata tags that have been applied to the ruleset.

*/ inline DescribeRulesetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Metadata tags that have been applied to the ruleset.

*/ inline DescribeRulesetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Metadata tags that have been applied to the ruleset.

*/ inline DescribeRulesetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Metadata tags that have been applied to the ruleset.

*/ inline DescribeRulesetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Metadata tags that have been applied to the ruleset.

*/ inline DescribeRulesetResult& AddTags(const char* key, const char* value) { m_tags.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 DescribeRulesetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeRulesetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeRulesetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_name; Aws::String m_description; Aws::String m_targetArn; Aws::Vector m_rules; Aws::Utils::DateTime m_createDate; Aws::String m_createdBy; Aws::String m_lastModifiedBy; Aws::Utils::DateTime m_lastModifiedDate; Aws::String m_resourceArn; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws