7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/RateLimitAsn.h>
9#include <aws/wafv2/model/RateLimitCookie.h>
10#include <aws/wafv2/model/RateLimitForwardedIP.h>
11#include <aws/wafv2/model/RateLimitHTTPMethod.h>
12#include <aws/wafv2/model/RateLimitHeader.h>
13#include <aws/wafv2/model/RateLimitIP.h>
14#include <aws/wafv2/model/RateLimitJA3Fingerprint.h>
15#include <aws/wafv2/model/RateLimitJA4Fingerprint.h>
16#include <aws/wafv2/model/RateLimitLabelNamespace.h>
17#include <aws/wafv2/model/RateLimitQueryArgument.h>
18#include <aws/wafv2/model/RateLimitQueryString.h>
19#include <aws/wafv2/model/RateLimitUriPath.h>
57 template <
typename HeaderT = RateLimitHeader>
59 m_headerHasBeenSet =
true;
60 m_header = std::forward<HeaderT>(value);
62 template <
typename HeaderT = RateLimitHeader>
78 template <
typename CookieT = RateLimitCookie>
80 m_cookieHasBeenSet =
true;
81 m_cookie = std::forward<CookieT>(value);
83 template <
typename CookieT = RateLimitCookie>
99 template <
typename QueryArgumentT = RateLimitQueryArgument>
101 m_queryArgumentHasBeenSet =
true;
102 m_queryArgument = std::forward<QueryArgumentT>(value);
104 template <
typename QueryArgumentT = RateLimitQueryArgument>
119 template <
typename QueryStringT = RateLimitQueryString>
121 m_queryStringHasBeenSet =
true;
122 m_queryString = std::forward<QueryStringT>(value);
124 template <
typename QueryStringT = RateLimitQueryString>
139 template <
typename HTTPMethodT = RateLimitHTTPMethod>
141 m_hTTPMethodHasBeenSet =
true;
142 m_hTTPMethod = std::forward<HTTPMethodT>(value);
144 template <
typename HTTPMethodT = RateLimitHTTPMethod>
164 template <
typename ForwardedIPT = RateLimitForwardedIP>
166 m_forwardedIPHasBeenSet =
true;
167 m_forwardedIP = std::forward<ForwardedIPT>(value);
169 template <
typename ForwardedIPT = RateLimitForwardedIP>
187 template <
typename IPT = RateLimitIP>
189 m_iPHasBeenSet =
true;
190 m_iP = std::forward<IPT>(value);
192 template <
typename IPT = RateLimitIP>
194 SetIP(std::forward<IPT>(value));
213 template <
typename LabelNamespaceT = RateLimitLabelNamespace>
215 m_labelNamespaceHasBeenSet =
true;
216 m_labelNamespace = std::forward<LabelNamespaceT>(value);
218 template <
typename LabelNamespaceT = RateLimitLabelNamespace>
233 template <
typename UriPathT = RateLimitUriPath>
235 m_uriPathHasBeenSet =
true;
236 m_uriPath = std::forward<UriPathT>(value);
238 template <
typename UriPathT = RateLimitUriPath>
253 template <
typename JA3Fingerpr
intT = RateLimitJA3Fingerpr
int>
255 m_jA3FingerprintHasBeenSet =
true;
256 m_jA3Fingerprint = std::forward<JA3FingerprintT>(value);
258 template <
typename JA3Fingerpr
intT = RateLimitJA3Fingerpr
int>
273 template <
typename JA4Fingerpr
intT = RateLimitJA4Fingerpr
int>
275 m_jA4FingerprintHasBeenSet =
true;
276 m_jA4Fingerprint = std::forward<JA4FingerprintT>(value);
278 template <
typename JA4Fingerpr
intT = RateLimitJA4Fingerpr
int>
293 template <
typename ASNT = RateLimitAsn>
295 m_aSNHasBeenSet =
true;
296 m_aSN = std::forward<ASNT>(value);
298 template <
typename ASNT = RateLimitAsn>
300 SetASN(std::forward<ASNT>(value));
328 bool m_headerHasBeenSet =
false;
329 bool m_cookieHasBeenSet =
false;
330 bool m_queryArgumentHasBeenSet =
false;
331 bool m_queryStringHasBeenSet =
false;
332 bool m_hTTPMethodHasBeenSet =
false;
333 bool m_forwardedIPHasBeenSet =
false;
334 bool m_iPHasBeenSet =
false;
335 bool m_labelNamespaceHasBeenSet =
false;
336 bool m_uriPathHasBeenSet =
false;
337 bool m_jA3FingerprintHasBeenSet =
false;
338 bool m_jA4FingerprintHasBeenSet =
false;
339 bool m_aSNHasBeenSet =
false;
void SetHTTPMethod(HTTPMethodT &&value)
const RateLimitHTTPMethod & GetHTTPMethod() const
RateBasedStatementCustomKey & WithASN(ASNT &&value)
bool QueryArgumentHasBeenSet() const
AWS_WAFV2_API RateBasedStatementCustomKey & operator=(Aws::Utils::Json::JsonView jsonValue)
bool JA3FingerprintHasBeenSet() const
bool HTTPMethodHasBeenSet() const
const RateLimitJA3Fingerprint & GetJA3Fingerprint() const
void SetForwardedIP(ForwardedIPT &&value)
void SetUriPath(UriPathT &&value)
AWS_WAFV2_API RateBasedStatementCustomKey()=default
void SetHeader(HeaderT &&value)
RateBasedStatementCustomKey & WithJA3Fingerprint(JA3FingerprintT &&value)
void SetASN(ASNT &&value)
bool CookieHasBeenSet() const
void SetLabelNamespace(LabelNamespaceT &&value)
AWS_WAFV2_API RateBasedStatementCustomKey(Aws::Utils::Json::JsonView jsonValue)
RateBasedStatementCustomKey & WithUriPath(UriPathT &&value)
RateBasedStatementCustomKey & WithHeader(HeaderT &&value)
bool IPHasBeenSet() const
RateBasedStatementCustomKey & WithQueryArgument(QueryArgumentT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
const RateLimitCookie & GetCookie() const
RateBasedStatementCustomKey & WithForwardedIP(ForwardedIPT &&value)
const RateLimitQueryArgument & GetQueryArgument() const
const RateLimitLabelNamespace & GetLabelNamespace() const
void SetJA3Fingerprint(JA3FingerprintT &&value)
RateBasedStatementCustomKey & WithHTTPMethod(HTTPMethodT &&value)
const RateLimitUriPath & GetUriPath() const
bool LabelNamespaceHasBeenSet() const
bool JA4FingerprintHasBeenSet() const
const RateLimitForwardedIP & GetForwardedIP() const
const RateLimitIP & GetIP() const
void SetJA4Fingerprint(JA4FingerprintT &&value)
bool QueryStringHasBeenSet() const
const RateLimitHeader & GetHeader() const
bool ForwardedIPHasBeenSet() const
const RateLimitJA4Fingerprint & GetJA4Fingerprint() const
void SetQueryString(QueryStringT &&value)
bool ASNHasBeenSet() const
RateBasedStatementCustomKey & WithCookie(CookieT &&value)
bool UriPathHasBeenSet() const
RateBasedStatementCustomKey & WithQueryString(QueryStringT &&value)
const RateLimitAsn & GetASN() const
RateBasedStatementCustomKey & WithLabelNamespace(LabelNamespaceT &&value)
bool HeaderHasBeenSet() const
RateBasedStatementCustomKey & WithJA4Fingerprint(JA4FingerprintT &&value)
void SetQueryArgument(QueryArgumentT &&value)
void SetCookie(CookieT &&value)
RateBasedStatementCustomKey & WithIP(IPT &&value)
const RateLimitQueryString & GetQueryString() const
Aws::Utils::Json::JsonValue JsonValue