7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appmesh/model/IpPreference.h>
10#include <aws/appmesh/model/DnsResponseType.h>
51 inline void SetHostname(
const char* value) { m_hostnameHasBeenSet =
true; m_hostname.assign(value); }
85 bool m_hostnameHasBeenSet =
false;
88 bool m_ipPreferenceHasBeenSet =
false;
91 bool m_responseTypeHasBeenSet =
false;
bool ResponseTypeHasBeenSet() const
void SetIpPreference(IpPreference &&value)
DnsServiceDiscovery & WithIpPreference(const IpPreference &value)
DnsServiceDiscovery & WithHostname(Aws::String &&value)
const IpPreference & GetIpPreference() const
DnsServiceDiscovery & WithResponseType(DnsResponseType &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
DnsServiceDiscovery & WithResponseType(const DnsResponseType &value)
const Aws::String & GetHostname() const
DnsServiceDiscovery & WithHostname(const Aws::String &value)
void SetHostname(const char *value)
const DnsResponseType & GetResponseType() const
AWS_APPMESH_API DnsServiceDiscovery & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IpPreferenceHasBeenSet() const
DnsServiceDiscovery & WithHostname(const char *value)
AWS_APPMESH_API DnsServiceDiscovery()
void SetHostname(Aws::String &&value)
void SetResponseType(const DnsResponseType &value)
DnsServiceDiscovery & WithIpPreference(IpPreference &&value)
AWS_APPMESH_API DnsServiceDiscovery(Aws::Utils::Json::JsonView jsonValue)
void SetHostname(const Aws::String &value)
bool HostnameHasBeenSet() const
void SetIpPreference(const IpPreference &value)
void SetResponseType(DnsResponseType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue