7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
9#include <aws/route53resolver/model/Protocol.h>
20namespace Route53Resolver {
44 template <
typename IpT = Aws::String>
46 m_ipHasBeenSet =
true;
47 m_ip = std::forward<IpT>(value);
49 template <
typename IpT = Aws::String>
51 SetIp(std::forward<IpT>(value));
60 inline int GetPort()
const {
return m_port; }
63 m_portHasBeenSet =
true;
78 template <
typename Ipv6T = Aws::String>
80 m_ipv6HasBeenSet =
true;
81 m_ipv6 = std::forward<Ipv6T>(value);
83 template <
typename Ipv6T = Aws::String>
85 SetIpv6(std::forward<Ipv6T>(value));
98 m_protocolHasBeenSet =
true;
115 template <
typename ServerNameIndicationT = Aws::String>
117 m_serverNameIndicationHasBeenSet =
true;
118 m_serverNameIndication = std::forward<ServerNameIndicationT>(value);
120 template <
typename ServerNameIndicationT = Aws::String>
136 bool m_ipHasBeenSet =
false;
137 bool m_portHasBeenSet =
false;
138 bool m_ipv6HasBeenSet =
false;
139 bool m_protocolHasBeenSet =
false;
140 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