/**
* 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 managed rule group. To use this, provide the vendor name
* and the name of the rule group in this statement. You can retrieve the required
* names by calling ListAvailableManagedRuleGroups. You can't nest a
* ManagedRuleGroupStatement, 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 name of the managed rule group vendor. You use this, along with the rule * group name, to identify the rule group.
*/ inline const Aws::String& GetVendorName() const{ return m_vendorName; } /** *The name of the managed rule group vendor. You use this, along with the rule * group name, to identify the rule group.
*/ inline bool VendorNameHasBeenSet() const { return m_vendorNameHasBeenSet; } /** *The name of the managed rule group vendor. You use this, along with the rule * group name, to identify the rule group.
*/ inline void SetVendorName(const Aws::String& value) { m_vendorNameHasBeenSet = true; m_vendorName = value; } /** *The name of the managed rule group vendor. You use this, along with the rule * group name, to identify the rule group.
*/ inline void SetVendorName(Aws::String&& value) { m_vendorNameHasBeenSet = true; m_vendorName = std::move(value); } /** *The name of the managed rule group vendor. You use this, along with the rule * group name, to identify the rule group.
*/ inline void SetVendorName(const char* value) { m_vendorNameHasBeenSet = true; m_vendorName.assign(value); } /** *The name of the managed rule group vendor. You use this, along with the rule * group name, to identify the rule group.
*/ inline ManagedRuleGroupStatement& WithVendorName(const Aws::String& value) { SetVendorName(value); return *this;} /** *The name of the managed rule group vendor. You use this, along with the rule * group name, to identify the rule group.
*/ inline ManagedRuleGroupStatement& WithVendorName(Aws::String&& value) { SetVendorName(std::move(value)); return *this;} /** *The name of the managed rule group vendor. You use this, along with the rule * group name, to identify the rule group.
*/ inline ManagedRuleGroupStatement& WithVendorName(const char* value) { SetVendorName(value); return *this;} /** *The name of the managed rule group. You use this, along with the vendor name, * to identify the rule group.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the managed rule group. You use this, along with the vendor name, * to identify the rule group.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the managed rule group. You use this, along with the vendor name, * to identify the rule group.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the managed rule group. You use this, along with the vendor name, * to identify the rule group.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the managed rule group. You use this, along with the vendor name, * to identify the rule group.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the managed rule group. You use this, along with the vendor name, * to identify the rule group.
*/ inline ManagedRuleGroupStatement& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the managed rule group. You use this, along with the vendor name, * to identify the rule group.
*/ inline ManagedRuleGroupStatement& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the managed rule group. You use this, along with the vendor name, * to identify the rule group.
*/ inline ManagedRuleGroupStatement& WithName(const char* value) { SetName(value); return *this;} /** *The rules whose actions are set to COUNT by the web ACL,
* regardless of the action that is set on the rule. This effectively excludes the
* rule from acting on web requests.
The rules whose actions are set to COUNT by the web ACL,
* regardless of the action that is set on the rule. This effectively excludes the
* rule from acting on web requests.
The rules whose actions are set to COUNT by the web ACL,
* regardless of the action that is set on the rule. This effectively excludes the
* rule from acting on web requests.
The rules whose actions are set to COUNT by the web ACL,
* regardless of the action that is set on the rule. This effectively excludes the
* rule from acting on web requests.
The rules whose actions are set to COUNT by the web ACL,
* regardless of the action that is set on the rule. This effectively excludes the
* rule from acting on web requests.
The rules whose actions are set to COUNT by the web ACL,
* regardless of the action that is set on the rule. This effectively excludes the
* rule from acting on web requests.
The rules whose actions are set to COUNT by the web ACL,
* regardless of the action that is set on the rule. This effectively excludes the
* rule from acting on web requests.
The rules whose actions are set to COUNT by the web ACL,
* regardless of the action that is set on the rule. This effectively excludes the
* rule from acting on web requests.