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>
11#include <aws/ec2/model/AttributeValue.h>
50 template<
typename KeyT = Aws::String>
51 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
52 template<
typename KeyT = Aws::String>
62 template<
typename ValuesT = Aws::Vector<AttributeValue>>
63 void SetValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values = std::forward<ValuesT>(value); }
64 template<
typename ValuesT = Aws::Vector<AttributeValue>>
66 template<
typename ValuesT = AttributeValue>
67 DhcpConfiguration&
AddValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values.emplace_back(std::forward<ValuesT>(value));
return *
this; }
72 bool m_keyHasBeenSet =
false;
75 bool m_valuesHasBeenSet =
false;
AWS_EC2_API DhcpConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API DhcpConfiguration()=default
DhcpConfiguration & WithKey(KeyT &&value)
void SetKey(KeyT &&value)
DhcpConfiguration & WithValues(ValuesT &&value)
const Aws::Vector< AttributeValue > & GetValues() const
bool ValuesHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool KeyHasBeenSet() const
void SetValues(ValuesT &&value)
DhcpConfiguration & AddValues(ValuesT &&value)
AWS_EC2_API DhcpConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetKey() const
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