AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeVaultResult.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{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glacier
24{
25namespace Model
26{
34 {
35 public:
36 AWS_GLACIER_API DescribeVaultResult();
39
40
42
45 inline const Aws::String& GetVaultARN() const{ return m_vaultARN; }
46 inline void SetVaultARN(const Aws::String& value) { m_vaultARN = value; }
47 inline void SetVaultARN(Aws::String&& value) { m_vaultARN = std::move(value); }
48 inline void SetVaultARN(const char* value) { m_vaultARN.assign(value); }
49 inline DescribeVaultResult& WithVaultARN(const Aws::String& value) { SetVaultARN(value); return *this;}
50 inline DescribeVaultResult& WithVaultARN(Aws::String&& value) { SetVaultARN(std::move(value)); return *this;}
51 inline DescribeVaultResult& WithVaultARN(const char* value) { SetVaultARN(value); return *this;}
53
55
58 inline const Aws::String& GetVaultName() const{ return m_vaultName; }
59 inline void SetVaultName(const Aws::String& value) { m_vaultName = value; }
60 inline void SetVaultName(Aws::String&& value) { m_vaultName = std::move(value); }
61 inline void SetVaultName(const char* value) { m_vaultName.assign(value); }
62 inline DescribeVaultResult& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
63 inline DescribeVaultResult& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
64 inline DescribeVaultResult& WithVaultName(const char* value) { SetVaultName(value); return *this;}
66
68
73 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
74 inline void SetCreationDate(const Aws::String& value) { m_creationDate = value; }
75 inline void SetCreationDate(Aws::String&& value) { m_creationDate = std::move(value); }
76 inline void SetCreationDate(const char* value) { m_creationDate.assign(value); }
77 inline DescribeVaultResult& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
78 inline DescribeVaultResult& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
79 inline DescribeVaultResult& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
81
83
88 inline const Aws::String& GetLastInventoryDate() const{ return m_lastInventoryDate; }
89 inline void SetLastInventoryDate(const Aws::String& value) { m_lastInventoryDate = value; }
90 inline void SetLastInventoryDate(Aws::String&& value) { m_lastInventoryDate = std::move(value); }
91 inline void SetLastInventoryDate(const char* value) { m_lastInventoryDate.assign(value); }
92 inline DescribeVaultResult& WithLastInventoryDate(const Aws::String& value) { SetLastInventoryDate(value); return *this;}
93 inline DescribeVaultResult& WithLastInventoryDate(Aws::String&& value) { SetLastInventoryDate(std::move(value)); return *this;}
94 inline DescribeVaultResult& WithLastInventoryDate(const char* value) { SetLastInventoryDate(value); return *this;}
96
98
103 inline long long GetNumberOfArchives() const{ return m_numberOfArchives; }
104 inline void SetNumberOfArchives(long long value) { m_numberOfArchives = value; }
105 inline DescribeVaultResult& WithNumberOfArchives(long long value) { SetNumberOfArchives(value); return *this;}
107
109
114 inline long long GetSizeInBytes() const{ return m_sizeInBytes; }
115 inline void SetSizeInBytes(long long value) { m_sizeInBytes = value; }
116 inline DescribeVaultResult& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
118
120
121 inline const Aws::String& GetRequestId() const{ return m_requestId; }
122 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
123 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
124 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
125 inline DescribeVaultResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
126 inline DescribeVaultResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
127 inline DescribeVaultResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
129 private:
130
131 Aws::String m_vaultARN;
132
133 Aws::String m_vaultName;
134
135 Aws::String m_creationDate;
136
137 Aws::String m_lastInventoryDate;
138
139 long long m_numberOfArchives;
140
141 long long m_sizeInBytes;
142
143 Aws::String m_requestId;
144 };
145
146} // namespace Model
147} // namespace Glacier
148} // namespace Aws
DescribeVaultResult & WithCreationDate(const Aws::String &value)
AWS_GLACIER_API DescribeVaultResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastInventoryDate(const Aws::String &value)
AWS_GLACIER_API DescribeVaultResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetCreationDate() const
DescribeVaultResult & WithLastInventoryDate(const Aws::String &value)
DescribeVaultResult & WithCreationDate(const char *value)
DescribeVaultResult & WithNumberOfArchives(long long value)
DescribeVaultResult & WithVaultName(const Aws::String &value)
DescribeVaultResult & WithRequestId(const Aws::String &value)
void SetVaultARN(const Aws::String &value)
DescribeVaultResult & WithVaultARN(Aws::String &&value)
DescribeVaultResult & WithRequestId(Aws::String &&value)
DescribeVaultResult & WithVaultName(const char *value)
DescribeVaultResult & WithVaultARN(const Aws::String &value)
DescribeVaultResult & WithVaultName(Aws::String &&value)
DescribeVaultResult & WithVaultARN(const char *value)
void SetCreationDate(const Aws::String &value)
DescribeVaultResult & WithCreationDate(Aws::String &&value)
DescribeVaultResult & WithLastInventoryDate(Aws::String &&value)
DescribeVaultResult & WithRequestId(const char *value)
void SetVaultName(const Aws::String &value)
const Aws::String & GetLastInventoryDate() const
void SetRequestId(const Aws::String &value)
DescribeVaultResult & WithSizeInBytes(long long value)
DescribeVaultResult & WithLastInventoryDate(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue