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/core/utils/memory/stl/AWSVector.h>
11#include <aws/waf/model/RuleUpdate.h>
49 inline void SetRuleId(
const char* value) { m_ruleIdHasBeenSet =
true; m_ruleId.assign(value); }
63 inline void SetChangeToken(
const char* value) { m_changeTokenHasBeenSet =
true; m_changeToken.assign(value); }
94 inline void SetRateLimit(
long long value) { m_rateLimitHasBeenSet =
true; m_rateLimit = value; }
100 bool m_ruleIdHasBeenSet =
false;
103 bool m_changeTokenHasBeenSet =
false;
106 bool m_updatesHasBeenSet =
false;
108 long long m_rateLimit;
109 bool m_rateLimitHasBeenSet =
false;
bool RuleIdHasBeenSet() const
const Aws::String & GetChangeToken() const
void SetChangeToken(const char *value)
void SetRuleId(const char *value)
UpdateRateBasedRuleRequest & WithUpdates(const Aws::Vector< RuleUpdate > &value)
void SetRuleId(const Aws::String &value)
UpdateRateBasedRuleRequest & WithChangeToken(Aws::String &&value)
void SetRuleId(Aws::String &&value)
UpdateRateBasedRuleRequest & WithChangeToken(const char *value)
AWS_WAF_API UpdateRateBasedRuleRequest()
UpdateRateBasedRuleRequest & WithUpdates(Aws::Vector< RuleUpdate > &&value)
UpdateRateBasedRuleRequest & WithRuleId(Aws::String &&value)
UpdateRateBasedRuleRequest & AddUpdates(const RuleUpdate &value)
bool RateLimitHasBeenSet() const
AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
void SetChangeToken(Aws::String &&value)
bool UpdatesHasBeenSet() const
void SetUpdates(const Aws::Vector< RuleUpdate > &value)
UpdateRateBasedRuleRequest & AddUpdates(RuleUpdate &&value)
UpdateRateBasedRuleRequest & WithRuleId(const Aws::String &value)
const Aws::Vector< RuleUpdate > & GetUpdates() const
UpdateRateBasedRuleRequest & WithRateLimit(long long value)
void SetRateLimit(long long value)
UpdateRateBasedRuleRequest & WithRuleId(const char *value)
AWS_WAF_API Aws::String SerializePayload() const override
const Aws::String & GetRuleId() const
void SetUpdates(Aws::Vector< RuleUpdate > &&value)
UpdateRateBasedRuleRequest & WithChangeToken(const Aws::String &value)
bool ChangeTokenHasBeenSet() const
void SetChangeToken(const Aws::String &value)
long long GetRateLimit() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector