7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/waf/WAFRequest.h>
10#include <aws/waf/WAF_EXPORTS.h>
11#include <aws/waf/model/RuleUpdate.h>
43 template <
typename RuleIdT = Aws::String>
45 m_ruleIdHasBeenSet =
true;
46 m_ruleId = std::forward<RuleIdT>(value);
48 template <
typename RuleIdT = Aws::String>
61 template <
typename ChangeTokenT = Aws::String>
63 m_changeTokenHasBeenSet =
true;
64 m_changeToken = std::forward<ChangeTokenT>(value);
66 template <
typename ChangeTokenT = Aws::String>
80 template <
typename UpdatesT = Aws::Vector<RuleUpdate>>
82 m_updatesHasBeenSet =
true;
83 m_updates = std::forward<UpdatesT>(value);
85 template <
typename UpdatesT = Aws::Vector<RuleUpdate>>
90 template <
typename UpdatesT = RuleUpdate>
92 m_updatesHasBeenSet =
true;
93 m_updates.emplace_back(std::forward<UpdatesT>(value));
109 m_rateLimitHasBeenSet =
true;
124 long long m_rateLimit{0};
125 bool m_ruleIdHasBeenSet =
false;
126 bool m_changeTokenHasBeenSet =
false;
127 bool m_updatesHasBeenSet =
false;
128 bool m_rateLimitHasBeenSet =
false;
bool RuleIdHasBeenSet() const
const Aws::String & GetChangeToken() const
void SetUpdates(UpdatesT &&value)
bool RateLimitHasBeenSet() const
AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateRateBasedRuleRequest & WithUpdates(UpdatesT &&value)
virtual const char * GetServiceRequestName() const override
bool UpdatesHasBeenSet() const
UpdateRateBasedRuleRequest & AddUpdates(UpdatesT &&value)
const Aws::Vector< RuleUpdate > & GetUpdates() const
UpdateRateBasedRuleRequest & WithRateLimit(long long value)
void SetRateLimit(long long value)
void SetChangeToken(ChangeTokenT &&value)
AWS_WAF_API Aws::String SerializePayload() const override
AWS_WAF_API UpdateRateBasedRuleRequest()=default
UpdateRateBasedRuleRequest & WithChangeToken(ChangeTokenT &&value)
const Aws::String & GetRuleId() const
void SetRuleId(RuleIdT &&value)
UpdateRateBasedRuleRequest & WithRuleId(RuleIdT &&value)
bool ChangeTokenHasBeenSet() const
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