AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeBackupVaultResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/backup/model/VaultType.h>
10#include <aws/backup/model/VaultState.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Backup
27{
28namespace Model
29{
31 {
32 public:
33 AWS_BACKUP_API DescribeBackupVaultResult();
36
37
39
44 inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
45 inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultName = value; }
46 inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultName = std::move(value); }
47 inline void SetBackupVaultName(const char* value) { m_backupVaultName.assign(value); }
48 inline DescribeBackupVaultResult& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;}
49 inline DescribeBackupVaultResult& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
50 inline DescribeBackupVaultResult& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
52
54
59 inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
60 inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArn = value; }
61 inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArn = std::move(value); }
62 inline void SetBackupVaultArn(const char* value) { m_backupVaultArn.assign(value); }
63 inline DescribeBackupVaultResult& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;}
64 inline DescribeBackupVaultResult& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
65 inline DescribeBackupVaultResult& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
67
69
72 inline const VaultType& GetVaultType() const{ return m_vaultType; }
73 inline void SetVaultType(const VaultType& value) { m_vaultType = value; }
74 inline void SetVaultType(VaultType&& value) { m_vaultType = std::move(value); }
75 inline DescribeBackupVaultResult& WithVaultType(const VaultType& value) { SetVaultType(value); return *this;}
76 inline DescribeBackupVaultResult& WithVaultType(VaultType&& value) { SetVaultType(std::move(value)); return *this;}
78
80
83 inline const VaultState& GetVaultState() const{ return m_vaultState; }
84 inline void SetVaultState(const VaultState& value) { m_vaultState = value; }
85 inline void SetVaultState(VaultState&& value) { m_vaultState = std::move(value); }
86 inline DescribeBackupVaultResult& WithVaultState(const VaultState& value) { SetVaultState(value); return *this;}
87 inline DescribeBackupVaultResult& WithVaultState(VaultState&& value) { SetVaultState(std::move(value)); return *this;}
89
91
96 inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; }
97 inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArn = value; }
98 inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArn = std::move(value); }
99 inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArn.assign(value); }
101 inline DescribeBackupVaultResult& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;}
102 inline DescribeBackupVaultResult& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;}
104
106
112 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
113 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
114 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
116 inline DescribeBackupVaultResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
118
120
126 inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
127 inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestId = value; }
128 inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestId = std::move(value); }
129 inline void SetCreatorRequestId(const char* value) { m_creatorRequestId.assign(value); }
131 inline DescribeBackupVaultResult& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
132 inline DescribeBackupVaultResult& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
134
136
139 inline long long GetNumberOfRecoveryPoints() const{ return m_numberOfRecoveryPoints; }
140 inline void SetNumberOfRecoveryPoints(long long value) { m_numberOfRecoveryPoints = value; }
143
145
150 inline bool GetLocked() const{ return m_locked; }
151 inline void SetLocked(bool value) { m_locked = value; }
152 inline DescribeBackupVaultResult& WithLocked(bool value) { SetLocked(value); return *this;}
154
156
167 inline long long GetMinRetentionDays() const{ return m_minRetentionDays; }
168 inline void SetMinRetentionDays(long long value) { m_minRetentionDays = value; }
169 inline DescribeBackupVaultResult& WithMinRetentionDays(long long value) { SetMinRetentionDays(value); return *this;}
171
173
185 inline long long GetMaxRetentionDays() const{ return m_maxRetentionDays; }
186 inline void SetMaxRetentionDays(long long value) { m_maxRetentionDays = value; }
187 inline DescribeBackupVaultResult& WithMaxRetentionDays(long long value) { SetMaxRetentionDays(value); return *this;}
189
191
199 inline const Aws::Utils::DateTime& GetLockDate() const{ return m_lockDate; }
200 inline void SetLockDate(const Aws::Utils::DateTime& value) { m_lockDate = value; }
201 inline void SetLockDate(Aws::Utils::DateTime&& value) { m_lockDate = std::move(value); }
202 inline DescribeBackupVaultResult& WithLockDate(const Aws::Utils::DateTime& value) { SetLockDate(value); return *this;}
203 inline DescribeBackupVaultResult& WithLockDate(Aws::Utils::DateTime&& value) { SetLockDate(std::move(value)); return *this;}
205
207
208 inline const Aws::String& GetRequestId() const{ return m_requestId; }
209 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
210 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
211 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
212 inline DescribeBackupVaultResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
213 inline DescribeBackupVaultResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
214 inline DescribeBackupVaultResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
216 private:
217
218 Aws::String m_backupVaultName;
219
220 Aws::String m_backupVaultArn;
221
222 VaultType m_vaultType;
223
224 VaultState m_vaultState;
225
226 Aws::String m_encryptionKeyArn;
227
228 Aws::Utils::DateTime m_creationDate;
229
230 Aws::String m_creatorRequestId;
231
232 long long m_numberOfRecoveryPoints;
233
234 bool m_locked;
235
236 long long m_minRetentionDays;
237
238 long long m_maxRetentionDays;
239
240 Aws::Utils::DateTime m_lockDate;
241
242 Aws::String m_requestId;
243 };
244
245} // namespace Model
246} // namespace Backup
247} // namespace Aws
DescribeBackupVaultResult & WithBackupVaultName(const char *value)
DescribeBackupVaultResult & WithMaxRetentionDays(long long value)
DescribeBackupVaultResult & WithNumberOfRecoveryPoints(long long value)
DescribeBackupVaultResult & WithBackupVaultName(Aws::String &&value)
void SetLockDate(const Aws::Utils::DateTime &value)
DescribeBackupVaultResult & WithEncryptionKeyArn(const Aws::String &value)
DescribeBackupVaultResult & WithBackupVaultName(const Aws::String &value)
DescribeBackupVaultResult & WithMinRetentionDays(long long value)
DescribeBackupVaultResult & WithCreationDate(Aws::Utils::DateTime &&value)
DescribeBackupVaultResult & WithVaultState(VaultState &&value)
DescribeBackupVaultResult & WithBackupVaultArn(Aws::String &&value)
DescribeBackupVaultResult & WithVaultType(VaultType &&value)
DescribeBackupVaultResult & WithLockDate(const Aws::Utils::DateTime &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
DescribeBackupVaultResult & WithBackupVaultArn(const char *value)
const Aws::Utils::DateTime & GetCreationDate() const
DescribeBackupVaultResult & WithEncryptionKeyArn(Aws::String &&value)
DescribeBackupVaultResult & WithCreatorRequestId(Aws::String &&value)
DescribeBackupVaultResult & WithCreatorRequestId(const char *value)
DescribeBackupVaultResult & WithLocked(bool value)
DescribeBackupVaultResult & WithLockDate(Aws::Utils::DateTime &&value)
DescribeBackupVaultResult & WithVaultType(const VaultType &value)
DescribeBackupVaultResult & WithRequestId(const Aws::String &value)
DescribeBackupVaultResult & WithRequestId(Aws::String &&value)
DescribeBackupVaultResult & WithCreationDate(const Aws::Utils::DateTime &value)
DescribeBackupVaultResult & WithVaultState(const VaultState &value)
DescribeBackupVaultResult & WithEncryptionKeyArn(const char *value)
DescribeBackupVaultResult & WithBackupVaultArn(const Aws::String &value)
AWS_BACKUP_API DescribeBackupVaultResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBackupVaultResult & WithCreatorRequestId(const Aws::String &value)
AWS_BACKUP_API DescribeBackupVaultResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBackupVaultResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue