AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
41 inline const Aws::Vector<Attribute>& GetAttributes() const { return m_attributes; }
42 template<typename AttributesT = Aws::Vector<Attribute>>
43 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
44 template<typename AttributesT = Aws::Vector<Attribute>>
45 GetAttributesResult& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
46 template<typename AttributesT = Attribute>
47 GetAttributesResult& AddAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes.emplace_back(std::forward<AttributesT>(value)); return *this; }
49
51
52 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
53 template<typename ResponseMetadataT = ResponseMetadata>
54 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
55 template<typename ResponseMetadataT = ResponseMetadata>
56 GetAttributesResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
58 private:
59
60 Aws::Vector<Attribute> m_attributes;
61 bool m_attributesHasBeenSet = false;
62
63 ResponseMetadata m_responseMetadata;
64 bool m_responseMetadataHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace SimpleDB
69} // namespace Aws
void SetResponseMetadata(ResponseMetadataT &&value)
const ResponseMetadata & GetResponseMetadata() const
AWS_SIMPLEDB_API GetAttributesResult()=default
GetAttributesResult & AddAttributes(AttributesT &&value)
AWS_SIMPLEDB_API GetAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetAttributesResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_SIMPLEDB_API GetAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetAttributesResult & WithAttributes(AttributesT &&value)
const Aws::Vector< Attribute > & GetAttributes() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument