AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BackupVaultListMember.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{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Backup
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_BACKUP_API BackupVaultListMember();
40 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
50 inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
51 inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; }
52 inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); }
53 inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); }
54 inline BackupVaultListMember& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;}
55 inline BackupVaultListMember& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
56 inline BackupVaultListMember& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
58
60
65 inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
66 inline bool BackupVaultArnHasBeenSet() const { return m_backupVaultArnHasBeenSet; }
67 inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = value; }
68 inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = std::move(value); }
69 inline void SetBackupVaultArn(const char* value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn.assign(value); }
70 inline BackupVaultListMember& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;}
71 inline BackupVaultListMember& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
72 inline BackupVaultListMember& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
74
76
79 inline const VaultType& GetVaultType() const{ return m_vaultType; }
80 inline bool VaultTypeHasBeenSet() const { return m_vaultTypeHasBeenSet; }
81 inline void SetVaultType(const VaultType& value) { m_vaultTypeHasBeenSet = true; m_vaultType = value; }
82 inline void SetVaultType(VaultType&& value) { m_vaultTypeHasBeenSet = true; m_vaultType = std::move(value); }
83 inline BackupVaultListMember& WithVaultType(const VaultType& value) { SetVaultType(value); return *this;}
84 inline BackupVaultListMember& WithVaultType(VaultType&& value) { SetVaultType(std::move(value)); return *this;}
86
88
91 inline const VaultState& GetVaultState() const{ return m_vaultState; }
92 inline bool VaultStateHasBeenSet() const { return m_vaultStateHasBeenSet; }
93 inline void SetVaultState(const VaultState& value) { m_vaultStateHasBeenSet = true; m_vaultState = value; }
94 inline void SetVaultState(VaultState&& value) { m_vaultStateHasBeenSet = true; m_vaultState = std::move(value); }
95 inline BackupVaultListMember& WithVaultState(const VaultState& value) { SetVaultState(value); return *this;}
96 inline BackupVaultListMember& WithVaultState(VaultState&& value) { SetVaultState(std::move(value)); return *this;}
98
100
106 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
107 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
108 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
109 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
110 inline BackupVaultListMember& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
111 inline BackupVaultListMember& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
113
115
126 inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; }
127 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
128 inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = value; }
129 inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::move(value); }
130 inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn.assign(value); }
131 inline BackupVaultListMember& WithEncryptionKeyArn(const Aws::String& value) { SetEncryptionKeyArn(value); return *this;}
132 inline BackupVaultListMember& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;}
133 inline BackupVaultListMember& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;}
135
137
143 inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
144 inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
145 inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = value; }
146 inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::move(value); }
147 inline void SetCreatorRequestId(const char* value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId.assign(value); }
148 inline BackupVaultListMember& WithCreatorRequestId(const Aws::String& value) { SetCreatorRequestId(value); return *this;}
149 inline BackupVaultListMember& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
150 inline BackupVaultListMember& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
152
154
157 inline long long GetNumberOfRecoveryPoints() const{ return m_numberOfRecoveryPoints; }
158 inline bool NumberOfRecoveryPointsHasBeenSet() const { return m_numberOfRecoveryPointsHasBeenSet; }
159 inline void SetNumberOfRecoveryPoints(long long value) { m_numberOfRecoveryPointsHasBeenSet = true; m_numberOfRecoveryPoints = value; }
160 inline BackupVaultListMember& WithNumberOfRecoveryPoints(long long value) { SetNumberOfRecoveryPoints(value); return *this;}
162
164
169 inline bool GetLocked() const{ return m_locked; }
170 inline bool LockedHasBeenSet() const { return m_lockedHasBeenSet; }
171 inline void SetLocked(bool value) { m_lockedHasBeenSet = true; m_locked = value; }
172 inline BackupVaultListMember& WithLocked(bool value) { SetLocked(value); return *this;}
174
176
187 inline long long GetMinRetentionDays() const{ return m_minRetentionDays; }
188 inline bool MinRetentionDaysHasBeenSet() const { return m_minRetentionDaysHasBeenSet; }
189 inline void SetMinRetentionDays(long long value) { m_minRetentionDaysHasBeenSet = true; m_minRetentionDays = value; }
190 inline BackupVaultListMember& WithMinRetentionDays(long long value) { SetMinRetentionDays(value); return *this;}
192
194
206 inline long long GetMaxRetentionDays() const{ return m_maxRetentionDays; }
207 inline bool MaxRetentionDaysHasBeenSet() const { return m_maxRetentionDaysHasBeenSet; }
208 inline void SetMaxRetentionDays(long long value) { m_maxRetentionDaysHasBeenSet = true; m_maxRetentionDays = value; }
209 inline BackupVaultListMember& WithMaxRetentionDays(long long value) { SetMaxRetentionDays(value); return *this;}
211
213
222 inline const Aws::Utils::DateTime& GetLockDate() const{ return m_lockDate; }
223 inline bool LockDateHasBeenSet() const { return m_lockDateHasBeenSet; }
224 inline void SetLockDate(const Aws::Utils::DateTime& value) { m_lockDateHasBeenSet = true; m_lockDate = value; }
225 inline void SetLockDate(Aws::Utils::DateTime&& value) { m_lockDateHasBeenSet = true; m_lockDate = std::move(value); }
226 inline BackupVaultListMember& WithLockDate(const Aws::Utils::DateTime& value) { SetLockDate(value); return *this;}
227 inline BackupVaultListMember& WithLockDate(Aws::Utils::DateTime&& value) { SetLockDate(std::move(value)); return *this;}
229 private:
230
231 Aws::String m_backupVaultName;
232 bool m_backupVaultNameHasBeenSet = false;
233
234 Aws::String m_backupVaultArn;
235 bool m_backupVaultArnHasBeenSet = false;
236
237 VaultType m_vaultType;
238 bool m_vaultTypeHasBeenSet = false;
239
240 VaultState m_vaultState;
241 bool m_vaultStateHasBeenSet = false;
242
243 Aws::Utils::DateTime m_creationDate;
244 bool m_creationDateHasBeenSet = false;
245
246 Aws::String m_encryptionKeyArn;
247 bool m_encryptionKeyArnHasBeenSet = false;
248
249 Aws::String m_creatorRequestId;
250 bool m_creatorRequestIdHasBeenSet = false;
251
252 long long m_numberOfRecoveryPoints;
253 bool m_numberOfRecoveryPointsHasBeenSet = false;
254
255 bool m_locked;
256 bool m_lockedHasBeenSet = false;
257
258 long long m_minRetentionDays;
259 bool m_minRetentionDaysHasBeenSet = false;
260
261 long long m_maxRetentionDays;
262 bool m_maxRetentionDaysHasBeenSet = false;
263
264 Aws::Utils::DateTime m_lockDate;
265 bool m_lockDateHasBeenSet = false;
266 };
267
268} // namespace Model
269} // namespace Backup
270} // namespace Aws
BackupVaultListMember & WithBackupVaultArn(const Aws::String &value)
BackupVaultListMember & WithBackupVaultName(const Aws::String &value)
void SetBackupVaultArn(const Aws::String &value)
BackupVaultListMember & WithCreationDate(const Aws::Utils::DateTime &value)
BackupVaultListMember & WithCreatorRequestId(const char *value)
const Aws::Utils::DateTime & GetCreationDate() const
BackupVaultListMember & WithVaultType(const VaultType &value)
BackupVaultListMember & WithCreatorRequestId(const Aws::String &value)
AWS_BACKUP_API BackupVaultListMember(Aws::Utils::Json::JsonView jsonValue)
BackupVaultListMember & WithCreationDate(Aws::Utils::DateTime &&value)
BackupVaultListMember & WithLockDate(const Aws::Utils::DateTime &value)
BackupVaultListMember & WithVaultState(VaultState &&value)
void SetLockDate(Aws::Utils::DateTime &&value)
BackupVaultListMember & WithMaxRetentionDays(long long value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
BackupVaultListMember & WithVaultState(const VaultState &value)
void SetCreatorRequestId(const Aws::String &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
BackupVaultListMember & WithEncryptionKeyArn(const Aws::String &value)
BackupVaultListMember & WithNumberOfRecoveryPoints(long long value)
AWS_BACKUP_API BackupVaultListMember & operator=(Aws::Utils::Json::JsonView jsonValue)
BackupVaultListMember & WithLockDate(Aws::Utils::DateTime &&value)
BackupVaultListMember & WithEncryptionKeyArn(const char *value)
BackupVaultListMember & WithVaultType(VaultType &&value)
void SetLockDate(const Aws::Utils::DateTime &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLockDate() const
BackupVaultListMember & WithCreatorRequestId(Aws::String &&value)
BackupVaultListMember & WithBackupVaultName(const char *value)
BackupVaultListMember & WithBackupVaultName(Aws::String &&value)
BackupVaultListMember & WithBackupVaultArn(const char *value)
BackupVaultListMember & WithEncryptionKeyArn(Aws::String &&value)
BackupVaultListMember & WithLocked(bool value)
BackupVaultListMember & WithBackupVaultArn(Aws::String &&value)
void SetBackupVaultName(const Aws::String &value)
BackupVaultListMember & WithMinRetentionDays(long long value)
void SetEncryptionKeyArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue