7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
19namespace GlobalAccelerator {
40 template <
typename IpAddressT = Aws::String>
42 m_ipAddressHasBeenSet =
true;
43 m_ipAddress = std::forward<IpAddressT>(value);
45 template <
typename IpAddressT = Aws::String>
56 inline int GetPort()
const {
return m_port; }
59 m_portHasBeenSet =
true;
71 bool m_ipAddressHasBeenSet =
false;
72 bool m_portHasBeenSet =
false;
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetIpAddress() const
SocketAddress & WithIpAddress(IpAddressT &&value)
bool IpAddressHasBeenSet() const
void SetIpAddress(IpAddressT &&value)
AWS_GLOBALACCELERATOR_API SocketAddress(Aws::Utils::Json::JsonView jsonValue)
bool PortHasBeenSet() const
AWS_GLOBALACCELERATOR_API SocketAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
SocketAddress & WithPort(int value)
AWS_GLOBALACCELERATOR_API SocketAddress()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue