7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
10#include <aws/globalaccelerator/model/IpAddressDetail.h>
11#include <aws/globalaccelerator/model/IpAddressFamily.h>
22namespace GlobalAccelerator {
33 AWS_GLOBALACCELERATOR_API
IpSet() =
default;
45 template <
typename IpAddressesT = Aws::Vector<Aws::String>>
47 m_ipAddressesHasBeenSet =
true;
48 m_ipAddresses = std::forward<IpAddressesT>(value);
50 template <
typename IpAddressesT = Aws::Vector<Aws::String>>
55 template <
typename IpAddressesT = Aws::String>
57 m_ipAddressesHasBeenSet =
true;
58 m_ipAddresses.emplace_back(std::forward<IpAddressesT>(value));
70 m_ipAddressFamilyHasBeenSet =
true;
71 m_ipAddressFamily = value;
87 template <
typename IpAddressDetailsT = Aws::Vector<IpAddressDetail>>
89 m_ipAddressDetailsHasBeenSet =
true;
90 m_ipAddressDetails = std::forward<IpAddressDetailsT>(value);
92 template <
typename IpAddressDetailsT = Aws::Vector<IpAddressDetail>>
97 template <
typename IpAddressDetailsT = IpAddressDetail>
99 m_ipAddressDetailsHasBeenSet =
true;
100 m_ipAddressDetails.emplace_back(std::forward<IpAddressDetailsT>(value));
110 bool m_ipAddressesHasBeenSet =
false;
111 bool m_ipAddressFamilyHasBeenSet =
false;
112 bool m_ipAddressDetailsHasBeenSet =
false;
IpSet & WithIpAddresses(IpAddressesT &&value)
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIpAddressDetails(IpAddressDetailsT &&value)
AWS_GLOBALACCELERATOR_API IpSet(Aws::Utils::Json::JsonView jsonValue)
AWS_GLOBALACCELERATOR_API IpSet & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IpAddressDetailsHasBeenSet() const
IpSet & AddIpAddressDetails(IpAddressDetailsT &&value)
IpAddressFamily GetIpAddressFamily() const
void SetIpAddressFamily(IpAddressFamily value)
AWS_GLOBALACCELERATOR_API IpSet()=default
const Aws::Vector< IpAddressDetail > & GetIpAddressDetails() const
IpSet & WithIpAddressDetails(IpAddressDetailsT &&value)
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