AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAttributesResult.h
1
6#pragma once
7#include <aws/sdb/SimpleDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sdb/model/ResponseMetadata.h>
10#include <aws/sdb/model/Attribute.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace SimpleDB
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SIMPLEDB_API GetAttributesResult();
35
36
38
41 inline const Aws::Vector<Attribute>& GetAttributes() const{ return m_attributes; }
42 inline void SetAttributes(const Aws::Vector<Attribute>& value) { m_attributes = value; }
43 inline void SetAttributes(Aws::Vector<Attribute>&& value) { m_attributes = std::move(value); }
44 inline GetAttributesResult& WithAttributes(const Aws::Vector<Attribute>& value) { SetAttributes(value); return *this;}
45 inline GetAttributesResult& WithAttributes(Aws::Vector<Attribute>&& value) { SetAttributes(std::move(value)); return *this;}
46 inline GetAttributesResult& AddAttributes(const Attribute& value) { m_attributes.push_back(value); return *this; }
47 inline GetAttributesResult& AddAttributes(Attribute&& value) { m_attributes.push_back(std::move(value)); return *this; }
49
51
52 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
53 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
54 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
56 inline GetAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
58 private:
59
60 Aws::Vector<Attribute> m_attributes;
61
62 ResponseMetadata m_responseMetadata;
63 };
64
65} // namespace Model
66} // namespace SimpleDB
67} // namespace Aws
void SetAttributes(const Aws::Vector< Attribute > &value)
GetAttributesResult & AddAttributes(const Attribute &value)
GetAttributesResult & AddAttributes(Attribute &&value)
const ResponseMetadata & GetResponseMetadata() const
GetAttributesResult & WithAttributes(const Aws::Vector< Attribute > &value)
void SetAttributes(Aws::Vector< Attribute > &&value)
void SetResponseMetadata(const ResponseMetadata &value)
GetAttributesResult & WithResponseMetadata(ResponseMetadata &&value)
GetAttributesResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_SIMPLEDB_API GetAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_SIMPLEDB_API GetAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< Attribute > & GetAttributes() const
GetAttributesResult & WithAttributes(Aws::Vector< Attribute > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument