7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/WAFRegionalRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/waf-regional/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;
UpdateRateBasedRuleRequest & WithChangeToken(const char *value)
void SetChangeToken(const Aws::String &value)
UpdateRateBasedRuleRequest & WithUpdates(Aws::Vector< RuleUpdate > &&value)
bool UpdatesHasBeenSet() const
void SetChangeToken(Aws::String &&value)
UpdateRateBasedRuleRequest & AddUpdates(const RuleUpdate &value)
UpdateRateBasedRuleRequest & WithRuleId(const char *value)
bool ChangeTokenHasBeenSet() const
void SetRuleId(Aws::String &&value)
bool RuleIdHasBeenSet() const
void SetRuleId(const char *value)
void SetRuleId(const Aws::String &value)
UpdateRateBasedRuleRequest & WithChangeToken(Aws::String &&value)
void SetChangeToken(const char *value)
UpdateRateBasedRuleRequest & WithRuleId(const Aws::String &value)
long long GetRateLimit() const
void SetRateLimit(long long value)
bool RateLimitHasBeenSet() const
void SetUpdates(const Aws::Vector< RuleUpdate > &value)
const Aws::String & GetChangeToken() const
virtual const char * GetServiceRequestName() const override
UpdateRateBasedRuleRequest & WithRuleId(Aws::String &&value)
AWS_WAFREGIONAL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateRateBasedRuleRequest & WithChangeToken(const Aws::String &value)
UpdateRateBasedRuleRequest & AddUpdates(RuleUpdate &&value)
UpdateRateBasedRuleRequest & WithUpdates(const Aws::Vector< RuleUpdate > &value)
const Aws::String & GetRuleId() const
const Aws::Vector< RuleUpdate > & GetUpdates() const
UpdateRateBasedRuleRequest & WithRateLimit(long long value)
AWS_WAFREGIONAL_API UpdateRateBasedRuleRequest()
AWS_WAFREGIONAL_API Aws::String SerializePayload() const override
void SetUpdates(Aws::Vector< RuleUpdate > &&value)
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