AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeVaultOutput.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Glacier
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetVaultARN() const{ return m_vaultARN; }
45 
49  inline bool VaultARNHasBeenSet() const { return m_vaultARNHasBeenSet; }
50 
54  inline void SetVaultARN(const Aws::String& value) { m_vaultARNHasBeenSet = true; m_vaultARN = value; }
55 
59  inline void SetVaultARN(Aws::String&& value) { m_vaultARNHasBeenSet = true; m_vaultARN = std::move(value); }
60 
64  inline void SetVaultARN(const char* value) { m_vaultARNHasBeenSet = true; m_vaultARN.assign(value); }
65 
69  inline DescribeVaultOutput& WithVaultARN(const Aws::String& value) { SetVaultARN(value); return *this;}
70 
74  inline DescribeVaultOutput& WithVaultARN(Aws::String&& value) { SetVaultARN(std::move(value)); return *this;}
75 
79  inline DescribeVaultOutput& WithVaultARN(const char* value) { SetVaultARN(value); return *this;}
80 
81 
85  inline const Aws::String& GetVaultName() const{ return m_vaultName; }
86 
90  inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
91 
95  inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
96 
100  inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
101 
105  inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
106 
110  inline DescribeVaultOutput& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
111 
115  inline DescribeVaultOutput& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
116 
120  inline DescribeVaultOutput& WithVaultName(const char* value) { SetVaultName(value); return *this;}
121 
122 
128  inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
129 
135  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
136 
142  inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
143 
149  inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
150 
156  inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
157 
163  inline DescribeVaultOutput& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
164 
170  inline DescribeVaultOutput& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
171 
177  inline DescribeVaultOutput& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
178 
179 
185  inline const Aws::String& GetLastInventoryDate() const{ return m_lastInventoryDate; }
186 
192  inline bool LastInventoryDateHasBeenSet() const { return m_lastInventoryDateHasBeenSet; }
193 
199  inline void SetLastInventoryDate(const Aws::String& value) { m_lastInventoryDateHasBeenSet = true; m_lastInventoryDate = value; }
200 
206  inline void SetLastInventoryDate(Aws::String&& value) { m_lastInventoryDateHasBeenSet = true; m_lastInventoryDate = std::move(value); }
207 
213  inline void SetLastInventoryDate(const char* value) { m_lastInventoryDateHasBeenSet = true; m_lastInventoryDate.assign(value); }
214 
220  inline DescribeVaultOutput& WithLastInventoryDate(const Aws::String& value) { SetLastInventoryDate(value); return *this;}
221 
227  inline DescribeVaultOutput& WithLastInventoryDate(Aws::String&& value) { SetLastInventoryDate(std::move(value)); return *this;}
228 
234  inline DescribeVaultOutput& WithLastInventoryDate(const char* value) { SetLastInventoryDate(value); return *this;}
235 
236 
242  inline long long GetNumberOfArchives() const{ return m_numberOfArchives; }
243 
249  inline bool NumberOfArchivesHasBeenSet() const { return m_numberOfArchivesHasBeenSet; }
250 
256  inline void SetNumberOfArchives(long long value) { m_numberOfArchivesHasBeenSet = true; m_numberOfArchives = value; }
257 
263  inline DescribeVaultOutput& WithNumberOfArchives(long long value) { SetNumberOfArchives(value); return *this;}
264 
265 
271  inline long long GetSizeInBytes() const{ return m_sizeInBytes; }
272 
278  inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
279 
285  inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
286 
292  inline DescribeVaultOutput& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
293 
294  private:
295 
296  Aws::String m_vaultARN;
297  bool m_vaultARNHasBeenSet;
298 
299  Aws::String m_vaultName;
300  bool m_vaultNameHasBeenSet;
301 
302  Aws::String m_creationDate;
303  bool m_creationDateHasBeenSet;
304 
305  Aws::String m_lastInventoryDate;
306  bool m_lastInventoryDateHasBeenSet;
307 
308  long long m_numberOfArchives;
309  bool m_numberOfArchivesHasBeenSet;
310 
311  long long m_sizeInBytes;
312  bool m_sizeInBytesHasBeenSet;
313  };
314 
315 } // namespace Model
316 } // namespace Glacier
317 } // namespace Aws
Aws::Glacier::Model::DescribeVaultOutput::WithLastInventoryDate
DescribeVaultOutput & WithLastInventoryDate(const char *value)
Definition: DescribeVaultOutput.h:234
Aws::Glacier::Model::DescribeVaultOutput::SetVaultARN
void SetVaultARN(const char *value)
Definition: DescribeVaultOutput.h:64
Aws::Glacier::Model::DescribeVaultOutput::SetLastInventoryDate
void SetLastInventoryDate(const char *value)
Definition: DescribeVaultOutput.h:213
Aws::Glacier::Model::DescribeVaultOutput::GetVaultARN
const Aws::String & GetVaultARN() const
Definition: DescribeVaultOutput.h:44
Aws::Glacier::Model::DescribeVaultOutput::SetCreationDate
void SetCreationDate(const char *value)
Definition: DescribeVaultOutput.h:156
Aws::Glacier::Model::DescribeVaultOutput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Glacier::Model::DescribeVaultOutput::GetCreationDate
const Aws::String & GetCreationDate() const
Definition: DescribeVaultOutput.h:128
Aws::Glacier::Model::DescribeVaultOutput::SetSizeInBytes
void SetSizeInBytes(long long value)
Definition: DescribeVaultOutput.h:285
Aws::Glacier::Model::DescribeVaultOutput::SetNumberOfArchives
void SetNumberOfArchives(long long value)
Definition: DescribeVaultOutput.h:256
Aws::Glacier::Model::DescribeVaultOutput::GetLastInventoryDate
const Aws::String & GetLastInventoryDate() const
Definition: DescribeVaultOutput.h:185
Aws::Glacier::Model::DescribeVaultOutput::SetVaultName
void SetVaultName(const char *value)
Definition: DescribeVaultOutput.h:105
Aws::Glacier::Model::DescribeVaultOutput::SetLastInventoryDate
void SetLastInventoryDate(const Aws::String &value)
Definition: DescribeVaultOutput.h:199
Aws::Glacier::Model::DescribeVaultOutput::NumberOfArchivesHasBeenSet
bool NumberOfArchivesHasBeenSet() const
Definition: DescribeVaultOutput.h:249
Aws::Glacier::Model::DescribeVaultOutput::SetCreationDate
void SetCreationDate(const Aws::String &value)
Definition: DescribeVaultOutput.h:142
Aws::Glacier::Model::DescribeVaultOutput::SetVaultName
void SetVaultName(const Aws::String &value)
Definition: DescribeVaultOutput.h:95
Aws::Glacier::Model::DescribeVaultOutput::WithVaultARN
DescribeVaultOutput & WithVaultARN(const Aws::String &value)
Definition: DescribeVaultOutput.h:69
Aws::Glacier::Model::DescribeVaultOutput::WithCreationDate
DescribeVaultOutput & WithCreationDate(Aws::String &&value)
Definition: DescribeVaultOutput.h:170
Aws::Glacier::Model::DescribeVaultOutput::WithVaultARN
DescribeVaultOutput & WithVaultARN(const char *value)
Definition: DescribeVaultOutput.h:79
Aws::Glacier::Model::DescribeVaultOutput::DescribeVaultOutput
DescribeVaultOutput()
Aws::Glacier::Model::DescribeVaultOutput::operator=
DescribeVaultOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::DescribeVaultOutput::WithVaultName
DescribeVaultOutput & WithVaultName(const Aws::String &value)
Definition: DescribeVaultOutput.h:110
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::DescribeVaultOutput::WithVaultARN
DescribeVaultOutput & WithVaultARN(Aws::String &&value)
Definition: DescribeVaultOutput.h:74
Aws::Glacier::Model::DescribeVaultOutput::GetSizeInBytes
long long GetSizeInBytes() const
Definition: DescribeVaultOutput.h:271
Aws::Glacier::Model::DescribeVaultOutput::SetVaultARN
void SetVaultARN(const Aws::String &value)
Definition: DescribeVaultOutput.h:54
Aws::Glacier::Model::DescribeVaultOutput::VaultARNHasBeenSet
bool VaultARNHasBeenSet() const
Definition: DescribeVaultOutput.h:49
Aws::Glacier::Model::DescribeVaultOutput
Definition: DescribeVaultOutput.h:33
Aws::Glacier::Model::DescribeVaultOutput::GetVaultName
const Aws::String & GetVaultName() const
Definition: DescribeVaultOutput.h:85
Aws::Glacier::Model::DescribeVaultOutput::SetLastInventoryDate
void SetLastInventoryDate(Aws::String &&value)
Definition: DescribeVaultOutput.h:206
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Glacier::Model::DescribeVaultOutput::WithLastInventoryDate
DescribeVaultOutput & WithLastInventoryDate(const Aws::String &value)
Definition: DescribeVaultOutput.h:220
Aws::Glacier::Model::DescribeVaultOutput::WithLastInventoryDate
DescribeVaultOutput & WithLastInventoryDate(Aws::String &&value)
Definition: DescribeVaultOutput.h:227
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::DescribeVaultOutput::WithCreationDate
DescribeVaultOutput & WithCreationDate(const Aws::String &value)
Definition: DescribeVaultOutput.h:163
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::DescribeVaultOutput::SetCreationDate
void SetCreationDate(Aws::String &&value)
Definition: DescribeVaultOutput.h:149
Aws::Glacier::Model::DescribeVaultOutput::WithVaultName
DescribeVaultOutput & WithVaultName(const char *value)
Definition: DescribeVaultOutput.h:120
Aws::Glacier::Model::DescribeVaultOutput::WithSizeInBytes
DescribeVaultOutput & WithSizeInBytes(long long value)
Definition: DescribeVaultOutput.h:292
Aws::Glacier::Model::DescribeVaultOutput::WithVaultName
DescribeVaultOutput & WithVaultName(Aws::String &&value)
Definition: DescribeVaultOutput.h:115
Aws::Glacier::Model::DescribeVaultOutput::SetVaultName
void SetVaultName(Aws::String &&value)
Definition: DescribeVaultOutput.h:100
Aws::Glacier::Model::DescribeVaultOutput::SizeInBytesHasBeenSet
bool SizeInBytesHasBeenSet() const
Definition: DescribeVaultOutput.h:278
Aws::Glacier::Model::DescribeVaultOutput::VaultNameHasBeenSet
bool VaultNameHasBeenSet() const
Definition: DescribeVaultOutput.h:90
Aws::Glacier::Model::DescribeVaultOutput::LastInventoryDateHasBeenSet
bool LastInventoryDateHasBeenSet() const
Definition: DescribeVaultOutput.h:192
Aws::Glacier::Model::DescribeVaultOutput::WithCreationDate
DescribeVaultOutput & WithCreationDate(const char *value)
Definition: DescribeVaultOutput.h:177
Aws::Glacier::Model::DescribeVaultOutput::GetNumberOfArchives
long long GetNumberOfArchives() const
Definition: DescribeVaultOutput.h:242
Aws::Glacier::Model::DescribeVaultOutput::SetVaultARN
void SetVaultARN(Aws::String &&value)
Definition: DescribeVaultOutput.h:59
Aws::Glacier::Model::DescribeVaultOutput::WithNumberOfArchives
DescribeVaultOutput & WithNumberOfArchives(long long value)
Definition: DescribeVaultOutput.h:263
Aws::Glacier::Model::DescribeVaultOutput::DescribeVaultOutput
DescribeVaultOutput(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::DescribeVaultOutput::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: DescribeVaultOutput.h:135
Glacier_EXPORTS.h