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
51 inline void SetIp(
Aws::String&& value) { m_ipHasBeenSet =
true; m_ip = std::move(value); }
52 inline void SetIp(
const char* value) { m_ipHasBeenSet =
true; m_ip.assign(value); }
62 inline int GetPort()
const{
return m_port; }
64 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
76 inline void SetIpv6(
const char* value) { m_ipv6HasBeenSet =
true; m_ipv6.assign(value); }
97 inline void SetProtocol(
Protocol&& value) { m_protocolHasBeenSet =
true; m_protocol = std::move(value); }
112 inline void SetServerNameIndication(
const char* value) { m_serverNameIndicationHasBeenSet =
true; m_serverNameIndication.assign(value); }
120 bool m_ipHasBeenSet =
false;
123 bool m_portHasBeenSet =
false;
126 bool m_ipv6HasBeenSet =
false;
129 bool m_protocolHasBeenSet =
false;
132 bool m_serverNameIndicationHasBeenSet =
false;
bool ProtocolHasBeenSet() const
TargetAddress & WithIpv6(const Aws::String &value)
TargetAddress & WithServerNameIndication(const char *value)
TargetAddress & WithIpv6(const char *value)
bool Ipv6HasBeenSet() const
TargetAddress & WithIpv6(Aws::String &&value)
bool ServerNameIndicationHasBeenSet() const
void SetIp(Aws::String &&value)
bool PortHasBeenSet() const
TargetAddress & WithProtocol(const Protocol &value)
void SetIpv6(const Aws::String &value)
const Aws::String & GetServerNameIndication() const
const Aws::String & GetIpv6() const
TargetAddress & WithServerNameIndication(const Aws::String &value)
AWS_ROUTE53RESOLVER_API TargetAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServerNameIndication(const Aws::String &value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServerNameIndication(const char *value)
AWS_ROUTE53RESOLVER_API TargetAddress()
TargetAddress & WithProtocol(Protocol &&value)
TargetAddress & WithIp(const char *value)
bool IpHasBeenSet() const
void SetProtocol(const Protocol &value)
void SetServerNameIndication(Aws::String &&value)
const Aws::String & GetIp() const
void SetIpv6(Aws::String &&value)
AWS_ROUTE53RESOLVER_API TargetAddress(Aws::Utils::Json::JsonView jsonValue)
void SetProtocol(Protocol &&value)
const Protocol & GetProtocol() const
void SetIp(const Aws::String &value)
TargetAddress & WithIp(const Aws::String &value)
void SetIp(const char *value)
TargetAddress & WithServerNameIndication(Aws::String &&value)
TargetAddress & WithIp(Aws::String &&value)
TargetAddress & WithPort(int value)
void SetIpv6(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue