AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeVaultOutput.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glacier
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLACIER_API DescribeVaultOutput() = default;
38 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetVaultARN() const { return m_vaultARN; }
46 inline bool VaultARNHasBeenSet() const { return m_vaultARNHasBeenSet; }
47 template<typename VaultARNT = Aws::String>
48 void SetVaultARN(VaultARNT&& value) { m_vaultARNHasBeenSet = true; m_vaultARN = std::forward<VaultARNT>(value); }
49 template<typename VaultARNT = Aws::String>
50 DescribeVaultOutput& WithVaultARN(VaultARNT&& value) { SetVaultARN(std::forward<VaultARNT>(value)); return *this;}
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) { m_vaultNameHasBeenSet = true; m_vaultName = std::forward<VaultNameT>(value); }
61 template<typename VaultNameT = Aws::String>
62 DescribeVaultOutput& WithVaultName(VaultNameT&& value) { SetVaultName(std::forward<VaultNameT>(value)); return *this;}
64
66
71 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
72 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
73 template<typename CreationDateT = Aws::String>
74 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
75 template<typename CreationDateT = Aws::String>
76 DescribeVaultOutput& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
78
80
85 inline const Aws::String& GetLastInventoryDate() const { return m_lastInventoryDate; }
86 inline bool LastInventoryDateHasBeenSet() const { return m_lastInventoryDateHasBeenSet; }
87 template<typename LastInventoryDateT = Aws::String>
88 void SetLastInventoryDate(LastInventoryDateT&& value) { m_lastInventoryDateHasBeenSet = true; m_lastInventoryDate = std::forward<LastInventoryDateT>(value); }
89 template<typename LastInventoryDateT = Aws::String>
90 DescribeVaultOutput& WithLastInventoryDate(LastInventoryDateT&& value) { SetLastInventoryDate(std::forward<LastInventoryDateT>(value)); return *this;}
92
94
99 inline long long GetNumberOfArchives() const { return m_numberOfArchives; }
100 inline bool NumberOfArchivesHasBeenSet() const { return m_numberOfArchivesHasBeenSet; }
101 inline void SetNumberOfArchives(long long value) { m_numberOfArchivesHasBeenSet = true; m_numberOfArchives = value; }
102 inline DescribeVaultOutput& WithNumberOfArchives(long long value) { SetNumberOfArchives(value); return *this;}
104
106
111 inline long long GetSizeInBytes() const { return m_sizeInBytes; }
112 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
113 inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
114 inline DescribeVaultOutput& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
116
118
119 inline const Aws::String& GetRequestId() const { return m_requestId; }
120 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
121 template<typename RequestIdT = Aws::String>
122 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
123 template<typename RequestIdT = Aws::String>
124 DescribeVaultOutput& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
126 private:
127
128 Aws::String m_vaultARN;
129 bool m_vaultARNHasBeenSet = false;
130
131 Aws::String m_vaultName;
132 bool m_vaultNameHasBeenSet = false;
133
134 Aws::String m_creationDate;
135 bool m_creationDateHasBeenSet = false;
136
137 Aws::String m_lastInventoryDate;
138 bool m_lastInventoryDateHasBeenSet = false;
139
140 long long m_numberOfArchives{0};
141 bool m_numberOfArchivesHasBeenSet = false;
142
143 long long m_sizeInBytes{0};
144 bool m_sizeInBytesHasBeenSet = false;
145
146 Aws::String m_requestId;
147 bool m_requestIdHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace Glacier
152} // 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