7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
49 template<
typename KeyT = Aws::String>
50 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
51 template<
typename KeyT = Aws::String>
61 template<
typename ValuesT = Aws::Vector<Aws::String>>
62 void SetValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values = std::forward<ValuesT>(value); }
63 template<
typename ValuesT = Aws::Vector<Aws::String>>
65 template<
typename ValuesT = Aws::String>
71 bool m_keyHasBeenSet =
false;
74 bool m_valuesHasBeenSet =
false;
NewDhcpConfiguration & WithValues(ValuesT &&value)
NewDhcpConfiguration & WithKey(KeyT &&value)
void SetValues(ValuesT &&value)
void SetKey(KeyT &&value)
AWS_EC2_API NewDhcpConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
NewDhcpConfiguration & AddValues(ValuesT &&value)
AWS_EC2_API NewDhcpConfiguration()=default
const Aws::String & GetKey() const
bool KeyHasBeenSet() const
bool ValuesHasBeenSet() const
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
const Aws::Vector< Aws::String > & GetValues() const
AWS_EC2_API NewDhcpConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
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