AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DomainMetadataResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/sdb/SimpleDB_EXPORTS.h>
9#include <aws/sdb/model/ResponseMetadata.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace SimpleDB {
23namespace Model {
25 public:
26 AWS_SIMPLEDB_API DomainMetadataResult() = default;
29
31
34 inline int GetItemCount() const { return m_itemCount; }
35 inline void SetItemCount(int value) {
36 m_itemCountHasBeenSet = true;
37 m_itemCount = value;
38 }
40 SetItemCount(value);
41 return *this;
42 }
44
46
49 inline long long GetItemNamesSizeBytes() const { return m_itemNamesSizeBytes; }
50 inline void SetItemNamesSizeBytes(long long value) {
51 m_itemNamesSizeBytesHasBeenSet = true;
52 m_itemNamesSizeBytes = value;
53 }
56 return *this;
57 }
59
61
64 inline int GetAttributeNameCount() const { return m_attributeNameCount; }
65 inline void SetAttributeNameCount(int value) {
66 m_attributeNameCountHasBeenSet = true;
67 m_attributeNameCount = value;
68 }
71 return *this;
72 }
74
76
79 inline long long GetAttributeNamesSizeBytes() const { return m_attributeNamesSizeBytes; }
80 inline void SetAttributeNamesSizeBytes(long long value) {
81 m_attributeNamesSizeBytesHasBeenSet = true;
82 m_attributeNamesSizeBytes = value;
83 }
86 return *this;
87 }
89
91
94 inline int GetAttributeValueCount() const { return m_attributeValueCount; }
95 inline void SetAttributeValueCount(int value) {
96 m_attributeValueCountHasBeenSet = true;
97 m_attributeValueCount = value;
98 }
101 return *this;
102 }
104
106
109 inline long long GetAttributeValuesSizeBytes() const { return m_attributeValuesSizeBytes; }
110 inline void SetAttributeValuesSizeBytes(long long value) {
111 m_attributeValuesSizeBytesHasBeenSet = true;
112 m_attributeValuesSizeBytes = value;
113 }
116 return *this;
117 }
119
121
124 inline int GetTimestamp() const { return m_timestamp; }
125 inline void SetTimestamp(int value) {
126 m_timestampHasBeenSet = true;
127 m_timestamp = value;
128 }
130 SetTimestamp(value);
131 return *this;
132 }
134
136
137 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
138 template <typename ResponseMetadataT = ResponseMetadata>
139 void SetResponseMetadata(ResponseMetadataT&& value) {
140 m_responseMetadataHasBeenSet = true;
141 m_responseMetadata = std::forward<ResponseMetadataT>(value);
142 }
143 template <typename ResponseMetadataT = ResponseMetadata>
144 DomainMetadataResult& WithResponseMetadata(ResponseMetadataT&& value) {
145 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
146 return *this;
147 }
149 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
150
151 private:
152 int m_itemCount{0};
153
154 long long m_itemNamesSizeBytes{0};
155
156 int m_attributeNameCount{0};
157
158 long long m_attributeNamesSizeBytes{0};
159
160 int m_attributeValueCount{0};
161
162 long long m_attributeValuesSizeBytes{0};
163
164 int m_timestamp{0};
165
166 ResponseMetadata m_responseMetadata;
167 Aws::Http::HttpResponseCode m_HttpResponseCode;
168 bool m_itemCountHasBeenSet = false;
169 bool m_itemNamesSizeBytesHasBeenSet = false;
170 bool m_attributeNameCountHasBeenSet = false;
171 bool m_attributeNamesSizeBytesHasBeenSet = false;
172 bool m_attributeValueCountHasBeenSet = false;
173 bool m_attributeValuesSizeBytesHasBeenSet = false;
174 bool m_timestampHasBeenSet = false;
175 bool m_responseMetadataHasBeenSet = false;
176};
177
178} // namespace Model
179} // namespace SimpleDB
180} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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