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>
49 template<
typename HostnameT = Aws::String>
50 void SetHostname(HostnameT&& value) { m_hostnameHasBeenSet =
true; m_hostname = std::forward<HostnameT>(value); }
51 template<
typename HostnameT = Aws::String>
79 bool m_hostnameHasBeenSet =
false;
82 bool m_ipPreferenceHasBeenSet =
false;
85 bool m_responseTypeHasBeenSet =
false;
void SetResponseType(DnsResponseType value)
bool ResponseTypeHasBeenSet() const
AWS_APPMESH_API DnsServiceDiscovery()=default
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
DnsServiceDiscovery & WithResponseType(DnsResponseType value)
DnsServiceDiscovery & WithIpPreference(IpPreference value)
const Aws::String & GetHostname() const
AWS_APPMESH_API DnsServiceDiscovery & operator=(Aws::Utils::Json::JsonView jsonValue)
DnsServiceDiscovery & WithHostname(HostnameT &&value)
bool IpPreferenceHasBeenSet() const
void SetHostname(HostnameT &&value)
IpPreference GetIpPreference() const
AWS_APPMESH_API DnsServiceDiscovery(Aws::Utils::Json::JsonView jsonValue)
DnsResponseType GetResponseType() const
void SetIpPreference(IpPreference value)
bool HostnameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue