7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/WAFRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/waf/model/TimeWindow.h>
47 inline void SetWebAclId(
const char* value) { m_webAclIdHasBeenSet =
true; m_webAclId.assign(value); }
67 inline void SetRuleId(
const char* value) { m_ruleIdHasBeenSet =
true; m_ruleId.assign(value); }
99 inline void SetMaxItems(
long long value) { m_maxItemsHasBeenSet =
true; m_maxItems = value; }
105 bool m_webAclIdHasBeenSet =
false;
108 bool m_ruleIdHasBeenSet =
false;
111 bool m_timeWindowHasBeenSet =
false;
113 long long m_maxItems;
114 bool m_maxItemsHasBeenSet =
false;
GetSampledRequestsRequest & WithRuleId(Aws::String &&value)
void SetWebAclId(Aws::String &&value)
void SetRuleId(Aws::String &&value)
AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool RuleIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
GetSampledRequestsRequest & WithWebAclId(const Aws::String &value)
GetSampledRequestsRequest & WithMaxItems(long long value)
GetSampledRequestsRequest & WithWebAclId(Aws::String &&value)
GetSampledRequestsRequest & WithRuleId(const Aws::String &value)
GetSampledRequestsRequest & WithWebAclId(const char *value)
const Aws::String & GetWebAclId() const
void SetRuleId(const char *value)
GetSampledRequestsRequest & WithTimeWindow(const TimeWindow &value)
GetSampledRequestsRequest & WithTimeWindow(TimeWindow &&value)
void SetWebAclId(const char *value)
bool TimeWindowHasBeenSet() const
long long GetMaxItems() const
bool WebAclIdHasBeenSet() const
const TimeWindow & GetTimeWindow() const
const Aws::String & GetRuleId() const
void SetMaxItems(long long value)
void SetRuleId(const Aws::String &value)
void SetWebAclId(const Aws::String &value)
AWS_WAF_API Aws::String SerializePayload() const override
AWS_WAF_API GetSampledRequestsRequest()
GetSampledRequestsRequest & WithRuleId(const char *value)
void SetTimeWindow(const TimeWindow &value)
void SetTimeWindow(TimeWindow &&value)
bool MaxItemsHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String