7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wafv2/model/Scope.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/wafv2/model/VisibilityConfig.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/wafv2/model/Rule.h>
15#include <aws/wafv2/model/CustomResponseBody.h>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
72 inline void SetScope(
const Scope& value) { m_scopeHasBeenSet =
true; m_scope = value; }
73 inline void SetScope(
Scope&& value) { m_scopeHasBeenSet =
true; m_scope = std::move(value); }
87 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
88 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
102 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
152 inline void SetLockToken(
const char* value) { m_lockTokenHasBeenSet =
true; m_lockToken.assign(value); }
188 bool m_nameHasBeenSet =
false;
191 bool m_scopeHasBeenSet =
false;
194 bool m_idHasBeenSet =
false;
197 bool m_descriptionHasBeenSet =
false;
200 bool m_rulesHasBeenSet =
false;
203 bool m_visibilityConfigHasBeenSet =
false;
206 bool m_lockTokenHasBeenSet =
false;
209 bool m_customResponseBodiesHasBeenSet =
false;
UpdateRuleGroupRequest & WithRules(Aws::Vector< Rule > &&value)
bool RulesHasBeenSet() const
void SetRules(const Aws::Vector< Rule > &value)
UpdateRuleGroupRequest & WithLockToken(const char *value)
bool CustomResponseBodiesHasBeenSet() const
UpdateRuleGroupRequest & WithVisibilityConfig(VisibilityConfig &&value)
UpdateRuleGroupRequest & WithName(const Aws::String &value)
void SetVisibilityConfig(VisibilityConfig &&value)
bool LockTokenHasBeenSet() const
bool VisibilityConfigHasBeenSet() const
UpdateRuleGroupRequest & WithDescription(Aws::String &&value)
void SetDescription(const char *value)
UpdateRuleGroupRequest & WithCustomResponseBodies(const Aws::Map< Aws::String, CustomResponseBody > &value)
void SetName(Aws::String &&value)
void SetId(const Aws::String &value)
const VisibilityConfig & GetVisibilityConfig() const
UpdateRuleGroupRequest & AddCustomResponseBodies(Aws::String &&key, const CustomResponseBody &value)
UpdateRuleGroupRequest & AddCustomResponseBodies(const Aws::String &key, const CustomResponseBody &value)
AWS_WAFV2_API Aws::String SerializePayload() const override
const Aws::String & GetId() const
void SetLockToken(const Aws::String &value)
UpdateRuleGroupRequest & WithScope(Scope &&value)
bool DescriptionHasBeenSet() const
const Aws::Map< Aws::String, CustomResponseBody > & GetCustomResponseBodies() const
bool ScopeHasBeenSet() const
void SetDescription(const Aws::String &value)
void SetId(Aws::String &&value)
AWS_WAFV2_API UpdateRuleGroupRequest()
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetScope(const Scope &value)
const Aws::Vector< Rule > & GetRules() const
UpdateRuleGroupRequest & WithName(const char *value)
UpdateRuleGroupRequest & AddRules(const Rule &value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
void SetCustomResponseBodies(const Aws::Map< Aws::String, CustomResponseBody > &value)
void SetCustomResponseBodies(Aws::Map< Aws::String, CustomResponseBody > &&value)
void SetScope(Scope &&value)
void SetName(const char *value)
void SetDescription(Aws::String &&value)
UpdateRuleGroupRequest & WithName(Aws::String &&value)
const Aws::String & GetLockToken() const
UpdateRuleGroupRequest & WithId(const Aws::String &value)
UpdateRuleGroupRequest & AddCustomResponseBodies(const Aws::String &key, CustomResponseBody &&value)
UpdateRuleGroupRequest & WithLockToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetLockToken(Aws::String &&value)
UpdateRuleGroupRequest & WithDescription(const char *value)
bool IdHasBeenSet() const
UpdateRuleGroupRequest & AddCustomResponseBodies(Aws::String &&key, CustomResponseBody &&value)
void SetLockToken(const char *value)
UpdateRuleGroupRequest & WithId(Aws::String &&value)
UpdateRuleGroupRequest & AddCustomResponseBodies(const char *key, const CustomResponseBody &value)
UpdateRuleGroupRequest & WithId(const char *value)
UpdateRuleGroupRequest & WithScope(const Scope &value)
UpdateRuleGroupRequest & WithVisibilityConfig(const VisibilityConfig &value)
void SetName(const Aws::String &value)
UpdateRuleGroupRequest & WithRules(const Aws::Vector< Rule > &value)
UpdateRuleGroupRequest & WithCustomResponseBodies(Aws::Map< Aws::String, CustomResponseBody > &&value)
void SetRules(Aws::Vector< Rule > &&value)
void SetId(const char *value)
void SetVisibilityConfig(const VisibilityConfig &value)
UpdateRuleGroupRequest & AddCustomResponseBodies(const char *key, CustomResponseBody &&value)
const Aws::String & GetDescription() const
UpdateRuleGroupRequest & WithLockToken(Aws::String &&value)
UpdateRuleGroupRequest & WithDescription(const Aws::String &value)
const Scope & GetScope() const
UpdateRuleGroupRequest & AddRules(Rule &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector