7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53resolver/model/Protocol.h>
22namespace Route53Resolver
50 template<
typename IpT = Aws::String>
51 void SetIp(IpT&& value) { m_ipHasBeenSet =
true; m_ip = std::forward<IpT>(value); }
52 template<
typename IpT = Aws::String>
60 inline int GetPort()
const {
return m_port; }
62 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
72 template<
typename Ipv6T = Aws::String>
73 void SetIpv6(Ipv6T&& value) { m_ipv6HasBeenSet =
true; m_ipv6 = std::forward<Ipv6T>(value); }
74 template<
typename Ipv6T = Aws::String>
97 template<
typename ServerNameIndicationT = Aws::String>
98 void SetServerNameIndication(ServerNameIndicationT&& value) { m_serverNameIndicationHasBeenSet =
true; m_serverNameIndication = std::forward<ServerNameIndicationT>(value); }
99 template<
typename ServerNameIndicationT = Aws::String>
105 bool m_ipHasBeenSet =
false;
108 bool m_portHasBeenSet =
false;
111 bool m_ipv6HasBeenSet =
false;
114 bool m_protocolHasBeenSet =
false;
117 bool m_serverNameIndicationHasBeenSet =
false;
bool ProtocolHasBeenSet() const
bool Ipv6HasBeenSet() const
bool ServerNameIndicationHasBeenSet() const
bool PortHasBeenSet() const
const Aws::String & GetServerNameIndication() const
const Aws::String & GetIpv6() const
void SetIpv6(Ipv6T &&value)
AWS_ROUTE53RESOLVER_API TargetAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
TargetAddress & WithProtocol(Protocol value)
void SetProtocol(Protocol value)
void SetServerNameIndication(ServerNameIndicationT &&value)
TargetAddress & WithIp(IpT &&value)
AWS_ROUTE53RESOLVER_API TargetAddress()=default
TargetAddress & WithIpv6(Ipv6T &&value)
bool IpHasBeenSet() const
Protocol GetProtocol() const
TargetAddress & WithServerNameIndication(ServerNameIndicationT &&value)
const Aws::String & GetIp() const
AWS_ROUTE53RESOLVER_API TargetAddress(Aws::Utils::Json::JsonView jsonValue)
TargetAddress & WithPort(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue