7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace GlobalAccelerator
46 template<
typename IpAddressT = Aws::String>
47 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet =
true; m_ipAddress = std::forward<IpAddressT>(value); }
48 template<
typename IpAddressT = Aws::String>
56 inline int GetPort()
const {
return m_port; }
58 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
64 bool m_ipAddressHasBeenSet =
false;
67 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