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>
45 template <
typename CustomDnsServersT = Aws::Vector<Aws::String>>
47 m_customDnsServersHasBeenSet =
true;
48 m_customDnsServers = std::forward<CustomDnsServersT>(value);
50 template <
typename CustomDnsServersT = Aws::Vector<Aws::String>>
55 template <
typename CustomDnsServersT = Aws::String>
57 m_customDnsServersHasBeenSet =
true;
58 m_customDnsServers.emplace_back(std::forward<CustomDnsServersT>(value));
71 m_enabledHasBeenSet =
true;
82 bool m_enabled{
false};
83 bool m_customDnsServersHasBeenSet =
false;
84 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