AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeVaultResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Glacier
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetVaultARN() const{ return m_vaultARN; }
45 
49  inline void SetVaultARN(const Aws::String& value) { m_vaultARN = value; }
50 
54  inline void SetVaultARN(Aws::String&& value) { m_vaultARN = std::move(value); }
55 
59  inline void SetVaultARN(const char* value) { m_vaultARN.assign(value); }
60 
64  inline DescribeVaultResult& WithVaultARN(const Aws::String& value) { SetVaultARN(value); return *this;}
65 
69  inline DescribeVaultResult& WithVaultARN(Aws::String&& value) { SetVaultARN(std::move(value)); return *this;}
70 
74  inline DescribeVaultResult& WithVaultARN(const char* value) { SetVaultARN(value); return *this;}
75 
76 
80  inline const Aws::String& GetVaultName() const{ return m_vaultName; }
81 
85  inline void SetVaultName(const Aws::String& value) { m_vaultName = value; }
86 
90  inline void SetVaultName(Aws::String&& value) { m_vaultName = std::move(value); }
91 
95  inline void SetVaultName(const char* value) { m_vaultName.assign(value); }
96 
100  inline DescribeVaultResult& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
101 
105  inline DescribeVaultResult& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
106 
110  inline DescribeVaultResult& WithVaultName(const char* value) { SetVaultName(value); return *this;}
111 
112 
118  inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
119 
125  inline void SetCreationDate(const Aws::String& value) { m_creationDate = value; }
126 
132  inline void SetCreationDate(Aws::String&& value) { m_creationDate = std::move(value); }
133 
139  inline void SetCreationDate(const char* value) { m_creationDate.assign(value); }
140 
146  inline DescribeVaultResult& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
147 
153  inline DescribeVaultResult& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
154 
160  inline DescribeVaultResult& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
161 
162 
168  inline const Aws::String& GetLastInventoryDate() const{ return m_lastInventoryDate; }
169 
175  inline void SetLastInventoryDate(const Aws::String& value) { m_lastInventoryDate = value; }
176 
182  inline void SetLastInventoryDate(Aws::String&& value) { m_lastInventoryDate = std::move(value); }
183 
189  inline void SetLastInventoryDate(const char* value) { m_lastInventoryDate.assign(value); }
190 
196  inline DescribeVaultResult& WithLastInventoryDate(const Aws::String& value) { SetLastInventoryDate(value); return *this;}
197 
203  inline DescribeVaultResult& WithLastInventoryDate(Aws::String&& value) { SetLastInventoryDate(std::move(value)); return *this;}
204 
210  inline DescribeVaultResult& WithLastInventoryDate(const char* value) { SetLastInventoryDate(value); return *this;}
211 
212 
218  inline long long GetNumberOfArchives() const{ return m_numberOfArchives; }
219 
225  inline void SetNumberOfArchives(long long value) { m_numberOfArchives = value; }
226 
232  inline DescribeVaultResult& WithNumberOfArchives(long long value) { SetNumberOfArchives(value); return *this;}
233 
234 
240  inline long long GetSizeInBytes() const{ return m_sizeInBytes; }
241 
247  inline void SetSizeInBytes(long long value) { m_sizeInBytes = value; }
248 
254  inline DescribeVaultResult& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
255 
256  private:
257 
258  Aws::String m_vaultARN;
259 
260  Aws::String m_vaultName;
261 
262  Aws::String m_creationDate;
263 
264  Aws::String m_lastInventoryDate;
265 
266  long long m_numberOfArchives;
267 
268  long long m_sizeInBytes;
269  };
270 
271 } // namespace Model
272 } // namespace Glacier
273 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::DescribeVaultResult::GetNumberOfArchives
long long GetNumberOfArchives() const
Definition: DescribeVaultResult.h:218
Aws::Glacier::Model::DescribeVaultResult::WithLastInventoryDate
DescribeVaultResult & WithLastInventoryDate(const char *value)
Definition: DescribeVaultResult.h:210
Aws::Glacier::Model::DescribeVaultResult::WithCreationDate
DescribeVaultResult & WithCreationDate(const Aws::String &value)
Definition: DescribeVaultResult.h:146
Aws::Glacier::Model::DescribeVaultResult::SetCreationDate
void SetCreationDate(const Aws::String &value)
Definition: DescribeVaultResult.h:125
Aws::Glacier::Model::DescribeVaultResult::SetVaultName
void SetVaultName(const char *value)
Definition: DescribeVaultResult.h:95
Aws::Glacier::Model::DescribeVaultResult::SetSizeInBytes
void SetSizeInBytes(long long value)
Definition: DescribeVaultResult.h:247
Aws::Glacier::Model::DescribeVaultResult
Definition: DescribeVaultResult.h:34
Aws::Glacier::Model::DescribeVaultResult::SetCreationDate
void SetCreationDate(const char *value)
Definition: DescribeVaultResult.h:139
Aws::Glacier::Model::DescribeVaultResult::WithVaultName
DescribeVaultResult & WithVaultName(Aws::String &&value)
Definition: DescribeVaultResult.h:105
Aws::Glacier::Model::DescribeVaultResult::SetLastInventoryDate
void SetLastInventoryDate(const Aws::String &value)
Definition: DescribeVaultResult.h:175
Aws::Glacier::Model::DescribeVaultResult::WithLastInventoryDate
DescribeVaultResult & WithLastInventoryDate(Aws::String &&value)
Definition: DescribeVaultResult.h:203
Aws::Glacier::Model::DescribeVaultResult::GetLastInventoryDate
const Aws::String & GetLastInventoryDate() const
Definition: DescribeVaultResult.h:168
Aws::Glacier::Model::DescribeVaultResult::GetCreationDate
const Aws::String & GetCreationDate() const
Definition: DescribeVaultResult.h:118
Aws::Glacier::Model::DescribeVaultResult::SetVaultARN
void SetVaultARN(const Aws::String &value)
Definition: DescribeVaultResult.h:49
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::DescribeVaultResult::WithVaultName
DescribeVaultResult & WithVaultName(const Aws::String &value)
Definition: DescribeVaultResult.h:100
Aws::Glacier::Model::DescribeVaultResult::SetVaultName
void SetVaultName(const Aws::String &value)
Definition: DescribeVaultResult.h:85
Aws::Glacier::Model::DescribeVaultResult::WithVaultARN
DescribeVaultResult & WithVaultARN(Aws::String &&value)
Definition: DescribeVaultResult.h:69
Aws::Glacier::Model::DescribeVaultResult::operator=
DescribeVaultResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::DescribeVaultResult::SetVaultARN
void SetVaultARN(Aws::String &&value)
Definition: DescribeVaultResult.h:54
Aws::Glacier::Model::DescribeVaultResult::SetLastInventoryDate
void SetLastInventoryDate(const char *value)
Definition: DescribeVaultResult.h:189
AWSString.h
Aws::Glacier::Model::DescribeVaultResult::WithCreationDate
DescribeVaultResult & WithCreationDate(Aws::String &&value)
Definition: DescribeVaultResult.h:153
Aws::Glacier::Model::DescribeVaultResult::SetVaultName
void SetVaultName(Aws::String &&value)
Definition: DescribeVaultResult.h:90
Aws::Glacier::Model::DescribeVaultResult::SetVaultARN
void SetVaultARN(const char *value)
Definition: DescribeVaultResult.h:59
Aws::Glacier::Model::DescribeVaultResult::WithNumberOfArchives
DescribeVaultResult & WithNumberOfArchives(long long value)
Definition: DescribeVaultResult.h:232
Aws::Glacier::Model::DescribeVaultResult::WithLastInventoryDate
DescribeVaultResult & WithLastInventoryDate(const Aws::String &value)
Definition: DescribeVaultResult.h:196
Aws::Glacier::Model::DescribeVaultResult::DescribeVaultResult
DescribeVaultResult()
Aws::Glacier::Model::DescribeVaultResult::SetCreationDate
void SetCreationDate(Aws::String &&value)
Definition: DescribeVaultResult.h:132
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::DescribeVaultResult::WithVaultARN
DescribeVaultResult & WithVaultARN(const Aws::String &value)
Definition: DescribeVaultResult.h:64
Aws::Glacier::Model::DescribeVaultResult::GetVaultARN
const Aws::String & GetVaultARN() const
Definition: DescribeVaultResult.h:44
Aws::Glacier::Model::DescribeVaultResult::WithSizeInBytes
DescribeVaultResult & WithSizeInBytes(long long value)
Definition: DescribeVaultResult.h:254
Aws::Glacier::Model::DescribeVaultResult::SetLastInventoryDate
void SetLastInventoryDate(Aws::String &&value)
Definition: DescribeVaultResult.h:182
Aws::Glacier::Model::DescribeVaultResult::WithVaultName
DescribeVaultResult & WithVaultName(const char *value)
Definition: DescribeVaultResult.h:110
Aws::Glacier::Model::DescribeVaultResult::GetVaultName
const Aws::String & GetVaultName() const
Definition: DescribeVaultResult.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::DescribeVaultResult::WithCreationDate
DescribeVaultResult & WithCreationDate(const char *value)
Definition: DescribeVaultResult.h:160
Aws::Glacier::Model::DescribeVaultResult::GetSizeInBytes
long long GetSizeInBytes() const
Definition: DescribeVaultResult.h:240
Aws::Glacier::Model::DescribeVaultResult::DescribeVaultResult
DescribeVaultResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::DescribeVaultResult::WithVaultARN
DescribeVaultResult & WithVaultARN(const char *value)
Definition: DescribeVaultResult.h:74
Aws::Glacier::Model::DescribeVaultResult::SetNumberOfArchives
void SetNumberOfArchives(long long value)
Definition: DescribeVaultResult.h:225
Glacier_EXPORTS.h