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>
43 template <
typename KeyT = Aws::String>
45 m_keyHasBeenSet =
true;
46 m_key = std::forward<KeyT>(value);
48 template <
typename KeyT = Aws::String>
50 SetKey(std::forward<KeyT>(value));
61 template <
typename ValuesT = Aws::Vector<Aws::String>>
63 m_valuesHasBeenSet =
true;
64 m_values = std::forward<ValuesT>(value);
66 template <
typename ValuesT = Aws::Vector<Aws::String>>
71 template <
typename ValuesT = Aws::String>
73 m_valuesHasBeenSet =
true;
74 m_values.emplace_back(std::forward<ValuesT>(value));
82 bool m_keyHasBeenSet =
false;
83 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