7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename CustomDnsServersT = Aws::Vector<Aws::String>>
52 void SetCustomDnsServers(CustomDnsServersT&& value) { m_customDnsServersHasBeenSet =
true; m_customDnsServers = std::forward<CustomDnsServersT>(value); }
53 template<
typename CustomDnsServersT = Aws::Vector<Aws::String>>
55 template<
typename CustomDnsServersT = Aws::String>
66 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
72 bool m_customDnsServersHasBeenSet =
false;
74 bool m_enabled{
false};
75 bool m_enabledHasBeenSet =
false;
DnsServersOptionsModifyStructure & WithEnabled(bool value)
DnsServersOptionsModifyStructure & WithCustomDnsServers(CustomDnsServersT &&value)
AWS_EC2_API DnsServersOptionsModifyStructure & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCustomDnsServers(CustomDnsServersT &&value)
bool EnabledHasBeenSet() const
bool CustomDnsServersHasBeenSet() const
DnsServersOptionsModifyStructure & AddCustomDnsServers(CustomDnsServersT &&value)
const Aws::Vector< Aws::String > & GetCustomDnsServers() const
void SetEnabled(bool value)
AWS_EC2_API DnsServersOptionsModifyStructure()=default
AWS_EC2_API DnsServersOptionsModifyStructure(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream