AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeVaultOutput.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 {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glacier {
20namespace Model {
21
29 public:
30 AWS_GLACIER_API DescribeVaultOutput() = default;
33 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetVaultARN() const { return m_vaultARN; }
40 inline bool VaultARNHasBeenSet() const { return m_vaultARNHasBeenSet; }
41 template <typename VaultARNT = Aws::String>
42 void SetVaultARN(VaultARNT&& value) {
43 m_vaultARNHasBeenSet = true;
44 m_vaultARN = std::forward<VaultARNT>(value);
45 }
46 template <typename VaultARNT = Aws::String>
47 DescribeVaultOutput& WithVaultARN(VaultARNT&& value) {
48 SetVaultARN(std::forward<VaultARNT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetVaultName() const { return m_vaultName; }
58 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
59 template <typename VaultNameT = Aws::String>
60 void SetVaultName(VaultNameT&& value) {
61 m_vaultNameHasBeenSet = true;
62 m_vaultName = std::forward<VaultNameT>(value);
63 }
64 template <typename VaultNameT = Aws::String>
65 DescribeVaultOutput& WithVaultName(VaultNameT&& value) {
66 SetVaultName(std::forward<VaultNameT>(value));
67 return *this;
68 }
70
72
77 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
78 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
79 template <typename CreationDateT = Aws::String>
80 void SetCreationDate(CreationDateT&& value) {
81 m_creationDateHasBeenSet = true;
82 m_creationDate = std::forward<CreationDateT>(value);
83 }
84 template <typename CreationDateT = Aws::String>
85 DescribeVaultOutput& WithCreationDate(CreationDateT&& value) {
86 SetCreationDate(std::forward<CreationDateT>(value));
87 return *this;
88 }
90
92
97 inline const Aws::String& GetLastInventoryDate() const { return m_lastInventoryDate; }
98 inline bool LastInventoryDateHasBeenSet() const { return m_lastInventoryDateHasBeenSet; }
99 template <typename LastInventoryDateT = Aws::String>
100 void SetLastInventoryDate(LastInventoryDateT&& value) {
101 m_lastInventoryDateHasBeenSet = true;
102 m_lastInventoryDate = std::forward<LastInventoryDateT>(value);
103 }
104 template <typename LastInventoryDateT = Aws::String>
105 DescribeVaultOutput& WithLastInventoryDate(LastInventoryDateT&& value) {
106 SetLastInventoryDate(std::forward<LastInventoryDateT>(value));
107 return *this;
108 }
110
112
117 inline long long GetNumberOfArchives() const { return m_numberOfArchives; }
118 inline bool NumberOfArchivesHasBeenSet() const { return m_numberOfArchivesHasBeenSet; }
119 inline void SetNumberOfArchives(long long value) {
120 m_numberOfArchivesHasBeenSet = true;
121 m_numberOfArchives = value;
122 }
123 inline DescribeVaultOutput& WithNumberOfArchives(long long value) {
124 SetNumberOfArchives(value);
125 return *this;
126 }
128
130
135 inline long long GetSizeInBytes() const { return m_sizeInBytes; }
136 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
137 inline void SetSizeInBytes(long long value) {
138 m_sizeInBytesHasBeenSet = true;
139 m_sizeInBytes = value;
140 }
141 inline DescribeVaultOutput& WithSizeInBytes(long long value) {
142 SetSizeInBytes(value);
143 return *this;
144 }
146
148
149 inline const Aws::String& GetRequestId() const { return m_requestId; }
150 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
151 template <typename RequestIdT = Aws::String>
152 void SetRequestId(RequestIdT&& value) {
153 m_requestIdHasBeenSet = true;
154 m_requestId = std::forward<RequestIdT>(value);
155 }
156 template <typename RequestIdT = Aws::String>
157 DescribeVaultOutput& WithRequestId(RequestIdT&& value) {
158 SetRequestId(std::forward<RequestIdT>(value));
159 return *this;
160 }
162 private:
163 Aws::String m_vaultARN;
164
165 Aws::String m_vaultName;
166
167 Aws::String m_creationDate;
168
169 Aws::String m_lastInventoryDate;
170
171 long long m_numberOfArchives{0};
172
173 long long m_sizeInBytes{0};
174
175 Aws::String m_requestId;
176 bool m_vaultARNHasBeenSet = false;
177 bool m_vaultNameHasBeenSet = false;
178 bool m_creationDateHasBeenSet = false;
179 bool m_lastInventoryDateHasBeenSet = false;
180 bool m_numberOfArchivesHasBeenSet = false;
181 bool m_sizeInBytesHasBeenSet = false;
182 bool m_requestIdHasBeenSet = false;
183};
184
185} // namespace Model
186} // namespace Glacier
187} // namespace Aws
DescribeVaultOutput & WithNumberOfArchives(long long value)
DescribeVaultOutput & WithRequestId(RequestIdT &&value)
DescribeVaultOutput & WithVaultName(VaultNameT &&value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationDate(CreationDateT &&value)
AWS_GLACIER_API DescribeVaultOutput(Aws::Utils::Json::JsonView jsonValue)
DescribeVaultOutput & WithLastInventoryDate(LastInventoryDateT &&value)
AWS_GLACIER_API DescribeVaultOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLastInventoryDate() const
DescribeVaultOutput & WithVaultARN(VaultARNT &&value)
const Aws::String & GetCreationDate() const
DescribeVaultOutput & WithCreationDate(CreationDateT &&value)
DescribeVaultOutput & WithSizeInBytes(long long value)
void SetLastInventoryDate(LastInventoryDateT &&value)
AWS_GLACIER_API DescribeVaultOutput()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue