/** * 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 GlueDataBrew { namespace Model { /** */ class UpdateRulesetRequest : public GlueDataBrewRequest { public: AWS_GLUEDATABREW_API UpdateRulesetRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateRuleset"; } AWS_GLUEDATABREW_API Aws::String SerializePayload() const override; /** *

The name of the ruleset to be updated.

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

The name of the ruleset to be updated.

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

The name of the ruleset to be updated.

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

The name of the ruleset to be updated.

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

The name of the ruleset to be updated.

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

The name of the ruleset to be updated.

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

The name of the ruleset to be updated.

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

The name of the ruleset to be updated.

*/ inline UpdateRulesetRequest& 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 bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the ruleset.

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

The description of the ruleset.

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

The description of the ruleset.

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

The description of the ruleset.

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

The description of the ruleset.

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

The description of the ruleset.

*/ inline UpdateRulesetRequest& WithDescription(const char* value) { SetDescription(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 bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } /** *

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_rulesHasBeenSet = true; 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_rulesHasBeenSet = true; 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 UpdateRulesetRequest& 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 UpdateRulesetRequest& 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 UpdateRulesetRequest& AddRules(const Rule& value) { m_rulesHasBeenSet = true; 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 UpdateRulesetRequest& AddRules(Rule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_rules; bool m_rulesHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws