7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wafv2/model/Scope.h>
11#include <aws/wafv2/model/TimeWindow.h>
48 inline void SetWebAclArn(
const char* value) { m_webAclArnHasBeenSet =
true; m_webAclArn.assign(value); }
63 inline void SetRuleMetricName(
const char* value) { m_ruleMetricNameHasBeenSet =
true; m_ruleMetricName.assign(value); }
83 inline void SetScope(
const Scope& value) { m_scopeHasBeenSet =
true; m_scope = value; }
84 inline void SetScope(
Scope&& value) { m_scopeHasBeenSet =
true; m_scope = std::move(value); }
117 inline void SetMaxItems(
long long value) { m_maxItemsHasBeenSet =
true; m_maxItems = value; }
123 bool m_webAclArnHasBeenSet =
false;
126 bool m_ruleMetricNameHasBeenSet =
false;
129 bool m_scopeHasBeenSet =
false;
132 bool m_timeWindowHasBeenSet =
false;
134 long long m_maxItems;
135 bool m_maxItemsHasBeenSet =
false;
void SetTimeWindow(TimeWindow &&value)
void SetRuleMetricName(Aws::String &&value)
GetSampledRequestsRequest & WithRuleMetricName(Aws::String &&value)
GetSampledRequestsRequest & WithWebAclArn(const char *value)
GetSampledRequestsRequest & WithWebAclArn(Aws::String &&value)
GetSampledRequestsRequest & WithScope(Scope &&value)
GetSampledRequestsRequest & WithWebAclArn(const Aws::String &value)
GetSampledRequestsRequest & WithMaxItems(long long value)
bool TimeWindowHasBeenSet() const
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetRuleMetricName() const
void SetWebAclArn(const Aws::String &value)
GetSampledRequestsRequest & WithRuleMetricName(const char *value)
GetSampledRequestsRequest & WithScope(const Scope &value)
virtual const char * GetServiceRequestName() const override
void SetScope(Scope &&value)
const Scope & GetScope() const
GetSampledRequestsRequest & WithTimeWindow(TimeWindow &&value)
void SetRuleMetricName(const char *value)
void SetWebAclArn(const char *value)
bool WebAclArnHasBeenSet() const
void SetTimeWindow(const TimeWindow &value)
long long GetMaxItems() const
void SetScope(const Scope &value)
const Aws::String & GetWebAclArn() const
bool ScopeHasBeenSet() const
GetSampledRequestsRequest & WithTimeWindow(const TimeWindow &value)
const TimeWindow & GetTimeWindow() const
AWS_WAFV2_API GetSampledRequestsRequest()
bool MaxItemsHasBeenSet() const
void SetWebAclArn(Aws::String &&value)
void SetMaxItems(long long value)
GetSampledRequestsRequest & WithRuleMetricName(const Aws::String &value)
bool RuleMetricNameHasBeenSet() const
AWS_WAFV2_API Aws::String SerializePayload() const override
void SetRuleMetricName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String