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

Specifies the IP address in the web request as an aggregate key for a * rate-based rule. Each distinct IP address contributes to the aggregation * instance.

This setting is used only in the * RateBasedStatementCustomKey specification of a rate-based rule * statement. To use this in the custom key settings, you must specify at least one * other key to use, along with the IP address. To aggregate on only the IP * address, in your rate-based statement's AggregateKeyType, specify * IP.

JSON specification: "RateLimitIP": {} *

See Also:

AWS * API Reference

*/ class RateLimitIP { public: AWS_WAFV2_API RateLimitIP(); AWS_WAFV2_API RateLimitIP(Aws::Utils::Json::JsonView jsonValue); AWS_WAFV2_API RateLimitIP& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const; }; } // namespace Model } // namespace WAFV2 } // namespace Aws