7#include <aws/redshift/Redshift_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/redshift/model/AttributeValueTarget.h>
51 template<
typename AttributeNameT = Aws::String>
52 void SetAttributeName(AttributeNameT&& value) { m_attributeNameHasBeenSet =
true; m_attributeName = std::forward<AttributeNameT>(value); }
53 template<
typename AttributeNameT = Aws::String>
63 template<
typename AttributeValuesT = Aws::Vector<AttributeValueTarget>>
64 void SetAttributeValues(AttributeValuesT&& value) { m_attributeValuesHasBeenSet =
true; m_attributeValues = std::forward<AttributeValuesT>(value); }
65 template<
typename AttributeValuesT = Aws::Vector<AttributeValueTarget>>
67 template<
typename AttributeValuesT = AttributeValueTarget>
68 AccountAttribute&
AddAttributeValues(AttributeValuesT&& value) { m_attributeValuesHasBeenSet =
true; m_attributeValues.emplace_back(std::forward<AttributeValuesT>(value));
return *
this; }
73 bool m_attributeNameHasBeenSet =
false;
76 bool m_attributeValuesHasBeenSet =
false;
void SetAttributeValues(AttributeValuesT &&value)
const Aws::Vector< AttributeValueTarget > & GetAttributeValues() const
const Aws::String & GetAttributeName() const
bool AttributeNameHasBeenSet() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_REDSHIFT_API AccountAttribute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AccountAttribute & WithAttributeValues(AttributeValuesT &&value)
void SetAttributeName(AttributeNameT &&value)
bool AttributeValuesHasBeenSet() const
AccountAttribute & AddAttributeValues(AttributeValuesT &&value)
AccountAttribute & WithAttributeName(AttributeNameT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_REDSHIFT_API AccountAttribute()=default
AWS_REDSHIFT_API AccountAttribute(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