AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Xml
19{
20 class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace SimpleDB
24{
25namespace Model
26{
28 {
29 public:
30 AWS_SIMPLEDB_API DomainMetadataResult() = default;
33
34
36
39 inline int GetItemCount() const { return m_itemCount; }
40 inline void SetItemCount(int value) { m_itemCountHasBeenSet = true; m_itemCount = value; }
41 inline DomainMetadataResult& WithItemCount(int value) { SetItemCount(value); return *this;}
43
45
48 inline long long GetItemNamesSizeBytes() const { return m_itemNamesSizeBytes; }
49 inline void SetItemNamesSizeBytes(long long value) { m_itemNamesSizeBytesHasBeenSet = true; m_itemNamesSizeBytes = value; }
50 inline DomainMetadataResult& WithItemNamesSizeBytes(long long value) { SetItemNamesSizeBytes(value); return *this;}
52
54
57 inline int GetAttributeNameCount() const { return m_attributeNameCount; }
58 inline void SetAttributeNameCount(int value) { m_attributeNameCountHasBeenSet = true; m_attributeNameCount = value; }
59 inline DomainMetadataResult& WithAttributeNameCount(int value) { SetAttributeNameCount(value); return *this;}
61
63
66 inline long long GetAttributeNamesSizeBytes() const { return m_attributeNamesSizeBytes; }
67 inline void SetAttributeNamesSizeBytes(long long value) { m_attributeNamesSizeBytesHasBeenSet = true; m_attributeNamesSizeBytes = value; }
68 inline DomainMetadataResult& WithAttributeNamesSizeBytes(long long value) { SetAttributeNamesSizeBytes(value); return *this;}
70
72
75 inline int GetAttributeValueCount() const { return m_attributeValueCount; }
76 inline void SetAttributeValueCount(int value) { m_attributeValueCountHasBeenSet = true; m_attributeValueCount = value; }
77 inline DomainMetadataResult& WithAttributeValueCount(int value) { SetAttributeValueCount(value); return *this;}
79
81
84 inline long long GetAttributeValuesSizeBytes() const { return m_attributeValuesSizeBytes; }
85 inline void SetAttributeValuesSizeBytes(long long value) { m_attributeValuesSizeBytesHasBeenSet = true; m_attributeValuesSizeBytes = value; }
86 inline DomainMetadataResult& WithAttributeValuesSizeBytes(long long value) { SetAttributeValuesSizeBytes(value); return *this;}
88
90
93 inline int GetTimestamp() const { return m_timestamp; }
94 inline void SetTimestamp(int value) { m_timestampHasBeenSet = true; m_timestamp = value; }
95 inline DomainMetadataResult& WithTimestamp(int value) { SetTimestamp(value); return *this;}
97
99
100 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
101 template<typename ResponseMetadataT = ResponseMetadata>
102 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
103 template<typename ResponseMetadataT = ResponseMetadata>
104 DomainMetadataResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
106 private:
107
108 int m_itemCount{0};
109 bool m_itemCountHasBeenSet = false;
110
111 long long m_itemNamesSizeBytes{0};
112 bool m_itemNamesSizeBytesHasBeenSet = false;
113
114 int m_attributeNameCount{0};
115 bool m_attributeNameCountHasBeenSet = false;
116
117 long long m_attributeNamesSizeBytes{0};
118 bool m_attributeNamesSizeBytesHasBeenSet = false;
119
120 int m_attributeValueCount{0};
121 bool m_attributeValueCountHasBeenSet = false;
122
123 long long m_attributeValuesSizeBytes{0};
124 bool m_attributeValuesSizeBytesHasBeenSet = false;
125
126 int m_timestamp{0};
127 bool m_timestampHasBeenSet = false;
128
129 ResponseMetadata m_responseMetadata;
130 bool m_responseMetadataHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace SimpleDB
135} // 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