7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
10#include <aws/wafv2/model/Regex.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
65 template <
typename IdT = Aws::String>
67 m_idHasBeenSet =
true;
68 m_id = std::forward<IdT>(value);
70 template <
typename IdT = Aws::String>
72 SetId(std::forward<IdT>(value));
83 template <
typename ARNT = Aws::String>
85 m_aRNHasBeenSet =
true;
86 m_aRN = std::forward<ARNT>(value);
88 template <
typename ARNT = Aws::String>
90 SetARN(std::forward<ARNT>(value));
101 template <
typename DescriptionT = Aws::String>
103 m_descriptionHasBeenSet =
true;
104 m_description = std::forward<DescriptionT>(value);
106 template <
typename DescriptionT = Aws::String>
119 template <
typename RegularExpressionListT = Aws::Vector<Regex>>
121 m_regularExpressionListHasBeenSet =
true;
122 m_regularExpressionList = std::forward<RegularExpressionListT>(value);
124 template <
typename RegularExpressionListT = Aws::Vector<Regex>>
129 template <
typename RegularExpressionListT = Regex>
131 m_regularExpressionListHasBeenSet =
true;
132 m_regularExpressionList.emplace_back(std::forward<RegularExpressionListT>(value));
146 bool m_nameHasBeenSet =
false;
147 bool m_idHasBeenSet =
false;
148 bool m_aRNHasBeenSet =
false;
149 bool m_descriptionHasBeenSet =
false;
150 bool m_regularExpressionListHasBeenSet =
false;
bool DescriptionHasBeenSet() const
AWS_WAFV2_API RegexPatternSet(Aws::Utils::Json::JsonView jsonValue)
bool ARNHasBeenSet() const
bool RegularExpressionListHasBeenSet() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API RegexPatternSet()=default
AWS_WAFV2_API RegexPatternSet & operator=(Aws::Utils::Json::JsonView jsonValue)
RegexPatternSet & WithDescription(DescriptionT &&value)
RegexPatternSet & WithId(IdT &&value)
void SetRegularExpressionList(RegularExpressionListT &&value)
void SetARN(ARNT &&value)
RegexPatternSet & AddRegularExpressionList(RegularExpressionListT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetId() const
const Aws::String & GetName() const
const Aws::Vector< Regex > & GetRegularExpressionList() const
void SetDescription(DescriptionT &&value)
RegexPatternSet & WithName(NameT &&value)
bool NameHasBeenSet() const
const Aws::String & GetARN() const
RegexPatternSet & WithARN(ARNT &&value)
void SetName(NameT &&value)
bool IdHasBeenSet() const
RegexPatternSet & WithRegularExpressionList(RegularExpressionListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue