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/ReplaceableAttribute.h>
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 AttributesT = Aws::Vector<ReplaceableAttribute>>
63 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
64 template<
typename AttributesT = Aws::Vector<ReplaceableAttribute>>
66 template<
typename AttributesT = ReplaceableAttribute>
67 ReplaceableItem&
AddAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes.emplace_back(std::forward<AttributesT>(value));
return *
this; }
72 bool m_nameHasBeenSet =
false;
75 bool m_attributesHasBeenSet =
false;
void SetName(NameT &&value)
AWS_SIMPLEDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_SIMPLEDB_API ReplaceableItem()=default
const Aws::Vector< ReplaceableAttribute > & GetAttributes() const
bool AttributesHasBeenSet() const
ReplaceableItem & WithName(NameT &&value)
AWS_SIMPLEDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool NameHasBeenSet() const
ReplaceableItem & AddAttributes(AttributesT &&value)
AWS_SIMPLEDB_API ReplaceableItem & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetName() const
ReplaceableItem & WithAttributes(AttributesT &&value)
void SetAttributes(AttributesT &&value)
AWS_SIMPLEDB_API ReplaceableItem(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