/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The action to use in the place of the action that results from the rule group
* evaluation. Set the override action to none to leave the result of the rule
* group alone. Set it to count to override the result to count only. You
* can only use this for rule statements that reference a rule group, like
* This option is usually
* set to none. It does not affect how the rules in the rule group are evaluated.
* If you want the rules in the rule group to only count matches, do not use this
* and instead use the rule action override option, with RuleGroupReferenceStatement
and
* ManagedRuleGroupStatement
. Count
action,
* in your rule group reference statement settings. See
* Also:
AWS
* API Reference
Override the rule group evaluation result to count only.
This
* option is usually set to none. It does not affect how the rules in the rule
* group are evaluated. If you want the rules in the rule group to only count
* matches, do not use this and instead use the rule action override option, with
* Count
action, in your rule group reference statement settings.
Override the rule group evaluation result to count only.
This
* option is usually set to none. It does not affect how the rules in the rule
* group are evaluated. If you want the rules in the rule group to only count
* matches, do not use this and instead use the rule action override option, with
* Count
action, in your rule group reference statement settings.
Override the rule group evaluation result to count only.
This
* option is usually set to none. It does not affect how the rules in the rule
* group are evaluated. If you want the rules in the rule group to only count
* matches, do not use this and instead use the rule action override option, with
* Count
action, in your rule group reference statement settings.
Override the rule group evaluation result to count only.
This
* option is usually set to none. It does not affect how the rules in the rule
* group are evaluated. If you want the rules in the rule group to only count
* matches, do not use this and instead use the rule action override option, with
* Count
action, in your rule group reference statement settings.
Override the rule group evaluation result to count only.
This
* option is usually set to none. It does not affect how the rules in the rule
* group are evaluated. If you want the rules in the rule group to only count
* matches, do not use this and instead use the rule action override option, with
* Count
action, in your rule group reference statement settings.
Override the rule group evaluation result to count only.
This
* option is usually set to none. It does not affect how the rules in the rule
* group are evaluated. If you want the rules in the rule group to only count
* matches, do not use this and instead use the rule action override option, with
* Count
action, in your rule group reference statement settings.
Don't override the rule group evaluation result. This is the most common * setting.
*/ inline const NoneAction& GetNone() const{ return m_none; } /** *Don't override the rule group evaluation result. This is the most common * setting.
*/ inline bool NoneHasBeenSet() const { return m_noneHasBeenSet; } /** *Don't override the rule group evaluation result. This is the most common * setting.
*/ inline void SetNone(const NoneAction& value) { m_noneHasBeenSet = true; m_none = value; } /** *Don't override the rule group evaluation result. This is the most common * setting.
*/ inline void SetNone(NoneAction&& value) { m_noneHasBeenSet = true; m_none = std::move(value); } /** *Don't override the rule group evaluation result. This is the most common * setting.
*/ inline OverrideAction& WithNone(const NoneAction& value) { SetNone(value); return *this;} /** *Don't override the rule group evaluation result. This is the most common * setting.
*/ inline OverrideAction& WithNone(NoneAction&& value) { SetNone(std::move(value)); return *this;} private: CountAction m_count; bool m_countHasBeenSet = false; NoneAction m_none; bool m_noneHasBeenSet = false; }; } // namespace Model } // namespace WAFV2 } // namespace Aws