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>
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
67 m_scopeHasBeenSet =
true;
84 template <
typename IdT = Aws::String>
86 m_idHasBeenSet =
true;
87 m_id = std::forward<IdT>(value);
89 template <
typename IdT = Aws::String>
91 SetId(std::forward<IdT>(value));
102 template <
typename DescriptionT = Aws::String>
104 m_descriptionHasBeenSet =
true;
105 m_description = std::forward<DescriptionT>(value);
107 template <
typename DescriptionT = Aws::String>
120 template <
typename RegularExpressionListT = Aws::Vector<Regex>>
122 m_regularExpressionListHasBeenSet =
true;
123 m_regularExpressionList = std::forward<RegularExpressionListT>(value);
125 template <
typename RegularExpressionListT = Aws::Vector<Regex>>
130 template <
typename RegularExpressionListT = Regex>
132 m_regularExpressionListHasBeenSet =
true;
133 m_regularExpressionList.emplace_back(std::forward<RegularExpressionListT>(value));
151 template <
typename LockTokenT = Aws::String>
153 m_lockTokenHasBeenSet =
true;
154 m_lockToken = std::forward<LockTokenT>(value);
156 template <
typename LockTokenT = Aws::String>
174 bool m_nameHasBeenSet =
false;
175 bool m_scopeHasBeenSet =
false;
176 bool m_idHasBeenSet =
false;
177 bool m_descriptionHasBeenSet =
false;
178 bool m_regularExpressionListHasBeenSet =
false;
179 bool m_lockTokenHasBeenSet =
false;
UpdateRegexPatternSetRequest & WithLockToken(LockTokenT &&value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool IdHasBeenSet() const
bool RegularExpressionListHasBeenSet() const
UpdateRegexPatternSetRequest & WithName(NameT &&value)
void SetLockToken(LockTokenT &&value)
bool ScopeHasBeenSet() const
bool NameHasBeenSet() const
bool LockTokenHasBeenSet() const
const Aws::String & GetName() const
virtual const char * GetServiceRequestName() const override
void SetScope(Scope value)
const Aws::Vector< Regex > & GetRegularExpressionList() const
UpdateRegexPatternSetRequest & WithRegularExpressionList(RegularExpressionListT &&value)
void SetDescription(DescriptionT &&value)
void SetRegularExpressionList(RegularExpressionListT &&value)
AWS_WAFV2_API UpdateRegexPatternSetRequest()=default
void SetName(NameT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetId() const
UpdateRegexPatternSetRequest & AddRegularExpressionList(RegularExpressionListT &&value)
UpdateRegexPatternSetRequest & WithScope(Scope value)
const Aws::String & GetLockToken() const
UpdateRegexPatternSetRequest & WithDescription(DescriptionT &&value)
AWS_WAFV2_API Aws::String SerializePayload() const override
const Aws::String & GetDescription() const
UpdateRegexPatternSetRequest & WithId(IdT &&value)
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