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/Tag.h>
16#include <aws/wafv2/model/CustomResponseBody.h>
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
73 inline void SetScope(
const Scope& value) { m_scopeHasBeenSet =
true; m_scope = value; }
74 inline void SetScope(
Scope&& value) { m_scopeHasBeenSet =
true; m_scope = std::move(value); }
97 inline void SetCapacity(
long long value) { m_capacityHasBeenSet =
true; m_capacity = value; }
109 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
188 bool m_nameHasBeenSet =
false;
191 bool m_scopeHasBeenSet =
false;
193 long long m_capacity;
194 bool m_capacityHasBeenSet =
false;
197 bool m_descriptionHasBeenSet =
false;
200 bool m_rulesHasBeenSet =
false;
203 bool m_visibilityConfigHasBeenSet =
false;
206 bool m_tagsHasBeenSet =
false;
209 bool m_customResponseBodiesHasBeenSet =
false;
void SetDescription(const Aws::String &value)
const Aws::String & GetDescription() const
CreateRuleGroupRequest & AddCustomResponseBodies(const char *key, CustomResponseBody &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateRuleGroupRequest & WithTags(Aws::Vector< Tag > &&value)
CreateRuleGroupRequest & AddRules(Rule &&value)
void SetVisibilityConfig(const VisibilityConfig &value)
bool VisibilityConfigHasBeenSet() const
CreateRuleGroupRequest & WithTags(const Aws::Vector< Tag > &value)
AWS_WAFV2_API Aws::String SerializePayload() const override
CreateRuleGroupRequest & AddRules(const Rule &value)
bool DescriptionHasBeenSet() const
CreateRuleGroupRequest & WithDescription(const Aws::String &value)
CreateRuleGroupRequest & WithScope(Scope &&value)
bool RulesHasBeenSet() const
void SetName(Aws::String &&value)
void SetDescription(const char *value)
void SetName(const Aws::String &value)
CreateRuleGroupRequest & AddTags(const Tag &value)
CreateRuleGroupRequest & WithDescription(const char *value)
const VisibilityConfig & GetVisibilityConfig() const
virtual const char * GetServiceRequestName() const override
CreateRuleGroupRequest & WithCapacity(long long value)
CreateRuleGroupRequest & WithName(Aws::String &&value)
bool TagsHasBeenSet() const
const Aws::Vector< Rule > & GetRules() const
bool ScopeHasBeenSet() const
CreateRuleGroupRequest & WithVisibilityConfig(const VisibilityConfig &value)
CreateRuleGroupRequest & WithName(const char *value)
CreateRuleGroupRequest & WithCustomResponseBodies(const Aws::Map< Aws::String, CustomResponseBody > &value)
CreateRuleGroupRequest & AddCustomResponseBodies(Aws::String &&key, const CustomResponseBody &value)
const Aws::Map< Aws::String, CustomResponseBody > & GetCustomResponseBodies() const
CreateRuleGroupRequest & AddCustomResponseBodies(const Aws::String &key, const CustomResponseBody &value)
CreateRuleGroupRequest & WithScope(const Scope &value)
long long GetCapacity() const
CreateRuleGroupRequest & AddCustomResponseBodies(Aws::String &&key, CustomResponseBody &&value)
void SetCustomResponseBodies(const Aws::Map< Aws::String, CustomResponseBody > &value)
CreateRuleGroupRequest & WithName(const Aws::String &value)
void SetName(const char *value)
void SetRules(Aws::Vector< Rule > &&value)
void SetCapacity(long long value)
CreateRuleGroupRequest & AddCustomResponseBodies(const char *key, const CustomResponseBody &value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateRuleGroupRequest & WithCustomResponseBodies(Aws::Map< Aws::String, CustomResponseBody > &&value)
void SetVisibilityConfig(VisibilityConfig &&value)
CreateRuleGroupRequest & WithRules(const Aws::Vector< Rule > &value)
void SetCustomResponseBodies(Aws::Map< Aws::String, CustomResponseBody > &&value)
CreateRuleGroupRequest & WithRules(Aws::Vector< Rule > &&value)
bool CapacityHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
CreateRuleGroupRequest & WithVisibilityConfig(VisibilityConfig &&value)
void SetScope(const Scope &value)
CreateRuleGroupRequest & WithDescription(Aws::String &&value)
AWS_WAFV2_API CreateRuleGroupRequest()
const Aws::String & GetName() const
CreateRuleGroupRequest & AddCustomResponseBodies(const Aws::String &key, CustomResponseBody &&value)
bool CustomResponseBodiesHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const Scope & GetScope() const
CreateRuleGroupRequest & AddTags(Tag &&value)
void SetRules(const Aws::Vector< Rule > &value)
void SetScope(Scope &&value)
void SetDescription(Aws::String &&value)
bool NameHasBeenSet() const
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