7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/servicediscovery/model/RoutingPolicy.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/servicediscovery/model/DnsRecord.h>
23namespace ServiceDiscovery
105 bool m_routingPolicyHasBeenSet =
false;
108 bool m_dnsRecordsHasBeenSet =
false;
DnsConfig & WithDnsRecords(const Aws::Vector< DnsRecord > &value)
AWS_SERVICEDISCOVERY_API DnsConfig(Aws::Utils::Json::JsonView jsonValue)
const RoutingPolicy & GetRoutingPolicy() const
DnsConfig & WithDnsRecords(Aws::Vector< DnsRecord > &&value)
void SetDnsRecords(const Aws::Vector< DnsRecord > &value)
DnsConfig & AddDnsRecords(DnsRecord &&value)
bool DnsRecordsHasBeenSet() const
void SetDnsRecords(Aws::Vector< DnsRecord > &&value)
AWS_SERVICEDISCOVERY_API DnsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DnsConfig & WithRoutingPolicy(RoutingPolicy &&value)
void SetRoutingPolicy(RoutingPolicy &&value)
AWS_SERVICEDISCOVERY_API DnsConfig()
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< DnsRecord > & GetDnsRecords() const
DnsConfig & AddDnsRecords(const DnsRecord &value)
void SetRoutingPolicy(const RoutingPolicy &value)
DnsConfig & WithRoutingPolicy(const RoutingPolicy &value)
bool RoutingPolicyHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue