AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeletableItem.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace SimpleDB
24{
25namespace Model
26{
27
29 {
30 public:
31 AWS_SIMPLEDB_API DeletableItem();
32 AWS_SIMPLEDB_API DeletableItem(const Aws::Utils::Xml::XmlNode& xmlNode);
33 AWS_SIMPLEDB_API DeletableItem& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_SIMPLEDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
36 AWS_SIMPLEDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
37
38
40
41 inline const Aws::String& GetName() const{ return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
44 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
45 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
46 inline DeletableItem& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline DeletableItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline DeletableItem& WithName(const char* value) { SetName(value); return *this;}
50
52
53 inline const Aws::Vector<Attribute>& GetAttributes() const{ return m_attributes; }
54 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
55 inline void SetAttributes(const Aws::Vector<Attribute>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
56 inline void SetAttributes(Aws::Vector<Attribute>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
57 inline DeletableItem& WithAttributes(const Aws::Vector<Attribute>& value) { SetAttributes(value); return *this;}
58 inline DeletableItem& WithAttributes(Aws::Vector<Attribute>&& value) { SetAttributes(std::move(value)); return *this;}
59 inline DeletableItem& AddAttributes(const Attribute& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
60 inline DeletableItem& AddAttributes(Attribute&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; }
62 private:
63
64 Aws::String m_name;
65 bool m_nameHasBeenSet = false;
66
67 Aws::Vector<Attribute> m_attributes;
68 bool m_attributesHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace SimpleDB
73} // namespace Aws
AWS_SIMPLEDB_API DeletableItem(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Attribute > & GetAttributes() const
void SetName(Aws::String &&value)
DeletableItem & AddAttributes(Attribute &&value)
void SetAttributes(Aws::Vector< Attribute > &&value)
void SetName(const Aws::String &value)
void SetAttributes(const Aws::Vector< Attribute > &value)
DeletableItem & WithName(const Aws::String &value)
DeletableItem & AddAttributes(const Attribute &value)
const Aws::String & GetName() const
AWS_SIMPLEDB_API DeletableItem & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SIMPLEDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DeletableItem & WithAttributes(const Aws::Vector< Attribute > &value)
void SetName(const char *value)
DeletableItem & WithName(const char *value)
DeletableItem & WithName(Aws::String &&value)
DeletableItem & WithAttributes(Aws::Vector< Attribute > &&value)
AWS_SIMPLEDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) 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