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>
11#include <aws/ec2/model/AccountAttributeValue.h>
44 template <
typename AttributeNameT = Aws::String>
46 m_attributeNameHasBeenSet =
true;
47 m_attributeName = std::forward<AttributeNameT>(value);
49 template <
typename AttributeNameT = Aws::String>
62 template <
typename AttributeValuesT = Aws::Vector<AccountAttributeValue>>
64 m_attributeValuesHasBeenSet =
true;
65 m_attributeValues = std::forward<AttributeValuesT>(value);
67 template <
typename AttributeValuesT = Aws::Vector<AccountAttributeValue>>
72 template <
typename AttributeValuesT = AccountAttributeValue>
74 m_attributeValuesHasBeenSet =
true;
75 m_attributeValues.emplace_back(std::forward<AttributeValuesT>(value));
83 bool m_attributeNameHasBeenSet =
false;
84 bool m_attributeValuesHasBeenSet =
false;
void SetAttributeName(AttributeNameT &&value)
bool AttributeValuesHasBeenSet() const
bool AttributeNameHasBeenSet() const
AWS_EC2_API AccountAttribute(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API AccountAttribute()=default
AccountAttribute & AddAttributeValues(AttributeValuesT &&value)
void SetAttributeValues(AttributeValuesT &&value)
AccountAttribute & WithAttributeValues(AttributeValuesT &&value)
const Aws::Vector< AccountAttributeValue > & GetAttributeValues() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API AccountAttribute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AccountAttribute & WithAttributeName(AttributeNameT &&value)
const Aws::String & GetAttributeName() 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