/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This is the latest version of AWS WAF, named AWS WAFV2,
* released in November, 2019. For information, including how to migrate your AWS
* WAF resources from the prior release, see the AWS
* WAF Developer Guide. A rule statement used to run the rules
* that are defined in a RuleGroup. To use this, create a rule group with
* your rules, then provide the ARN of the rule group in this statement. You
* cannot nest a RuleGroupReferenceStatement, for example for use
* inside a NotStatement or OrStatement. It can only be
* referenced as a top-level statement within a rule.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the entity.
*/ inline const Aws::String& GetARN() const{ return m_aRN; } /** *The Amazon Resource Name (ARN) of the entity.
*/ inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; } /** *The Amazon Resource Name (ARN) of the entity.
*/ inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; } /** *The Amazon Resource Name (ARN) of the entity.
*/ inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); } /** *The Amazon Resource Name (ARN) of the entity.
*/ inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); } /** *The Amazon Resource Name (ARN) of the entity.
*/ inline RuleGroupReferenceStatement& WithARN(const Aws::String& value) { SetARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the entity.
*/ inline RuleGroupReferenceStatement& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the entity.
*/ inline RuleGroupReferenceStatement& WithARN(const char* value) { SetARN(value); return *this;} /** *The names of rules that are in the referenced rule group, but that you want * AWS WAF to exclude from processing for this rule statement.
*/ inline const Aws::VectorThe names of rules that are in the referenced rule group, but that you want * AWS WAF to exclude from processing for this rule statement.
*/ inline bool ExcludedRulesHasBeenSet() const { return m_excludedRulesHasBeenSet; } /** *The names of rules that are in the referenced rule group, but that you want * AWS WAF to exclude from processing for this rule statement.
*/ inline void SetExcludedRules(const Aws::VectorThe names of rules that are in the referenced rule group, but that you want * AWS WAF to exclude from processing for this rule statement.
*/ inline void SetExcludedRules(Aws::VectorThe names of rules that are in the referenced rule group, but that you want * AWS WAF to exclude from processing for this rule statement.
*/ inline RuleGroupReferenceStatement& WithExcludedRules(const Aws::VectorThe names of rules that are in the referenced rule group, but that you want * AWS WAF to exclude from processing for this rule statement.
*/ inline RuleGroupReferenceStatement& WithExcludedRules(Aws::VectorThe names of rules that are in the referenced rule group, but that you want * AWS WAF to exclude from processing for this rule statement.
*/ inline RuleGroupReferenceStatement& AddExcludedRules(const ExcludedRule& value) { m_excludedRulesHasBeenSet = true; m_excludedRules.push_back(value); return *this; } /** *The names of rules that are in the referenced rule group, but that you want * AWS WAF to exclude from processing for this rule statement.
*/ inline RuleGroupReferenceStatement& AddExcludedRules(ExcludedRule&& value) { m_excludedRulesHasBeenSet = true; m_excludedRules.push_back(std::move(value)); return *this; } private: Aws::String m_aRN; bool m_aRNHasBeenSet; Aws::Vector