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

Details about a rule to exclude from a rule group.

See Also:

* AWS * API Reference

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

The unique identifier for the rule to exclude from the rule group.

*/ inline const Aws::String& GetRuleId() const{ return m_ruleId; } /** *

The unique identifier for the rule to exclude from the rule group.

*/ inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; } /** *

The unique identifier for the rule to exclude from the rule group.

*/ inline void SetRuleId(const Aws::String& value) { m_ruleIdHasBeenSet = true; m_ruleId = value; } /** *

The unique identifier for the rule to exclude from the rule group.

*/ inline void SetRuleId(Aws::String&& value) { m_ruleIdHasBeenSet = true; m_ruleId = std::move(value); } /** *

The unique identifier for the rule to exclude from the rule group.

*/ inline void SetRuleId(const char* value) { m_ruleIdHasBeenSet = true; m_ruleId.assign(value); } /** *

The unique identifier for the rule to exclude from the rule group.

*/ inline WafExcludedRule& WithRuleId(const Aws::String& value) { SetRuleId(value); return *this;} /** *

The unique identifier for the rule to exclude from the rule group.

*/ inline WafExcludedRule& WithRuleId(Aws::String&& value) { SetRuleId(std::move(value)); return *this;} /** *

The unique identifier for the rule to exclude from the rule group.

*/ inline WafExcludedRule& WithRuleId(const char* value) { SetRuleId(value); return *this;} private: Aws::String m_ruleId; bool m_ruleIdHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws