AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DomainMetadataResult.h
1
6#pragma once
7#include <aws/sdb/SimpleDB_EXPORTS.h>
8#include <aws/sdb/model/ResponseMetadata.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Xml {
18class XmlDocument;
19} // namespace Xml
20} // namespace Utils
21namespace SimpleDB {
22namespace Model {
24 public:
25 AWS_SIMPLEDB_API DomainMetadataResult() = default;
28
30
33 inline int GetItemCount() const { return m_itemCount; }
34 inline void SetItemCount(int value) {
35 m_itemCountHasBeenSet = true;
36 m_itemCount = value;
37 }
39 SetItemCount(value);
40 return *this;
41 }
43
45
48 inline long long GetItemNamesSizeBytes() const { return m_itemNamesSizeBytes; }
49 inline void SetItemNamesSizeBytes(long long value) {
50 m_itemNamesSizeBytesHasBeenSet = true;
51 m_itemNamesSizeBytes = value;
52 }
55 return *this;
56 }
58
60
63 inline int GetAttributeNameCount() const { return m_attributeNameCount; }
64 inline void SetAttributeNameCount(int value) {
65 m_attributeNameCountHasBeenSet = true;
66 m_attributeNameCount = value;
67 }
70 return *this;
71 }
73
75
78 inline long long GetAttributeNamesSizeBytes() const { return m_attributeNamesSizeBytes; }
79 inline void SetAttributeNamesSizeBytes(long long value) {
80 m_attributeNamesSizeBytesHasBeenSet = true;
81 m_attributeNamesSizeBytes = value;
82 }
85 return *this;
86 }
88
90
93 inline int GetAttributeValueCount() const { return m_attributeValueCount; }
94 inline void SetAttributeValueCount(int value) {
95 m_attributeValueCountHasBeenSet = true;
96 m_attributeValueCount = value;
97 }
100 return *this;
101 }
103
105
108 inline long long GetAttributeValuesSizeBytes() const { return m_attributeValuesSizeBytes; }
109 inline void SetAttributeValuesSizeBytes(long long value) {
110 m_attributeValuesSizeBytesHasBeenSet = true;
111 m_attributeValuesSizeBytes = value;
112 }
115 return *this;
116 }
118
120
123 inline int GetTimestamp() const { return m_timestamp; }
124 inline void SetTimestamp(int value) {
125 m_timestampHasBeenSet = true;
126 m_timestamp = value;
127 }
129 SetTimestamp(value);
130 return *this;
131 }
133
135
136 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
137 template <typename ResponseMetadataT = ResponseMetadata>
138 void SetResponseMetadata(ResponseMetadataT&& value) {
139 m_responseMetadataHasBeenSet = true;
140 m_responseMetadata = std::forward<ResponseMetadataT>(value);
141 }
142 template <typename ResponseMetadataT = ResponseMetadata>
143 DomainMetadataResult& WithResponseMetadata(ResponseMetadataT&& value) {
144 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
145 return *this;
146 }
148 private:
149 int m_itemCount{0};
150
151 long long m_itemNamesSizeBytes{0};
152
153 int m_attributeNameCount{0};
154
155 long long m_attributeNamesSizeBytes{0};
156
157 int m_attributeValueCount{0};
158
159 long long m_attributeValuesSizeBytes{0};
160
161 int m_timestamp{0};
162
163 ResponseMetadata m_responseMetadata;
164 bool m_itemCountHasBeenSet = false;
165 bool m_itemNamesSizeBytesHasBeenSet = false;
166 bool m_attributeNameCountHasBeenSet = false;
167 bool m_attributeNamesSizeBytesHasBeenSet = false;
168 bool m_attributeValueCountHasBeenSet = false;
169 bool m_attributeValuesSizeBytesHasBeenSet = false;
170 bool m_timestampHasBeenSet = false;
171 bool m_responseMetadataHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace SimpleDB
176} // namespace Aws
AWS_SIMPLEDB_API DomainMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DomainMetadataResult & WithAttributeNamesSizeBytes(long long value)
DomainMetadataResult & WithAttributeValuesSizeBytes(long long value)
DomainMetadataResult & WithAttributeValueCount(int value)
AWS_SIMPLEDB_API DomainMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_SIMPLEDB_API DomainMetadataResult()=default
void SetResponseMetadata(ResponseMetadataT &&value)
DomainMetadataResult & WithTimestamp(int value)
DomainMetadataResult & WithAttributeNameCount(int value)
DomainMetadataResult & WithResponseMetadata(ResponseMetadataT &&value)
DomainMetadataResult & WithItemNamesSizeBytes(long long value)
const ResponseMetadata & GetResponseMetadata() const
DomainMetadataResult & WithItemCount(int value)
Aws::Utils::Xml::XmlDocument XmlDocument