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/Regex.h>
13#include <aws/wafv2/model/Tag.h>
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
65 inline void SetScope(
Scope value) { m_scopeHasBeenSet =
true; m_scope = value; }
75 template<
typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
77 template<
typename DescriptionT = Aws::String>
87 template<
typename RegularExpressionListT = Aws::Vector<Regex>>
88 void SetRegularExpressionList(RegularExpressionListT&& value) { m_regularExpressionListHasBeenSet =
true; m_regularExpressionList = std::forward<RegularExpressionListT>(value); }
89 template<
typename RegularExpressionListT = Aws::Vector<Regex>>
91 template<
typename RegularExpressionListT = Regex>
101 template<
typename TagsT = Aws::Vector<Tag>>
102 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
103 template<
typename TagsT = Aws::Vector<Tag>>
105 template<
typename TagsT = Tag>
111 bool m_nameHasBeenSet =
false;
114 bool m_scopeHasBeenSet =
false;
117 bool m_descriptionHasBeenSet =
false;
120 bool m_regularExpressionListHasBeenSet =
false;
123 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