7#include <aws/sdb/SimpleDB_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/sdb/model/Attribute.h>
36 AWS_SIMPLEDB_API
Item() =
default;
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename AlternateNameEncodingT = Aws::String>
63 void SetAlternateNameEncoding(AlternateNameEncodingT&& value) { m_alternateNameEncodingHasBeenSet =
true; m_alternateNameEncoding = std::forward<AlternateNameEncodingT>(value); }
64 template<
typename AlternateNameEncodingT = Aws::String>
74 template<
typename AttributesT = Aws::Vector<Attribute>>
75 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
76 template<
typename AttributesT = Aws::Vector<Attribute>>
78 template<
typename AttributesT = Attribute>
79 Item&
AddAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes.emplace_back(std::forward<AttributesT>(value));
return *
this; }
84 bool m_nameHasBeenSet =
false;
87 bool m_alternateNameEncodingHasBeenSet =
false;
90 bool m_attributesHasBeenSet =
false;
Item & WithAlternateNameEncoding(AlternateNameEncodingT &&value)
const Aws::String & GetAlternateNameEncoding() const
Item & AddAttributes(AttributesT &&value)
AWS_SIMPLEDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Vector< Attribute > & GetAttributes() const
AWS_SIMPLEDB_API Item()=default
bool AlternateNameEncodingHasBeenSet() const
const Aws::String & GetName() const
AWS_SIMPLEDB_API Item(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SIMPLEDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool NameHasBeenSet() const
Item & WithAttributes(AttributesT &&value)
void SetName(NameT &&value)
bool AttributesHasBeenSet() const
void SetAttributes(AttributesT &&value)
void SetAlternateNameEncoding(AlternateNameEncodingT &&value)
AWS_SIMPLEDB_API Item & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Item & WithName(NameT &&value)
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