7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/globalaccelerator/model/IpAddressFamily.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace GlobalAccelerator
37 AWS_GLOBALACCELERATOR_API
IpSet() =
default;
50 template<
typename IpAddressesT = Aws::Vector<Aws::String>>
51 void SetIpAddresses(IpAddressesT&& value) { m_ipAddressesHasBeenSet =
true; m_ipAddresses = std::forward<IpAddressesT>(value); }
52 template<
typename IpAddressesT = Aws::Vector<Aws::String>>
54 template<
typename IpAddressesT = Aws::String>
55 IpSet&
AddIpAddresses(IpAddressesT&& value) { m_ipAddressesHasBeenSet =
true; m_ipAddresses.emplace_back(std::forward<IpAddressesT>(value));
return *
this; }
70 bool m_ipAddressesHasBeenSet =
false;
73 bool m_ipAddressFamilyHasBeenSet =
false;
IpSet & WithIpAddresses(IpAddressesT &&value)
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLOBALACCELERATOR_API IpSet(Aws::Utils::Json::JsonView jsonValue)
AWS_GLOBALACCELERATOR_API IpSet & operator=(Aws::Utils::Json::JsonView jsonValue)
IpAddressFamily GetIpAddressFamily() const
void SetIpAddressFamily(IpAddressFamily value)
AWS_GLOBALACCELERATOR_API IpSet()=default
bool IpAddressFamilyHasBeenSet() const
IpSet & WithIpAddressFamily(IpAddressFamily value)
IpSet & AddIpAddresses(IpAddressesT &&value)
const Aws::Vector< Aws::String > & GetIpAddresses() const
void SetIpAddresses(IpAddressesT &&value)
bool IpAddressesHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue