7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/DnsRecordIpType.h>
45 m_dnsRecordIpTypeHasBeenSet =
true;
46 m_dnsRecordIpType = value;
65 m_privateDnsOnlyForInboundResolverEndpointHasBeenSet =
true;
66 m_privateDnsOnlyForInboundResolverEndpoint = value;
94 template <
typename PrivateDnsPreferenceT = Aws::String>
96 m_privateDnsPreferenceHasBeenSet =
true;
97 m_privateDnsPreference = std::forward<PrivateDnsPreferenceT>(value);
99 template <
typename PrivateDnsPreferenceT = Aws::String>
115 template <
typename PrivateDnsSpecifiedDomainsT = Aws::Vector<Aws::String>>
117 m_privateDnsSpecifiedDomainsHasBeenSet =
true;
118 m_privateDnsSpecifiedDomains = std::forward<PrivateDnsSpecifiedDomainsT>(value);
120 template <
typename PrivateDnsSpecifiedDomainsT = Aws::Vector<Aws::String>>
125 template <
typename PrivateDnsSpecifiedDomainsT = Aws::String>
127 m_privateDnsSpecifiedDomainsHasBeenSet =
true;
128 m_privateDnsSpecifiedDomains.emplace_back(std::forward<PrivateDnsSpecifiedDomainsT>(value));
135 bool m_privateDnsOnlyForInboundResolverEndpoint{
false};
140 bool m_dnsRecordIpTypeHasBeenSet =
false;
141 bool m_privateDnsOnlyForInboundResolverEndpointHasBeenSet =
false;
142 bool m_privateDnsPreferenceHasBeenSet =
false;
143 bool m_privateDnsSpecifiedDomainsHasBeenSet =
false;
DnsRecordIpType GetDnsRecordIpType() const
DnsOptionsSpecification & WithDnsRecordIpType(DnsRecordIpType value)
const Aws::Vector< Aws::String > & GetPrivateDnsSpecifiedDomains() const
void SetPrivateDnsOnlyForInboundResolverEndpoint(bool value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool DnsRecordIpTypeHasBeenSet() const
DnsOptionsSpecification & WithPrivateDnsOnlyForInboundResolverEndpoint(bool value)
bool PrivateDnsPreferenceHasBeenSet() const
void SetPrivateDnsSpecifiedDomains(PrivateDnsSpecifiedDomainsT &&value)
DnsOptionsSpecification & WithPrivateDnsSpecifiedDomains(PrivateDnsSpecifiedDomainsT &&value)
bool PrivateDnsSpecifiedDomainsHasBeenSet() const
void SetDnsRecordIpType(DnsRecordIpType value)
AWS_EC2_API DnsOptionsSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PrivateDnsOnlyForInboundResolverEndpointHasBeenSet() const
AWS_EC2_API DnsOptionsSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API DnsOptionsSpecification()=default
const Aws::String & GetPrivateDnsPreference() const
void SetPrivateDnsPreference(PrivateDnsPreferenceT &&value)
DnsOptionsSpecification & WithPrivateDnsPreference(PrivateDnsPreferenceT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool GetPrivateDnsOnlyForInboundResolverEndpoint() const
DnsOptionsSpecification & AddPrivateDnsSpecifiedDomains(PrivateDnsSpecifiedDomainsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream