7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wafv2/WAFV2Request.h>
10#include <aws/wafv2/WAFV2_EXPORTS.h>
11#include <aws/wafv2/model/Regex.h>
12#include <aws/wafv2/model/Scope.h>
13#include <aws/wafv2/model/Tag.h>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
68 m_scopeHasBeenSet =
true;
83 template <
typename DescriptionT = Aws::String>
85 m_descriptionHasBeenSet =
true;
86 m_description = std::forward<DescriptionT>(value);
88 template <
typename DescriptionT = Aws::String>
101 template <
typename RegularExpressionListT = Aws::Vector<Regex>>
103 m_regularExpressionListHasBeenSet =
true;
104 m_regularExpressionList = std::forward<RegularExpressionListT>(value);
106 template <
typename RegularExpressionListT = Aws::Vector<Regex>>
111 template <
typename RegularExpressionListT = Regex>
113 m_regularExpressionListHasBeenSet =
true;
114 m_regularExpressionList.emplace_back(std::forward<RegularExpressionListT>(value));
125 template <
typename TagsT = Aws::Vector<Tag>>
127 m_tagsHasBeenSet =
true;
128 m_tags = std::forward<TagsT>(value);
130 template <
typename TagsT = Aws::Vector<Tag>>
132 SetTags(std::forward<TagsT>(value));
135 template <
typename TagsT = Tag>
137 m_tagsHasBeenSet =
true;
138 m_tags.emplace_back(std::forward<TagsT>(value));
152 bool m_nameHasBeenSet =
false;
153 bool m_scopeHasBeenSet =
false;
154 bool m_descriptionHasBeenSet =
false;
155 bool m_regularExpressionListHasBeenSet =
false;
156 bool m_tagsHasBeenSet =
false;
bool ScopeHasBeenSet() const
void SetTags(TagsT &&value)
void SetRegularExpressionList(RegularExpressionListT &&value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetDescription() const
AWS_WAFV2_API Aws::String SerializePayload() const override
const Aws::Vector< Tag > & GetTags() const
CreateRegexPatternSetRequest & WithScope(Scope value)
bool NameHasBeenSet() const
void SetName(NameT &&value)
CreateRegexPatternSetRequest & WithRegularExpressionList(RegularExpressionListT &&value)
AWS_WAFV2_API CreateRegexPatternSetRequest()=default
const Aws::String & GetName() const
const Aws::Vector< Regex > & GetRegularExpressionList() const
bool DescriptionHasBeenSet() const
CreateRegexPatternSetRequest & AddTags(TagsT &&value)
CreateRegexPatternSetRequest & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
CreateRegexPatternSetRequest & WithTags(TagsT &&value)
CreateRegexPatternSetRequest & AddRegularExpressionList(RegularExpressionListT &&value)
void SetScope(Scope value)
CreateRegexPatternSetRequest & WithName(NameT &&value)
bool RegularExpressionListHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() 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