AWS SDK for C++  1.9.160
AWS SDK for C++
BackupVaultListMember.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Backup
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
47  inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
48 
55  inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
56 
63  inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; }
64 
71  inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); }
72 
79  inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); }
80 
87  inline BackupVaultListMember& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;}
88 
95  inline BackupVaultListMember& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
96 
103  inline BackupVaultListMember& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
104 
105 
111  inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
112 
118  inline bool BackupVaultArnHasBeenSet() const { return m_backupVaultArnHasBeenSet; }
119 
125  inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = value; }
126 
132  inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = std::move(value); }
133 
139  inline void SetBackupVaultArn(const char* value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn.assign(value); }
140 
146  inline BackupVaultListMember& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;}
147 
153  inline BackupVaultListMember& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
154 
160  inline BackupVaultListMember& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
161 
162 
169  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
170 
177  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
178 
185  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
186 
193  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
194 
201  inline BackupVaultListMember& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
202 
209  inline BackupVaultListMember& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
210 
211 
217  inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; }
218 
224  inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
225 
231  inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = value; }
232 
238  inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::move(value); }
239 
245  inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn.assign(value); }
246 
252  inline BackupVaultListMember& WithEncryptionKeyArn(const Aws::String& value) { SetEncryptionKeyArn(value); return *this;}
253 
259  inline BackupVaultListMember& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;}
260 
266  inline BackupVaultListMember& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;}
267 
268 
275  inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
276 
283  inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
284 
291  inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = value; }
292 
299  inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::move(value); }
300 
307  inline void SetCreatorRequestId(const char* value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId.assign(value); }
308 
315  inline BackupVaultListMember& WithCreatorRequestId(const Aws::String& value) { SetCreatorRequestId(value); return *this;}
316 
323  inline BackupVaultListMember& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
324 
331  inline BackupVaultListMember& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
332 
333 
337  inline long long GetNumberOfRecoveryPoints() const{ return m_numberOfRecoveryPoints; }
338 
342  inline bool NumberOfRecoveryPointsHasBeenSet() const { return m_numberOfRecoveryPointsHasBeenSet; }
343 
347  inline void SetNumberOfRecoveryPoints(long long value) { m_numberOfRecoveryPointsHasBeenSet = true; m_numberOfRecoveryPoints = value; }
348 
352  inline BackupVaultListMember& WithNumberOfRecoveryPoints(long long value) { SetNumberOfRecoveryPoints(value); return *this;}
353 
354 
360  inline bool GetLocked() const{ return m_locked; }
361 
367  inline bool LockedHasBeenSet() const { return m_lockedHasBeenSet; }
368 
374  inline void SetLocked(bool value) { m_lockedHasBeenSet = true; m_locked = value; }
375 
381  inline BackupVaultListMember& WithLocked(bool value) { SetLocked(value); return *this;}
382 
383 
395  inline long long GetMinRetentionDays() const{ return m_minRetentionDays; }
396 
408  inline bool MinRetentionDaysHasBeenSet() const { return m_minRetentionDaysHasBeenSet; }
409 
421  inline void SetMinRetentionDays(long long value) { m_minRetentionDaysHasBeenSet = true; m_minRetentionDays = value; }
422 
434  inline BackupVaultListMember& WithMinRetentionDays(long long value) { SetMinRetentionDays(value); return *this;}
435 
436 
449  inline long long GetMaxRetentionDays() const{ return m_maxRetentionDays; }
450 
463  inline bool MaxRetentionDaysHasBeenSet() const { return m_maxRetentionDaysHasBeenSet; }
464 
477  inline void SetMaxRetentionDays(long long value) { m_maxRetentionDaysHasBeenSet = true; m_maxRetentionDays = value; }
478 
491  inline BackupVaultListMember& WithMaxRetentionDays(long long value) { SetMaxRetentionDays(value); return *this;}
492 
493 
503  inline const Aws::Utils::DateTime& GetLockDate() const{ return m_lockDate; }
504 
514  inline bool LockDateHasBeenSet() const { return m_lockDateHasBeenSet; }
515 
525  inline void SetLockDate(const Aws::Utils::DateTime& value) { m_lockDateHasBeenSet = true; m_lockDate = value; }
526 
536  inline void SetLockDate(Aws::Utils::DateTime&& value) { m_lockDateHasBeenSet = true; m_lockDate = std::move(value); }
537 
547  inline BackupVaultListMember& WithLockDate(const Aws::Utils::DateTime& value) { SetLockDate(value); return *this;}
548 
558  inline BackupVaultListMember& WithLockDate(Aws::Utils::DateTime&& value) { SetLockDate(std::move(value)); return *this;}
559 
560  private:
561 
562  Aws::String m_backupVaultName;
563  bool m_backupVaultNameHasBeenSet;
564 
565  Aws::String m_backupVaultArn;
566  bool m_backupVaultArnHasBeenSet;
567 
568  Aws::Utils::DateTime m_creationDate;
569  bool m_creationDateHasBeenSet;
570 
571  Aws::String m_encryptionKeyArn;
572  bool m_encryptionKeyArnHasBeenSet;
573 
574  Aws::String m_creatorRequestId;
575  bool m_creatorRequestIdHasBeenSet;
576 
577  long long m_numberOfRecoveryPoints;
578  bool m_numberOfRecoveryPointsHasBeenSet;
579 
580  bool m_locked;
581  bool m_lockedHasBeenSet;
582 
583  long long m_minRetentionDays;
584  bool m_minRetentionDaysHasBeenSet;
585 
586  long long m_maxRetentionDays;
587  bool m_maxRetentionDaysHasBeenSet;
588 
589  Aws::Utils::DateTime m_lockDate;
590  bool m_lockDateHasBeenSet;
591  };
592 
593 } // namespace Model
594 } // namespace Backup
595 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Backup::Model::BackupVaultListMember::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: BackupVaultListMember.h:169
Aws::Backup::Model::BackupVaultListMember::SetCreatorRequestId
void SetCreatorRequestId(const char *value)
Definition: BackupVaultListMember.h:307
Aws::Backup::Model::BackupVaultListMember::GetMinRetentionDays
long long GetMinRetentionDays() const
Definition: BackupVaultListMember.h:395
Aws::Backup::Model::BackupVaultListMember::SetEncryptionKeyArn
void SetEncryptionKeyArn(const Aws::String &value)
Definition: BackupVaultListMember.h:231
Aws::Backup::Model::BackupVaultListMember::SetBackupVaultArn
void SetBackupVaultArn(const Aws::String &value)
Definition: BackupVaultListMember.h:125
Aws::Backup::Model::BackupVaultListMember::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: BackupVaultListMember.h:185
Aws::Backup::Model::BackupVaultListMember::WithCreationDate
BackupVaultListMember & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: BackupVaultListMember.h:209
Aws::Backup::Model::BackupVaultListMember::MaxRetentionDaysHasBeenSet
bool MaxRetentionDaysHasBeenSet() const
Definition: BackupVaultListMember.h:463
Aws::Backup::Model::BackupVaultListMember::SetBackupVaultArn
void SetBackupVaultArn(const char *value)
Definition: BackupVaultListMember.h:139
Aws::Backup::Model::BackupVaultListMember::WithBackupVaultArn
BackupVaultListMember & WithBackupVaultArn(Aws::String &&value)
Definition: BackupVaultListMember.h:153
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
DateTime.h
Aws::Backup::Model::BackupVaultListMember::WithMinRetentionDays
BackupVaultListMember & WithMinRetentionDays(long long value)
Definition: BackupVaultListMember.h:434
Aws::Backup::Model::BackupVaultListMember::GetBackupVaultArn
const Aws::String & GetBackupVaultArn() const
Definition: BackupVaultListMember.h:111
Aws::Backup::Model::BackupVaultListMember::SetEncryptionKeyArn
void SetEncryptionKeyArn(Aws::String &&value)
Definition: BackupVaultListMember.h:238
Aws::Backup::Model::BackupVaultListMember::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: BackupVaultListMember.h:193
Aws::Backup::Model::BackupVaultListMember::WithEncryptionKeyArn
BackupVaultListMember & WithEncryptionKeyArn(const char *value)
Definition: BackupVaultListMember.h:266
Aws::Backup::Model::BackupVaultListMember::SetLockDate
void SetLockDate(const Aws::Utils::DateTime &value)
Definition: BackupVaultListMember.h:525
Aws::Backup::Model::BackupVaultListMember::MinRetentionDaysHasBeenSet
bool MinRetentionDaysHasBeenSet() const
Definition: BackupVaultListMember.h:408
Aws::Backup::Model::BackupVaultListMember::WithCreatorRequestId
BackupVaultListMember & WithCreatorRequestId(const char *value)
Definition: BackupVaultListMember.h:331
Aws::Backup::Model::BackupVaultListMember::SetNumberOfRecoveryPoints
void SetNumberOfRecoveryPoints(long long value)
Definition: BackupVaultListMember.h:347
Aws::Backup::Model::BackupVaultListMember::GetNumberOfRecoveryPoints
long long GetNumberOfRecoveryPoints() const
Definition: BackupVaultListMember.h:337
Aws::Backup::Model::BackupVaultListMember::SetMinRetentionDays
void SetMinRetentionDays(long long value)
Definition: BackupVaultListMember.h:421
Aws::Backup::Model::BackupVaultListMember::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Backup::Model::BackupVaultListMember::WithCreatorRequestId
BackupVaultListMember & WithCreatorRequestId(Aws::String &&value)
Definition: BackupVaultListMember.h:323
Aws::Backup::Model::BackupVaultListMember::GetCreatorRequestId
const Aws::String & GetCreatorRequestId() const
Definition: BackupVaultListMember.h:275
Aws::Backup::Model::BackupVaultListMember::WithMaxRetentionDays
BackupVaultListMember & WithMaxRetentionDays(long long value)
Definition: BackupVaultListMember.h:491
Aws::Backup::Model::BackupVaultListMember::LockDateHasBeenSet
bool LockDateHasBeenSet() const
Definition: BackupVaultListMember.h:514
Aws::Backup::Model::BackupVaultListMember
Definition: BackupVaultListMember.h:33
Aws::Backup::Model::BackupVaultListMember::GetLockDate
const Aws::Utils::DateTime & GetLockDate() const
Definition: BackupVaultListMember.h:503
Aws::Backup::Model::BackupVaultListMember::SetBackupVaultArn
void SetBackupVaultArn(Aws::String &&value)
Definition: BackupVaultListMember.h:132
Aws::Backup::Model::BackupVaultListMember::operator=
BackupVaultListMember & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Backup::Model::BackupVaultListMember::WithEncryptionKeyArn
BackupVaultListMember & WithEncryptionKeyArn(Aws::String &&value)
Definition: BackupVaultListMember.h:259
Aws::Backup::Model::BackupVaultListMember::GetMaxRetentionDays
long long GetMaxRetentionDays() const
Definition: BackupVaultListMember.h:449
Aws::Backup::Model::BackupVaultListMember::SetCreatorRequestId
void SetCreatorRequestId(Aws::String &&value)
Definition: BackupVaultListMember.h:299
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Backup::Model::BackupVaultListMember::CreatorRequestIdHasBeenSet
bool CreatorRequestIdHasBeenSet() const
Definition: BackupVaultListMember.h:283
Aws::Backup::Model::BackupVaultListMember::GetBackupVaultName
const Aws::String & GetBackupVaultName() const
Definition: BackupVaultListMember.h:47
Aws::Backup::Model::BackupVaultListMember::WithBackupVaultName
BackupVaultListMember & WithBackupVaultName(Aws::String &&value)
Definition: BackupVaultListMember.h:95
Aws::Backup::Model::BackupVaultListMember::SetBackupVaultName
void SetBackupVaultName(const Aws::String &value)
Definition: BackupVaultListMember.h:63
Aws::Backup::Model::BackupVaultListMember::WithBackupVaultArn
BackupVaultListMember & WithBackupVaultArn(const char *value)
Definition: BackupVaultListMember.h:160
Aws::Backup::Model::BackupVaultListMember::SetBackupVaultName
void SetBackupVaultName(const char *value)
Definition: BackupVaultListMember.h:79
Aws::Backup::Model::BackupVaultListMember::WithBackupVaultName
BackupVaultListMember & WithBackupVaultName(const Aws::String &value)
Definition: BackupVaultListMember.h:87
Aws::Backup::Model::BackupVaultListMember::WithBackupVaultArn
BackupVaultListMember & WithBackupVaultArn(const Aws::String &value)
Definition: BackupVaultListMember.h:146
Aws::Backup::Model::BackupVaultListMember::SetLockDate
void SetLockDate(Aws::Utils::DateTime &&value)
Definition: BackupVaultListMember.h:536
Backup_EXPORTS.h
Aws::Backup::Model::BackupVaultListMember::BackupVaultArnHasBeenSet
bool BackupVaultArnHasBeenSet() const
Definition: BackupVaultListMember.h:118
Aws::Backup::Model::BackupVaultListMember::BackupVaultListMember
BackupVaultListMember()
Aws::Backup::Model::BackupVaultListMember::WithCreationDate
BackupVaultListMember & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: BackupVaultListMember.h:201
Aws::Backup::Model::BackupVaultListMember::BackupVaultNameHasBeenSet
bool BackupVaultNameHasBeenSet() const
Definition: BackupVaultListMember.h:55
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Backup::Model::BackupVaultListMember::GetLocked
bool GetLocked() const
Definition: BackupVaultListMember.h:360
Aws::Backup::Model::BackupVaultListMember::EncryptionKeyArnHasBeenSet
bool EncryptionKeyArnHasBeenSet() const
Definition: BackupVaultListMember.h:224
Aws::Backup::Model::BackupVaultListMember::SetBackupVaultName
void SetBackupVaultName(Aws::String &&value)
Definition: BackupVaultListMember.h:71
Aws::Backup::Model::BackupVaultListMember::LockedHasBeenSet
bool LockedHasBeenSet() const
Definition: BackupVaultListMember.h:367
Aws::Backup::Model::BackupVaultListMember::WithLocked
BackupVaultListMember & WithLocked(bool value)
Definition: BackupVaultListMember.h:381
Aws::Backup::Model::BackupVaultListMember::SetLocked
void SetLocked(bool value)
Definition: BackupVaultListMember.h:374
Aws::Backup::Model::BackupVaultListMember::WithLockDate
BackupVaultListMember & WithLockDate(Aws::Utils::DateTime &&value)
Definition: BackupVaultListMember.h:558
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Backup::Model::BackupVaultListMember::WithNumberOfRecoveryPoints
BackupVaultListMember & WithNumberOfRecoveryPoints(long long value)
Definition: BackupVaultListMember.h:352
Aws::Backup::Model::BackupVaultListMember::GetEncryptionKeyArn
const Aws::String & GetEncryptionKeyArn() const
Definition: BackupVaultListMember.h:217
Aws::Backup::Model::BackupVaultListMember::SetCreatorRequestId
void SetCreatorRequestId(const Aws::String &value)
Definition: BackupVaultListMember.h:291
Aws::Backup::Model::BackupVaultListMember::SetMaxRetentionDays
void SetMaxRetentionDays(long long value)
Definition: BackupVaultListMember.h:477
Aws::Backup::Model::BackupVaultListMember::WithCreatorRequestId
BackupVaultListMember & WithCreatorRequestId(const Aws::String &value)
Definition: BackupVaultListMember.h:315
Aws::Backup::Model::BackupVaultListMember::BackupVaultListMember
BackupVaultListMember(Aws::Utils::Json::JsonView jsonValue)
Aws::Backup::Model::BackupVaultListMember::SetEncryptionKeyArn
void SetEncryptionKeyArn(const char *value)
Definition: BackupVaultListMember.h:245
Aws::Backup::Model::BackupVaultListMember::WithEncryptionKeyArn
BackupVaultListMember & WithEncryptionKeyArn(const Aws::String &value)
Definition: BackupVaultListMember.h:252
Aws::Backup::Model::BackupVaultListMember::WithBackupVaultName
BackupVaultListMember & WithBackupVaultName(const char *value)
Definition: BackupVaultListMember.h:103
Aws::Backup::Model::BackupVaultListMember::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: BackupVaultListMember.h:177
Aws::Backup::Model::BackupVaultListMember::WithLockDate
BackupVaultListMember & WithLockDate(const Aws::Utils::DateTime &value)
Definition: BackupVaultListMember.h:547
Aws::Backup::Model::BackupVaultListMember::NumberOfRecoveryPointsHasBeenSet
bool NumberOfRecoveryPointsHasBeenSet() const
Definition: BackupVaultListMember.h:342