AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeVaultResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/Glacier_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Glacier {
22namespace Model {
30 public:
31 AWS_GLACIER_API DescribeVaultResult() = default;
34
36
39 inline const Aws::String& GetVaultARN() const { return m_vaultARN; }
40 template <typename VaultARNT = Aws::String>
41 void SetVaultARN(VaultARNT&& value) {
42 m_vaultARNHasBeenSet = true;
43 m_vaultARN = std::forward<VaultARNT>(value);
44 }
45 template <typename VaultARNT = Aws::String>
46 DescribeVaultResult& WithVaultARN(VaultARNT&& value) {
47 SetVaultARN(std::forward<VaultARNT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetVaultName() const { return m_vaultName; }
57 template <typename VaultNameT = Aws::String>
58 void SetVaultName(VaultNameT&& value) {
59 m_vaultNameHasBeenSet = true;
60 m_vaultName = std::forward<VaultNameT>(value);
61 }
62 template <typename VaultNameT = Aws::String>
63 DescribeVaultResult& WithVaultName(VaultNameT&& value) {
64 SetVaultName(std::forward<VaultNameT>(value));
65 return *this;
66 }
68
70
75 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
76 template <typename CreationDateT = Aws::String>
77 void SetCreationDate(CreationDateT&& value) {
78 m_creationDateHasBeenSet = true;
79 m_creationDate = std::forward<CreationDateT>(value);
80 }
81 template <typename CreationDateT = Aws::String>
82 DescribeVaultResult& WithCreationDate(CreationDateT&& value) {
83 SetCreationDate(std::forward<CreationDateT>(value));
84 return *this;
85 }
87
89
94 inline const Aws::String& GetLastInventoryDate() const { return m_lastInventoryDate; }
95 template <typename LastInventoryDateT = Aws::String>
96 void SetLastInventoryDate(LastInventoryDateT&& value) {
97 m_lastInventoryDateHasBeenSet = true;
98 m_lastInventoryDate = std::forward<LastInventoryDateT>(value);
99 }
100 template <typename LastInventoryDateT = Aws::String>
101 DescribeVaultResult& WithLastInventoryDate(LastInventoryDateT&& value) {
102 SetLastInventoryDate(std::forward<LastInventoryDateT>(value));
103 return *this;
104 }
106
108
113 inline long long GetNumberOfArchives() const { return m_numberOfArchives; }
114 inline void SetNumberOfArchives(long long value) {
115 m_numberOfArchivesHasBeenSet = true;
116 m_numberOfArchives = value;
117 }
118 inline DescribeVaultResult& WithNumberOfArchives(long long value) {
119 SetNumberOfArchives(value);
120 return *this;
121 }
123
125
130 inline long long GetSizeInBytes() const { return m_sizeInBytes; }
131 inline void SetSizeInBytes(long long value) {
132 m_sizeInBytesHasBeenSet = true;
133 m_sizeInBytes = value;
134 }
135 inline DescribeVaultResult& WithSizeInBytes(long long value) {
136 SetSizeInBytes(value);
137 return *this;
138 }
140
142
143 inline const Aws::String& GetRequestId() const { return m_requestId; }
144 template <typename RequestIdT = Aws::String>
145 void SetRequestId(RequestIdT&& value) {
146 m_requestIdHasBeenSet = true;
147 m_requestId = std::forward<RequestIdT>(value);
148 }
149 template <typename RequestIdT = Aws::String>
150 DescribeVaultResult& WithRequestId(RequestIdT&& value) {
151 SetRequestId(std::forward<RequestIdT>(value));
152 return *this;
153 }
155 private:
156 Aws::String m_vaultARN;
157
158 Aws::String m_vaultName;
159
160 Aws::String m_creationDate;
161
162 Aws::String m_lastInventoryDate;
163
164 long long m_numberOfArchives{0};
165
166 long long m_sizeInBytes{0};
167
168 Aws::String m_requestId;
169 bool m_vaultARNHasBeenSet = false;
170 bool m_vaultNameHasBeenSet = false;
171 bool m_creationDateHasBeenSet = false;
172 bool m_lastInventoryDateHasBeenSet = false;
173 bool m_numberOfArchivesHasBeenSet = false;
174 bool m_sizeInBytesHasBeenSet = false;
175 bool m_requestIdHasBeenSet = false;
176};
177
178} // namespace Model
179} // namespace Glacier
180} // namespace Aws
AWS_GLACIER_API DescribeVaultResult()=default
AWS_GLACIER_API DescribeVaultResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeVaultResult & WithCreationDate(CreationDateT &&value)
DescribeVaultResult & WithRequestId(RequestIdT &&value)
AWS_GLACIER_API DescribeVaultResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetCreationDate() const
DescribeVaultResult & WithNumberOfArchives(long long value)
void SetLastInventoryDate(LastInventoryDateT &&value)
void SetCreationDate(CreationDateT &&value)
const Aws::String & GetLastInventoryDate() const
DescribeVaultResult & WithVaultName(VaultNameT &&value)
DescribeVaultResult & WithVaultARN(VaultARNT &&value)
DescribeVaultResult & WithLastInventoryDate(LastInventoryDateT &&value)
DescribeVaultResult & WithSizeInBytes(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue