AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsBackupRecoveryPointDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsBackupRecoveryPointCalculatedLifecycleDetails.h>
10#include <aws/securityhub/model/AwsBackupRecoveryPointCreatedByDetails.h>
11#include <aws/securityhub/model/AwsBackupRecoveryPointLifecycleDetails.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 SecurityHub
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_SECURITYHUB_API AwsBackupRecoveryPointDetails();
42 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline long long GetBackupSizeInBytes() const{ return m_backupSizeInBytes; }
50 inline bool BackupSizeInBytesHasBeenSet() const { return m_backupSizeInBytesHasBeenSet; }
51 inline void SetBackupSizeInBytes(long long value) { m_backupSizeInBytesHasBeenSet = true; m_backupSizeInBytes = value; }
52 inline AwsBackupRecoveryPointDetails& WithBackupSizeInBytes(long long value) { SetBackupSizeInBytes(value); return *this;}
54
56
59 inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
60 inline bool BackupVaultArnHasBeenSet() const { return m_backupVaultArnHasBeenSet; }
61 inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = value; }
62 inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = std::move(value); }
63 inline void SetBackupVaultArn(const char* value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn.assign(value); }
65 inline AwsBackupRecoveryPointDetails& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
66 inline AwsBackupRecoveryPointDetails& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
68
70
76 inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
77 inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
78 inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; }
79 inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); }
80 inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); }
82 inline AwsBackupRecoveryPointDetails& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
83 inline AwsBackupRecoveryPointDetails& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
85
87
91 inline const AwsBackupRecoveryPointCalculatedLifecycleDetails& GetCalculatedLifecycle() const{ return m_calculatedLifecycle; }
92 inline bool CalculatedLifecycleHasBeenSet() const { return m_calculatedLifecycleHasBeenSet; }
93 inline void SetCalculatedLifecycle(const AwsBackupRecoveryPointCalculatedLifecycleDetails& value) { m_calculatedLifecycleHasBeenSet = true; m_calculatedLifecycle = value; }
94 inline void SetCalculatedLifecycle(AwsBackupRecoveryPointCalculatedLifecycleDetails&& value) { m_calculatedLifecycleHasBeenSet = true; m_calculatedLifecycle = std::move(value); }
98
100
106 inline const Aws::String& GetCompletionDate() const{ return m_completionDate; }
107 inline bool CompletionDateHasBeenSet() const { return m_completionDateHasBeenSet; }
108 inline void SetCompletionDate(const Aws::String& value) { m_completionDateHasBeenSet = true; m_completionDate = value; }
109 inline void SetCompletionDate(Aws::String&& value) { m_completionDateHasBeenSet = true; m_completionDate = std::move(value); }
110 inline void SetCompletionDate(const char* value) { m_completionDateHasBeenSet = true; m_completionDate.assign(value); }
112 inline AwsBackupRecoveryPointDetails& WithCompletionDate(Aws::String&& value) { SetCompletionDate(std::move(value)); return *this;}
113 inline AwsBackupRecoveryPointDetails& WithCompletionDate(const char* value) { SetCompletionDate(value); return *this;}
115
117
123 inline const AwsBackupRecoveryPointCreatedByDetails& GetCreatedBy() const{ return m_createdBy; }
124 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
125 inline void SetCreatedBy(const AwsBackupRecoveryPointCreatedByDetails& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
126 inline void SetCreatedBy(AwsBackupRecoveryPointCreatedByDetails&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
130
132
137 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
138 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
139 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
140 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
141 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
142 inline AwsBackupRecoveryPointDetails& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
143 inline AwsBackupRecoveryPointDetails& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
144 inline AwsBackupRecoveryPointDetails& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
146
148
152 inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; }
153 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
154 inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = value; }
155 inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::move(value); }
156 inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn.assign(value); }
158 inline AwsBackupRecoveryPointDetails& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;}
159 inline AwsBackupRecoveryPointDetails& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;}
161
163
166 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
167 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
168 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
169 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
170 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
171 inline AwsBackupRecoveryPointDetails& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
172 inline AwsBackupRecoveryPointDetails& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
173 inline AwsBackupRecoveryPointDetails& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
175
177
182 inline bool GetIsEncrypted() const{ return m_isEncrypted; }
183 inline bool IsEncryptedHasBeenSet() const { return m_isEncryptedHasBeenSet; }
184 inline void SetIsEncrypted(bool value) { m_isEncryptedHasBeenSet = true; m_isEncrypted = value; }
185 inline AwsBackupRecoveryPointDetails& WithIsEncrypted(bool value) { SetIsEncrypted(value); return *this;}
187
189
195 inline const Aws::String& GetLastRestoreTime() const{ return m_lastRestoreTime; }
196 inline bool LastRestoreTimeHasBeenSet() const { return m_lastRestoreTimeHasBeenSet; }
197 inline void SetLastRestoreTime(const Aws::String& value) { m_lastRestoreTimeHasBeenSet = true; m_lastRestoreTime = value; }
198 inline void SetLastRestoreTime(Aws::String&& value) { m_lastRestoreTimeHasBeenSet = true; m_lastRestoreTime = std::move(value); }
199 inline void SetLastRestoreTime(const char* value) { m_lastRestoreTimeHasBeenSet = true; m_lastRestoreTime.assign(value); }
201 inline AwsBackupRecoveryPointDetails& WithLastRestoreTime(Aws::String&& value) { SetLastRestoreTime(std::move(value)); return *this;}
202 inline AwsBackupRecoveryPointDetails& WithLastRestoreTime(const char* value) { SetLastRestoreTime(value); return *this;}
204
206
211 inline const AwsBackupRecoveryPointLifecycleDetails& GetLifecycle() const{ return m_lifecycle; }
212 inline bool LifecycleHasBeenSet() const { return m_lifecycleHasBeenSet; }
213 inline void SetLifecycle(const AwsBackupRecoveryPointLifecycleDetails& value) { m_lifecycleHasBeenSet = true; m_lifecycle = value; }
214 inline void SetLifecycle(AwsBackupRecoveryPointLifecycleDetails&& value) { m_lifecycleHasBeenSet = true; m_lifecycle = std::move(value); }
218
220
223 inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; }
224 inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; }
225 inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = value; }
226 inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = std::move(value); }
227 inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn.assign(value); }
229 inline AwsBackupRecoveryPointDetails& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;}
230 inline AwsBackupRecoveryPointDetails& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;}
232
234
238 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
239 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
240 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
241 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
242 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
243 inline AwsBackupRecoveryPointDetails& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
244 inline AwsBackupRecoveryPointDetails& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
245 inline AwsBackupRecoveryPointDetails& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
247
249
253 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
254 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
255 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
256 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
257 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
258 inline AwsBackupRecoveryPointDetails& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
259 inline AwsBackupRecoveryPointDetails& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
260 inline AwsBackupRecoveryPointDetails& WithResourceType(const char* value) { SetResourceType(value); return *this;}
262
264
269 inline const Aws::String& GetSourceBackupVaultArn() const{ return m_sourceBackupVaultArn; }
270 inline bool SourceBackupVaultArnHasBeenSet() const { return m_sourceBackupVaultArnHasBeenSet; }
271 inline void SetSourceBackupVaultArn(const Aws::String& value) { m_sourceBackupVaultArnHasBeenSet = true; m_sourceBackupVaultArn = value; }
272 inline void SetSourceBackupVaultArn(Aws::String&& value) { m_sourceBackupVaultArnHasBeenSet = true; m_sourceBackupVaultArn = std::move(value); }
273 inline void SetSourceBackupVaultArn(const char* value) { m_sourceBackupVaultArnHasBeenSet = true; m_sourceBackupVaultArn.assign(value); }
276 inline AwsBackupRecoveryPointDetails& WithSourceBackupVaultArn(const char* value) { SetSourceBackupVaultArn(value); return *this;}
278
280
286 inline const Aws::String& GetStatus() const{ return m_status; }
287 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
288 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
289 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
290 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
291 inline AwsBackupRecoveryPointDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
292 inline AwsBackupRecoveryPointDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
293 inline AwsBackupRecoveryPointDetails& WithStatus(const char* value) { SetStatus(value); return *this;}
295
297
300 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
301 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
302 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
303 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
304 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
306 inline AwsBackupRecoveryPointDetails& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
307 inline AwsBackupRecoveryPointDetails& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
309
311
316 inline const Aws::String& GetStorageClass() const{ return m_storageClass; }
317 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
318 inline void SetStorageClass(const Aws::String& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
319 inline void SetStorageClass(Aws::String&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); }
320 inline void SetStorageClass(const char* value) { m_storageClassHasBeenSet = true; m_storageClass.assign(value); }
321 inline AwsBackupRecoveryPointDetails& WithStorageClass(const Aws::String& value) { SetStorageClass(value); return *this;}
322 inline AwsBackupRecoveryPointDetails& WithStorageClass(Aws::String&& value) { SetStorageClass(std::move(value)); return *this;}
323 inline AwsBackupRecoveryPointDetails& WithStorageClass(const char* value) { SetStorageClass(value); return *this;}
325 private:
326
327 long long m_backupSizeInBytes;
328 bool m_backupSizeInBytesHasBeenSet = false;
329
330 Aws::String m_backupVaultArn;
331 bool m_backupVaultArnHasBeenSet = false;
332
333 Aws::String m_backupVaultName;
334 bool m_backupVaultNameHasBeenSet = false;
335
337 bool m_calculatedLifecycleHasBeenSet = false;
338
339 Aws::String m_completionDate;
340 bool m_completionDateHasBeenSet = false;
341
343 bool m_createdByHasBeenSet = false;
344
345 Aws::String m_creationDate;
346 bool m_creationDateHasBeenSet = false;
347
348 Aws::String m_encryptionKeyArn;
349 bool m_encryptionKeyArnHasBeenSet = false;
350
351 Aws::String m_iamRoleArn;
352 bool m_iamRoleArnHasBeenSet = false;
353
354 bool m_isEncrypted;
355 bool m_isEncryptedHasBeenSet = false;
356
357 Aws::String m_lastRestoreTime;
358 bool m_lastRestoreTimeHasBeenSet = false;
359
361 bool m_lifecycleHasBeenSet = false;
362
363 Aws::String m_recoveryPointArn;
364 bool m_recoveryPointArnHasBeenSet = false;
365
366 Aws::String m_resourceArn;
367 bool m_resourceArnHasBeenSet = false;
368
369 Aws::String m_resourceType;
370 bool m_resourceTypeHasBeenSet = false;
371
372 Aws::String m_sourceBackupVaultArn;
373 bool m_sourceBackupVaultArnHasBeenSet = false;
374
375 Aws::String m_status;
376 bool m_statusHasBeenSet = false;
377
378 Aws::String m_statusMessage;
379 bool m_statusMessageHasBeenSet = false;
380
381 Aws::String m_storageClass;
382 bool m_storageClassHasBeenSet = false;
383 };
384
385} // namespace Model
386} // namespace SecurityHub
387} // namespace Aws
AwsBackupRecoveryPointDetails & WithStatus(const char *value)
AwsBackupRecoveryPointDetails & WithResourceArn(Aws::String &&value)
AwsBackupRecoveryPointDetails & WithIamRoleArn(const char *value)
void SetLifecycle(const AwsBackupRecoveryPointLifecycleDetails &value)
AwsBackupRecoveryPointDetails & WithCreationDate(const Aws::String &value)
AwsBackupRecoveryPointDetails & WithLastRestoreTime(Aws::String &&value)
void SetCalculatedLifecycle(const AwsBackupRecoveryPointCalculatedLifecycleDetails &value)
AWS_SECURITYHUB_API AwsBackupRecoveryPointDetails(Aws::Utils::Json::JsonView jsonValue)
AwsBackupRecoveryPointDetails & WithEncryptionKeyArn(const char *value)
AwsBackupRecoveryPointDetails & WithLastRestoreTime(const Aws::String &value)
const AwsBackupRecoveryPointLifecycleDetails & GetLifecycle() const
AwsBackupRecoveryPointDetails & WithResourceType(const Aws::String &value)
void SetLifecycle(AwsBackupRecoveryPointLifecycleDetails &&value)
AwsBackupRecoveryPointDetails & WithEncryptionKeyArn(const Aws::String &value)
AwsBackupRecoveryPointDetails & WithEncryptionKeyArn(Aws::String &&value)
AwsBackupRecoveryPointDetails & WithResourceArn(const char *value)
AwsBackupRecoveryPointDetails & WithCompletionDate(const char *value)
AwsBackupRecoveryPointDetails & WithCreationDate(const char *value)
AwsBackupRecoveryPointDetails & WithStorageClass(const char *value)
AwsBackupRecoveryPointDetails & WithSourceBackupVaultArn(const Aws::String &value)
AwsBackupRecoveryPointDetails & WithIamRoleArn(const Aws::String &value)
AwsBackupRecoveryPointDetails & WithCalculatedLifecycle(AwsBackupRecoveryPointCalculatedLifecycleDetails &&value)
AwsBackupRecoveryPointDetails & WithResourceArn(const Aws::String &value)
AwsBackupRecoveryPointDetails & WithRecoveryPointArn(Aws::String &&value)
AwsBackupRecoveryPointDetails & WithLastRestoreTime(const char *value)
AwsBackupRecoveryPointDetails & WithStorageClass(const Aws::String &value)
void SetCreatedBy(AwsBackupRecoveryPointCreatedByDetails &&value)
AwsBackupRecoveryPointDetails & WithCreatedBy(const AwsBackupRecoveryPointCreatedByDetails &value)
AwsBackupRecoveryPointDetails & WithLifecycle(const AwsBackupRecoveryPointLifecycleDetails &value)
AwsBackupRecoveryPointDetails & WithRecoveryPointArn(const char *value)
AwsBackupRecoveryPointDetails & WithCalculatedLifecycle(const AwsBackupRecoveryPointCalculatedLifecycleDetails &value)
AwsBackupRecoveryPointDetails & WithStatusMessage(const Aws::String &value)
AwsBackupRecoveryPointDetails & WithSourceBackupVaultArn(const char *value)
void SetCalculatedLifecycle(AwsBackupRecoveryPointCalculatedLifecycleDetails &&value)
AwsBackupRecoveryPointDetails & WithIamRoleArn(Aws::String &&value)
AWS_SECURITYHUB_API AwsBackupRecoveryPointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsBackupRecoveryPointDetails & WithResourceType(Aws::String &&value)
const AwsBackupRecoveryPointCalculatedLifecycleDetails & GetCalculatedLifecycle() const
AwsBackupRecoveryPointDetails & WithBackupVaultArn(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsBackupRecoveryPointDetails & WithBackupVaultArn(Aws::String &&value)
AwsBackupRecoveryPointDetails & WithStorageClass(Aws::String &&value)
AwsBackupRecoveryPointDetails & WithStatus(const Aws::String &value)
AwsBackupRecoveryPointDetails & WithCreatedBy(AwsBackupRecoveryPointCreatedByDetails &&value)
AwsBackupRecoveryPointDetails & WithBackupVaultName(const char *value)
AwsBackupRecoveryPointDetails & WithBackupSizeInBytes(long long value)
AwsBackupRecoveryPointDetails & WithCompletionDate(Aws::String &&value)
AwsBackupRecoveryPointDetails & WithCompletionDate(const Aws::String &value)
void SetCreatedBy(const AwsBackupRecoveryPointCreatedByDetails &value)
AwsBackupRecoveryPointDetails & WithSourceBackupVaultArn(Aws::String &&value)
AwsBackupRecoveryPointDetails & WithBackupVaultName(const Aws::String &value)
AwsBackupRecoveryPointDetails & WithBackupVaultName(Aws::String &&value)
AwsBackupRecoveryPointDetails & WithResourceType(const char *value)
AwsBackupRecoveryPointDetails & WithCreationDate(Aws::String &&value)
AwsBackupRecoveryPointDetails & WithLifecycle(AwsBackupRecoveryPointLifecycleDetails &&value)
AwsBackupRecoveryPointDetails & WithStatus(Aws::String &&value)
AwsBackupRecoveryPointDetails & WithStatusMessage(Aws::String &&value)
AwsBackupRecoveryPointDetails & WithStatusMessage(const char *value)
AwsBackupRecoveryPointDetails & WithBackupVaultArn(const Aws::String &value)
AwsBackupRecoveryPointDetails & WithRecoveryPointArn(const Aws::String &value)
const AwsBackupRecoveryPointCreatedByDetails & GetCreatedBy() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue