7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
10#include <aws/wafv2/model/Scope.h>
11#include <aws/wafv2/model/TimeWindow.h>
42 template <
typename WebAclArnT = Aws::String>
44 m_webAclArnHasBeenSet =
true;
45 m_webAclArn = std::forward<WebAclArnT>(value);
47 template <
typename WebAclArnT = Aws::String>
61 template <
typename RuleMetricNameT = Aws::String>
63 m_ruleMetricNameHasBeenSet =
true;
64 m_ruleMetricName = std::forward<RuleMetricNameT>(value);
66 template <
typename RuleMetricNameT = Aws::String>
86 m_scopeHasBeenSet =
true;
107 template <
typename TimeWindowT = TimeWindow>
109 m_timeWindowHasBeenSet =
true;
110 m_timeWindow = std::forward<TimeWindowT>(value);
112 template <
typename TimeWindowT = TimeWindow>
130 m_maxItemsHasBeenSet =
true;
145 TimeWindow m_timeWindow;
147 long long m_maxItems{0};
148 bool m_webAclArnHasBeenSet =
false;
149 bool m_ruleMetricNameHasBeenSet =
false;
150 bool m_scopeHasBeenSet =
false;
151 bool m_timeWindowHasBeenSet =
false;
152 bool m_maxItemsHasBeenSet =
false;
GetSampledRequestsRequest & WithWebAclArn(WebAclArnT &&value)
GetSampledRequestsRequest & WithMaxItems(long long value)
bool TimeWindowHasBeenSet() const
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetRuleMetricName() const
virtual const char * GetServiceRequestName() const override
GetSampledRequestsRequest & WithTimeWindow(TimeWindowT &&value)
GetSampledRequestsRequest & WithScope(Scope value)
void SetRuleMetricName(RuleMetricNameT &&value)
bool WebAclArnHasBeenSet() const
void SetWebAclArn(WebAclArnT &&value)
long long GetMaxItems() const
const Aws::String & GetWebAclArn() const
void SetTimeWindow(TimeWindowT &&value)
bool ScopeHasBeenSet() const
const TimeWindow & GetTimeWindow() const
GetSampledRequestsRequest & WithRuleMetricName(RuleMetricNameT &&value)
bool MaxItemsHasBeenSet() const
void SetMaxItems(long long value)
void SetScope(Scope value)
bool RuleMetricNameHasBeenSet() const
AWS_WAFV2_API Aws::String SerializePayload() const override
AWS_WAFV2_API GetSampledRequestsRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String