AWS SDK for C++  1.9.104
AWS SDK for C++
GetAttributesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace SimpleDB
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Attribute>& GetAttributes() const{ return m_attributes; }
41 
45  inline void SetAttributes(const Aws::Vector<Attribute>& value) { m_attributes = value; }
46 
50  inline void SetAttributes(Aws::Vector<Attribute>&& value) { m_attributes = std::move(value); }
51 
55  inline GetAttributesResult& WithAttributes(const Aws::Vector<Attribute>& value) { SetAttributes(value); return *this;}
56 
60  inline GetAttributesResult& WithAttributes(Aws::Vector<Attribute>&& value) { SetAttributes(std::move(value)); return *this;}
61 
65  inline GetAttributesResult& AddAttributes(const Attribute& value) { m_attributes.push_back(value); return *this; }
66 
70  inline GetAttributesResult& AddAttributes(Attribute&& value) { m_attributes.push_back(std::move(value)); return *this; }
71 
72 
73 
74  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
75 
76 
77  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
78 
79 
80  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
81 
82 
83  inline GetAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
84 
85 
86  inline GetAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
87 
88  private:
89 
90  Aws::Vector<Attribute> m_attributes;
91 
92  ResponseMetadata m_responseMetadata;
93  };
94 
95 } // namespace Model
96 } // namespace SimpleDB
97 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SimpleDB::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SimpleDB::Model::GetAttributesResult::WithResponseMetadata
GetAttributesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetAttributesResult.h:83
Aws::SimpleDB::Model::Attribute
Definition: Attribute.h:32
Aws::SimpleDB::Model::GetAttributesResult::AddAttributes
GetAttributesResult & AddAttributes(const Attribute &value)
Definition: GetAttributesResult.h:65
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SimpleDB::Model::GetAttributesResult::GetAttributesResult
GetAttributesResult()
Aws::SimpleDB::Model::GetAttributesResult
Definition: GetAttributesResult.h:30
AWSVector.h
Aws::SimpleDB::Model::GetAttributesResult::WithAttributes
GetAttributesResult & WithAttributes(const Aws::Vector< Attribute > &value)
Definition: GetAttributesResult.h:55
Aws::SimpleDB::Model::GetAttributesResult::WithAttributes
GetAttributesResult & WithAttributes(Aws::Vector< Attribute > &&value)
Definition: GetAttributesResult.h:60
Attribute.h
Aws::SimpleDB::Model::GetAttributesResult::GetAttributes
const Aws::Vector< Attribute > & GetAttributes() const
Definition: GetAttributesResult.h:40
ResponseMetadata.h
Aws::SimpleDB::Model::GetAttributesResult::operator=
GetAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
AWS_SIMPLEDB_API
#define AWS_SIMPLEDB_API
Definition: SimpleDB_EXPORTS.h:28
SimpleDB_EXPORTS.h
Aws::SimpleDB::Model::GetAttributesResult::AddAttributes
GetAttributesResult & AddAttributes(Attribute &&value)
Definition: GetAttributesResult.h:70
Aws::SimpleDB::Model::GetAttributesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetAttributesResult.h:77
Aws::SimpleDB::Model::GetAttributesResult::WithResponseMetadata
GetAttributesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetAttributesResult.h:86
Aws::SimpleDB::Model::GetAttributesResult::SetAttributes
void SetAttributes(const Aws::Vector< Attribute > &value)
Definition: GetAttributesResult.h:45
Aws::SimpleDB::Model::GetAttributesResult::SetAttributes
void SetAttributes(Aws::Vector< Attribute > &&value)
Definition: GetAttributesResult.h:50
Aws::SimpleDB::Model::GetAttributesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetAttributesResult.h:80
Aws::SimpleDB::Model::GetAttributesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetAttributesResult.h:74
Aws::SimpleDB::Model::GetAttributesResult::GetAttributesResult
GetAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)