AWS SDK for C++  1.9.20
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 
273  inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
274 
279  inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
280 
285  inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = value; }
286 
291  inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::move(value); }
292 
297  inline void SetCreatorRequestId(const char* value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId.assign(value); }
298 
303  inline BackupVaultListMember& WithCreatorRequestId(const Aws::String& value) { SetCreatorRequestId(value); return *this;}
304 
309  inline BackupVaultListMember& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
310 
315  inline BackupVaultListMember& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
316 
317 
321  inline long long GetNumberOfRecoveryPoints() const{ return m_numberOfRecoveryPoints; }
322 
326  inline bool NumberOfRecoveryPointsHasBeenSet() const { return m_numberOfRecoveryPointsHasBeenSet; }
327 
331  inline void SetNumberOfRecoveryPoints(long long value) { m_numberOfRecoveryPointsHasBeenSet = true; m_numberOfRecoveryPoints = value; }
332 
336  inline BackupVaultListMember& WithNumberOfRecoveryPoints(long long value) { SetNumberOfRecoveryPoints(value); return *this;}
337 
338  private:
339 
340  Aws::String m_backupVaultName;
341  bool m_backupVaultNameHasBeenSet;
342 
343  Aws::String m_backupVaultArn;
344  bool m_backupVaultArnHasBeenSet;
345 
346  Aws::Utils::DateTime m_creationDate;
347  bool m_creationDateHasBeenSet;
348 
349  Aws::String m_encryptionKeyArn;
350  bool m_encryptionKeyArnHasBeenSet;
351 
352  Aws::String m_creatorRequestId;
353  bool m_creatorRequestIdHasBeenSet;
354 
355  long long m_numberOfRecoveryPoints;
356  bool m_numberOfRecoveryPointsHasBeenSet;
357  };
358 
359 } // namespace Model
360 } // namespace Backup
361 } // 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:297
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::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::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::WithCreatorRequestId
BackupVaultListMember & WithCreatorRequestId(const char *value)
Definition: BackupVaultListMember.h:315
Aws::Backup::Model::BackupVaultListMember::SetNumberOfRecoveryPoints
void SetNumberOfRecoveryPoints(long long value)
Definition: BackupVaultListMember.h:331
Aws::Backup::Model::BackupVaultListMember::GetNumberOfRecoveryPoints
long long GetNumberOfRecoveryPoints() const
Definition: BackupVaultListMember.h:321
Aws::Backup::Model::BackupVaultListMember::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Backup::Model::BackupVaultListMember::WithCreatorRequestId
BackupVaultListMember & WithCreatorRequestId(Aws::String &&value)
Definition: BackupVaultListMember.h:309
Aws::Backup::Model::BackupVaultListMember::GetCreatorRequestId
const Aws::String & GetCreatorRequestId() const
Definition: BackupVaultListMember.h:273
Aws::Backup::Model::BackupVaultListMember
Definition: BackupVaultListMember.h:33
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::SetCreatorRequestId
void SetCreatorRequestId(Aws::String &&value)
Definition: BackupVaultListMember.h:291
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Backup::Model::BackupVaultListMember::CreatorRequestIdHasBeenSet
bool CreatorRequestIdHasBeenSet() const
Definition: BackupVaultListMember.h:279
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
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
Definition: AccessManagementClient.h:15
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::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:336
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:285
Aws::Backup::Model::BackupVaultListMember::WithCreatorRequestId
BackupVaultListMember & WithCreatorRequestId(const Aws::String &value)
Definition: BackupVaultListMember.h:303
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::NumberOfRecoveryPointsHasBeenSet
bool NumberOfRecoveryPointsHasBeenSet() const
Definition: BackupVaultListMember.h:326