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/IPAddressVersion.h>
38 AWS_WAFV2_API
IPSet() =
default;
50 template <
typename NameT = Aws::String>
52 m_nameHasBeenSet =
true;
53 m_name = std::forward<NameT>(value);
55 template <
typename NameT = Aws::String>
57 SetName(std::forward<NameT>(value));
70 template <
typename IdT = Aws::String>
72 m_idHasBeenSet =
true;
73 m_id = std::forward<IdT>(value);
75 template <
typename IdT = Aws::String>
77 SetId(std::forward<IdT>(value));
88 template <
typename ARNT = Aws::String>
90 m_aRNHasBeenSet =
true;
91 m_aRN = std::forward<ARNT>(value);
93 template <
typename ARNT = Aws::String>
95 SetARN(std::forward<ARNT>(value));
106 template <
typename DescriptionT = Aws::String>
108 m_descriptionHasBeenSet =
true;
109 m_description = std::forward<DescriptionT>(value);
111 template <
typename DescriptionT = Aws::String>
126 m_iPAddressVersionHasBeenSet =
true;
127 m_iPAddressVersion = value;
163 template <
typename AddressesT = Aws::Vector<Aws::String>>
165 m_addressesHasBeenSet =
true;
166 m_addresses = std::forward<AddressesT>(value);
168 template <
typename AddressesT = Aws::Vector<Aws::String>>
173 template <
typename AddressesT = Aws::String>
175 m_addressesHasBeenSet =
true;
176 m_addresses.emplace_back(std::forward<AddressesT>(value));
192 bool m_nameHasBeenSet =
false;
193 bool m_idHasBeenSet =
false;
194 bool m_aRNHasBeenSet =
false;
195 bool m_descriptionHasBeenSet =
false;
196 bool m_iPAddressVersionHasBeenSet =
false;
197 bool m_addressesHasBeenSet =
false;
void SetIPAddressVersion(IPAddressVersion value)
AWS_WAFV2_API IPSet & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::String & GetDescription() const
IPSet & WithARN(ARNT &&value)
AWS_WAFV2_API IPSet(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
void SetARN(ARNT &&value)
IPSet & WithIPAddressVersion(IPAddressVersion value)
IPSet & WithAddresses(AddressesT &&value)
IPSet & WithId(IdT &&value)
const Aws::Vector< Aws::String > & GetAddresses() const
bool NameHasBeenSet() const
IPSet & WithDescription(DescriptionT &&value)
const Aws::String & GetId() const
bool IdHasBeenSet() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetARN() const
bool AddressesHasBeenSet() const
bool DescriptionHasBeenSet() const
bool ARNHasBeenSet() const
IPSet & WithName(NameT &&value)
void SetDescription(DescriptionT &&value)
AWS_WAFV2_API IPSet()=default
void SetAddresses(AddressesT &&value)
bool IPAddressVersionHasBeenSet() const
IPAddressVersion GetIPAddressVersion() const
IPSet & AddAddresses(AddressesT &&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