AWS SDK for C++  0.12.9
AWS SDK for C++
DomainMetadataResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
18 
19 namespace Aws
20 {
21 template<typename RESULT_TYPE>
22 class AmazonWebServiceResult;
23 
24 namespace Utils
25 {
26 namespace Xml
27 {
28  class XmlDocument;
29 } // namespace Xml
30 } // namespace Utils
31 namespace SimpleDB
32 {
33 namespace Model
34 {
36  {
37  public:
41 
45  inline long GetItemCount() const{ return m_itemCount; }
46 
50  inline void SetItemCount(long value) { m_itemCount = value; }
51 
55  inline DomainMetadataResult& WithItemCount(long value) { SetItemCount(value); return *this;}
56 
60  inline long long GetItemNamesSizeBytes() const{ return m_itemNamesSizeBytes; }
61 
65  inline void SetItemNamesSizeBytes(long long value) { m_itemNamesSizeBytes = value; }
66 
70  inline DomainMetadataResult& WithItemNamesSizeBytes(long long value) { SetItemNamesSizeBytes(value); return *this;}
71 
75  inline long GetAttributeNameCount() const{ return m_attributeNameCount; }
76 
80  inline void SetAttributeNameCount(long value) { m_attributeNameCount = value; }
81 
85  inline DomainMetadataResult& WithAttributeNameCount(long value) { SetAttributeNameCount(value); return *this;}
86 
90  inline long long GetAttributeNamesSizeBytes() const{ return m_attributeNamesSizeBytes; }
91 
95  inline void SetAttributeNamesSizeBytes(long long value) { m_attributeNamesSizeBytes = value; }
96 
100  inline DomainMetadataResult& WithAttributeNamesSizeBytes(long long value) { SetAttributeNamesSizeBytes(value); return *this;}
101 
105  inline long GetAttributeValueCount() const{ return m_attributeValueCount; }
106 
110  inline void SetAttributeValueCount(long value) { m_attributeValueCount = value; }
111 
115  inline DomainMetadataResult& WithAttributeValueCount(long value) { SetAttributeValueCount(value); return *this;}
116 
120  inline long long GetAttributeValuesSizeBytes() const{ return m_attributeValuesSizeBytes; }
121 
125  inline void SetAttributeValuesSizeBytes(long long value) { m_attributeValuesSizeBytes = value; }
126 
130  inline DomainMetadataResult& WithAttributeValuesSizeBytes(long long value) { SetAttributeValuesSizeBytes(value); return *this;}
131 
135  inline long GetTimestamp() const{ return m_timestamp; }
136 
140  inline void SetTimestamp(long value) { m_timestamp = value; }
141 
145  inline DomainMetadataResult& WithTimestamp(long value) { SetTimestamp(value); return *this;}
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 = value; }
155 
156 
157  inline DomainMetadataResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
158 
159 
160  inline DomainMetadataResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
161 
162  private:
163  long m_itemCount;
164  long long m_itemNamesSizeBytes;
165  long m_attributeNameCount;
166  long long m_attributeNamesSizeBytes;
167  long m_attributeValueCount;
168  long long m_attributeValuesSizeBytes;
169  long m_timestamp;
170  ResponseMetadata m_responseMetadata;
171  };
172 
173 } // namespace Model
174 } // namespace SimpleDB
175 } // namespace Aws
DomainMetadataResult & WithResponseMetadata(ResponseMetadata &&value)
DomainMetadataResult & WithAttributeNameCount(long value)
DomainMetadataResult & WithResponseMetadata(const ResponseMetadata &value)
DomainMetadataResult & WithAttributeNamesSizeBytes(long long value)
DomainMetadataResult & WithAttributeValueCount(long value)
#define AWS_SIMPLEDB_API
const ResponseMetadata & GetResponseMetadata() const
void SetResponseMetadata(const ResponseMetadata &value)
DomainMetadataResult & WithItemCount(long value)
DomainMetadataResult & WithItemNamesSizeBytes(long long value)
DomainMetadataResult & WithAttributeValuesSizeBytes(long long value)
void SetResponseMetadata(ResponseMetadata &&value)
JSON (JavaScript Object Notation).
DomainMetadataResult & WithTimestamp(long value)