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/RuleGroupUpdate.h>
43 template <
typename RuleGroupIdT = Aws::String>
45 m_ruleGroupIdHasBeenSet =
true;
46 m_ruleGroupId = std::forward<RuleGroupIdT>(value);
48 template <
typename RuleGroupIdT = Aws::String>
68 template <
typename UpdatesT = Aws::Vector<RuleGroupUpdate>>
70 m_updatesHasBeenSet =
true;
71 m_updates = std::forward<UpdatesT>(value);
73 template <
typename UpdatesT = Aws::Vector<RuleGroupUpdate>>
78 template <
typename UpdatesT = RuleGroupUpdate>
80 m_updatesHasBeenSet =
true;
81 m_updates.emplace_back(std::forward<UpdatesT>(value));
92 template <
typename ChangeTokenT = Aws::String>
94 m_changeTokenHasBeenSet =
true;
95 m_changeToken = std::forward<ChangeTokenT>(value);
97 template <
typename ChangeTokenT = Aws::String>
109 bool m_ruleGroupIdHasBeenSet =
false;
110 bool m_updatesHasBeenSet =
false;
111 bool m_changeTokenHasBeenSet =
false;
UpdateRuleGroupRequest & WithRuleGroupId(RuleGroupIdT &&value)
const Aws::Vector< RuleGroupUpdate > & GetUpdates() const
void SetUpdates(UpdatesT &&value)
AWS_WAF_API UpdateRuleGroupRequest()=default
bool UpdatesHasBeenSet() const
const Aws::String & GetChangeToken() const
bool RuleGroupIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateRuleGroupRequest & AddUpdates(UpdatesT &&value)
UpdateRuleGroupRequest & WithUpdates(UpdatesT &&value)
void SetRuleGroupId(RuleGroupIdT &&value)
const Aws::String & GetRuleGroupId() const
AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateRuleGroupRequest & WithChangeToken(ChangeTokenT &&value)
void SetChangeToken(ChangeTokenT &&value)
AWS_WAF_API Aws::String SerializePayload() const override
bool ChangeTokenHasBeenSet() 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