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/waf-regional/model/RateKey.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/waf-regional/model/Tag.h>
49 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
68 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
84 inline void SetRateKey(
const RateKey& value) { m_rateKeyHasBeenSet =
true; m_rateKey = value; }
85 inline void SetRateKey(
RateKey&& value) { m_rateKeyHasBeenSet =
true; m_rateKey = std::move(value); }
100 inline void SetRateLimit(
long long value) { m_rateLimitHasBeenSet =
true; m_rateLimit = value; }
115 inline void SetChangeToken(
const char* value) { m_changeTokenHasBeenSet =
true; m_changeToken.assign(value); }
137 bool m_nameHasBeenSet =
false;
140 bool m_metricNameHasBeenSet =
false;
143 bool m_rateKeyHasBeenSet =
false;
145 long long m_rateLimit;
146 bool m_rateLimitHasBeenSet =
false;
149 bool m_changeTokenHasBeenSet =
false;
152 bool m_tagsHasBeenSet =
false;
void SetTags(const Aws::Vector< Tag > &value)
void SetMetricName(Aws::String &&value)
const Aws::String & GetName() const
CreateRateBasedRuleRequest & WithRateKey(const RateKey &value)
void SetRateKey(RateKey &&value)
void SetMetricName(const Aws::String &value)
CreateRateBasedRuleRequest & WithName(const Aws::String &value)
const Aws::String & GetChangeToken() const
const Aws::Vector< Tag > & GetTags() const
const RateKey & GetRateKey() const
CreateRateBasedRuleRequest & WithChangeToken(Aws::String &&value)
AWS_WAFREGIONAL_API CreateRateBasedRuleRequest()
CreateRateBasedRuleRequest & WithRateLimit(long long value)
void SetMetricName(const char *value)
bool NameHasBeenSet() const
bool RateKeyHasBeenSet() const
CreateRateBasedRuleRequest & WithTags(Aws::Vector< Tag > &&value)
void SetChangeToken(Aws::String &&value)
const Aws::String & GetMetricName() const
bool MetricNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_WAFREGIONAL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool TagsHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
CreateRateBasedRuleRequest & WithRateKey(RateKey &&value)
void SetName(const char *value)
bool RateLimitHasBeenSet() const
void SetChangeToken(const char *value)
CreateRateBasedRuleRequest & WithTags(const Aws::Vector< Tag > &value)
CreateRateBasedRuleRequest & AddTags(const Tag &value)
void SetChangeToken(const Aws::String &value)
CreateRateBasedRuleRequest & WithMetricName(const char *value)
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
long long GetRateLimit() const
CreateRateBasedRuleRequest & WithMetricName(const Aws::String &value)
CreateRateBasedRuleRequest & WithMetricName(Aws::String &&value)
void SetRateLimit(long long value)
void SetRateKey(const RateKey &value)
CreateRateBasedRuleRequest & WithChangeToken(const Aws::String &value)
CreateRateBasedRuleRequest & WithName(Aws::String &&value)
AWS_WAFREGIONAL_API Aws::String SerializePayload() const override
CreateRateBasedRuleRequest & AddTags(Tag &&value)
bool ChangeTokenHasBeenSet() const
CreateRateBasedRuleRequest & WithName(const char *value)
CreateRateBasedRuleRequest & WithChangeToken(const char *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