AWS SDK for C++  1.9.104
AWS SDK for C++
DomainMetadataResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace SimpleDB
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline int GetItemCount() const{ return m_itemCount; }
39 
43  inline void SetItemCount(int value) { m_itemCount = value; }
44 
48  inline DomainMetadataResult& WithItemCount(int value) { SetItemCount(value); return *this;}
49 
50 
54  inline long long GetItemNamesSizeBytes() const{ return m_itemNamesSizeBytes; }
55 
59  inline void SetItemNamesSizeBytes(long long value) { m_itemNamesSizeBytes = value; }
60 
64  inline DomainMetadataResult& WithItemNamesSizeBytes(long long value) { SetItemNamesSizeBytes(value); return *this;}
65 
66 
70  inline int GetAttributeNameCount() const{ return m_attributeNameCount; }
71 
75  inline void SetAttributeNameCount(int value) { m_attributeNameCount = value; }
76 
80  inline DomainMetadataResult& WithAttributeNameCount(int value) { SetAttributeNameCount(value); return *this;}
81 
82 
86  inline long long GetAttributeNamesSizeBytes() const{ return m_attributeNamesSizeBytes; }
87 
91  inline void SetAttributeNamesSizeBytes(long long value) { m_attributeNamesSizeBytes = value; }
92 
96  inline DomainMetadataResult& WithAttributeNamesSizeBytes(long long value) { SetAttributeNamesSizeBytes(value); return *this;}
97 
98 
102  inline int GetAttributeValueCount() const{ return m_attributeValueCount; }
103 
107  inline void SetAttributeValueCount(int value) { m_attributeValueCount = value; }
108 
112  inline DomainMetadataResult& WithAttributeValueCount(int value) { SetAttributeValueCount(value); return *this;}
113 
114 
118  inline long long GetAttributeValuesSizeBytes() const{ return m_attributeValuesSizeBytes; }
119 
123  inline void SetAttributeValuesSizeBytes(long long value) { m_attributeValuesSizeBytes = value; }
124 
128  inline DomainMetadataResult& WithAttributeValuesSizeBytes(long long value) { SetAttributeValuesSizeBytes(value); return *this;}
129 
130 
134  inline int GetTimestamp() const{ return m_timestamp; }
135 
139  inline void SetTimestamp(int value) { m_timestamp = value; }
140 
144  inline DomainMetadataResult& WithTimestamp(int value) { SetTimestamp(value); return *this;}
145 
146 
147 
148  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
149 
150 
151  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
152 
153 
154  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
155 
156 
157  inline DomainMetadataResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
158 
159 
160  inline DomainMetadataResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
161 
162  private:
163 
164  int m_itemCount;
165 
166  long long m_itemNamesSizeBytes;
167 
168  int m_attributeNameCount;
169 
170  long long m_attributeNamesSizeBytes;
171 
172  int m_attributeValueCount;
173 
174  long long m_attributeValuesSizeBytes;
175 
176  int m_timestamp;
177 
178  ResponseMetadata m_responseMetadata;
179  };
180 
181 } // namespace Model
182 } // namespace SimpleDB
183 } // namespace Aws
Aws::SimpleDB::Model::DomainMetadataResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DomainMetadataResult.h:148
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SimpleDB::Model::DomainMetadataResult::WithTimestamp
DomainMetadataResult & WithTimestamp(int value)
Definition: DomainMetadataResult.h:144
Aws::SimpleDB::Model::DomainMetadataResult::DomainMetadataResult
DomainMetadataResult()
Aws::SimpleDB::Model::DomainMetadataResult::SetAttributeNamesSizeBytes
void SetAttributeNamesSizeBytes(long long value)
Definition: DomainMetadataResult.h:91
Aws::SimpleDB::Model::DomainMetadataResult::GetAttributeValueCount
int GetAttributeValueCount() const
Definition: DomainMetadataResult.h:102
Aws::SimpleDB::Model::DomainMetadataResult::WithItemNamesSizeBytes
DomainMetadataResult & WithItemNamesSizeBytes(long long value)
Definition: DomainMetadataResult.h:64
Aws::SimpleDB::Model::DomainMetadataResult::SetTimestamp
void SetTimestamp(int value)
Definition: DomainMetadataResult.h:139
Aws::SimpleDB::Model::DomainMetadataResult::WithResponseMetadata
DomainMetadataResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DomainMetadataResult.h:157
Aws::SimpleDB::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SimpleDB::Model::DomainMetadataResult::GetAttributeNameCount
int GetAttributeNameCount() const
Definition: DomainMetadataResult.h:70
Aws::SimpleDB::Model::DomainMetadataResult::SetItemCount
void SetItemCount(int value)
Definition: DomainMetadataResult.h:43
Aws::SimpleDB::Model::DomainMetadataResult::WithAttributeNameCount
DomainMetadataResult & WithAttributeNameCount(int value)
Definition: DomainMetadataResult.h:80
Aws::SimpleDB::Model::DomainMetadataResult::SetAttributeNameCount
void SetAttributeNameCount(int value)
Definition: DomainMetadataResult.h:75
Aws::SimpleDB::Model::DomainMetadataResult::GetAttributeValuesSizeBytes
long long GetAttributeValuesSizeBytes() const
Definition: DomainMetadataResult.h:118
Aws::SimpleDB::Model::DomainMetadataResult::operator=
DomainMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SimpleDB::Model::DomainMetadataResult::WithAttributeValuesSizeBytes
DomainMetadataResult & WithAttributeValuesSizeBytes(long long value)
Definition: DomainMetadataResult.h:128
Aws::SimpleDB::Model::DomainMetadataResult
Definition: DomainMetadataResult.h:28
Aws::SimpleDB::Model::DomainMetadataResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DomainMetadataResult.h:154
Aws::SimpleDB::Model::DomainMetadataResult::WithResponseMetadata
DomainMetadataResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DomainMetadataResult.h:160
Aws::SimpleDB::Model::DomainMetadataResult::SetAttributeValueCount
void SetAttributeValueCount(int value)
Definition: DomainMetadataResult.h:107
Aws::SimpleDB::Model::DomainMetadataResult::SetAttributeValuesSizeBytes
void SetAttributeValuesSizeBytes(long long value)
Definition: DomainMetadataResult.h:123
Aws::SimpleDB::Model::DomainMetadataResult::WithAttributeValueCount
DomainMetadataResult & WithAttributeValueCount(int value)
Definition: DomainMetadataResult.h:112
Aws::SimpleDB::Model::DomainMetadataResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DomainMetadataResult.h:151
ResponseMetadata.h
Aws::SimpleDB::Model::DomainMetadataResult::DomainMetadataResult
DomainMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::SimpleDB::Model::DomainMetadataResult::WithAttributeNamesSizeBytes
DomainMetadataResult & WithAttributeNamesSizeBytes(long long value)
Definition: DomainMetadataResult.h:96
Aws::SimpleDB::Model::DomainMetadataResult::GetAttributeNamesSizeBytes
long long GetAttributeNamesSizeBytes() const
Definition: DomainMetadataResult.h:86
AWS_SIMPLEDB_API
#define AWS_SIMPLEDB_API
Definition: SimpleDB_EXPORTS.h:28
SimpleDB_EXPORTS.h
Aws::SimpleDB::Model::DomainMetadataResult::WithItemCount
DomainMetadataResult & WithItemCount(int value)
Definition: DomainMetadataResult.h:48
Aws::SimpleDB::Model::DomainMetadataResult::SetItemNamesSizeBytes
void SetItemNamesSizeBytes(long long value)
Definition: DomainMetadataResult.h:59
Aws::SimpleDB::Model::DomainMetadataResult::GetItemCount
int GetItemCount() const
Definition: DomainMetadataResult.h:38
Aws::SimpleDB::Model::DomainMetadataResult::GetItemNamesSizeBytes
long long GetItemNamesSizeBytes() const
Definition: DomainMetadataResult.h:54
Aws::SimpleDB::Model::DomainMetadataResult::GetTimestamp
int GetTimestamp() const
Definition: DomainMetadataResult.h:134