7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wafv2/model/IPAddressVersion.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
58 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
73 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
74 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
87 inline void SetARN(
Aws::String&& value) { m_aRNHasBeenSet =
true; m_aRN = std::move(value); }
88 inline void SetARN(
const char* value) { m_aRNHasBeenSet =
true; m_aRN.assign(value); }
102 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
155 inline IPSet&
AddAddresses(
const char* value) { m_addressesHasBeenSet =
true; m_addresses.push_back(value);
return *
this; }
160 bool m_nameHasBeenSet =
false;
163 bool m_idHasBeenSet =
false;
166 bool m_aRNHasBeenSet =
false;
169 bool m_descriptionHasBeenSet =
false;
172 bool m_iPAddressVersionHasBeenSet =
false;
175 bool m_addressesHasBeenSet =
false;
void SetId(const char *value)
void SetId(const Aws::String &value)
IPSet & WithARN(const char *value)
IPSet & AddAddresses(const char *value)
IPSet & WithARN(const Aws::String &value)
IPSet & WithDescription(const char *value)
IPSet & WithId(const Aws::String &value)
IPSet & WithName(Aws::String &&value)
AWS_WAFV2_API IPSet & operator=(Aws::Utils::Json::JsonView jsonValue)
IPSet & WithId(Aws::String &&value)
const Aws::String & GetName() const
void SetARN(const char *value)
const Aws::String & GetDescription() const
void SetDescription(const Aws::String &value)
void SetARN(const Aws::String &value)
void SetName(const char *value)
void SetIPAddressVersion(const IPAddressVersion &value)
void SetIPAddressVersion(IPAddressVersion &&value)
AWS_WAFV2_API IPSet(Aws::Utils::Json::JsonView jsonValue)
void SetARN(Aws::String &&value)
IPSet & WithAddresses(Aws::Vector< Aws::String > &&value)
void SetAddresses(Aws::Vector< Aws::String > &&value)
void SetId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAddresses() const
IPSet & WithDescription(Aws::String &&value)
bool NameHasBeenSet() const
const Aws::String & GetId() const
bool IdHasBeenSet() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const char *value)
void SetAddresses(const Aws::Vector< Aws::String > &value)
const Aws::String & GetARN() const
bool AddressesHasBeenSet() const
const IPAddressVersion & GetIPAddressVersion() const
bool DescriptionHasBeenSet() const
IPSet & WithARN(Aws::String &&value)
bool ARNHasBeenSet() const
IPSet & WithIPAddressVersion(IPAddressVersion &&value)
void SetName(Aws::String &&value)
IPSet & WithName(const char *value)
void SetDescription(Aws::String &&value)
IPSet & AddAddresses(const Aws::String &value)
IPSet & WithDescription(const Aws::String &value)
IPSet & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
IPSet & WithId(const char *value)
IPSet & AddAddresses(Aws::String &&value)
bool IPAddressVersionHasBeenSet() const
IPSet & WithAddresses(const Aws::Vector< Aws::String > &value)
IPSet & WithIPAddressVersion(const IPAddressVersion &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