AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBInstanceAutomatedBackup.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rds/model/RestoreWindow.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/rds/model/DBInstanceAutomatedBackupsReplication.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace RDS
26{
27namespace Model
28{
29
38 {
39 public:
43
44 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const Aws::String& GetDBInstanceArn() const{ return m_dBInstanceArn; }
53 inline bool DBInstanceArnHasBeenSet() const { return m_dBInstanceArnHasBeenSet; }
54 inline void SetDBInstanceArn(const Aws::String& value) { m_dBInstanceArnHasBeenSet = true; m_dBInstanceArn = value; }
55 inline void SetDBInstanceArn(Aws::String&& value) { m_dBInstanceArnHasBeenSet = true; m_dBInstanceArn = std::move(value); }
56 inline void SetDBInstanceArn(const char* value) { m_dBInstanceArnHasBeenSet = true; m_dBInstanceArn.assign(value); }
57 inline DBInstanceAutomatedBackup& WithDBInstanceArn(const Aws::String& value) { SetDBInstanceArn(value); return *this;}
58 inline DBInstanceAutomatedBackup& WithDBInstanceArn(Aws::String&& value) { SetDBInstanceArn(std::move(value)); return *this;}
59 inline DBInstanceAutomatedBackup& WithDBInstanceArn(const char* value) { SetDBInstanceArn(value); return *this;}
61
63
67 inline const Aws::String& GetDbiResourceId() const{ return m_dbiResourceId; }
68 inline bool DbiResourceIdHasBeenSet() const { return m_dbiResourceIdHasBeenSet; }
69 inline void SetDbiResourceId(const Aws::String& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = value; }
70 inline void SetDbiResourceId(Aws::String&& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = std::move(value); }
71 inline void SetDbiResourceId(const char* value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId.assign(value); }
72 inline DBInstanceAutomatedBackup& WithDbiResourceId(const Aws::String& value) { SetDbiResourceId(value); return *this;}
73 inline DBInstanceAutomatedBackup& WithDbiResourceId(Aws::String&& value) { SetDbiResourceId(std::move(value)); return *this;}
74 inline DBInstanceAutomatedBackup& WithDbiResourceId(const char* value) { SetDbiResourceId(value); return *this;}
76
78
81 inline const Aws::String& GetRegion() const{ return m_region; }
82 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
83 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
84 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
85 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
86 inline DBInstanceAutomatedBackup& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
87 inline DBInstanceAutomatedBackup& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
88 inline DBInstanceAutomatedBackup& WithRegion(const char* value) { SetRegion(value); return *this;}
90
92
96 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
97 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
98 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
99 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
100 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
103 inline DBInstanceAutomatedBackup& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
105
107
110 inline const RestoreWindow& GetRestoreWindow() const{ return m_restoreWindow; }
111 inline bool RestoreWindowHasBeenSet() const { return m_restoreWindowHasBeenSet; }
112 inline void SetRestoreWindow(const RestoreWindow& value) { m_restoreWindowHasBeenSet = true; m_restoreWindow = value; }
113 inline void SetRestoreWindow(RestoreWindow&& value) { m_restoreWindowHasBeenSet = true; m_restoreWindow = std::move(value); }
114 inline DBInstanceAutomatedBackup& WithRestoreWindow(const RestoreWindow& value) { SetRestoreWindow(value); return *this;}
115 inline DBInstanceAutomatedBackup& WithRestoreWindow(RestoreWindow&& value) { SetRestoreWindow(std::move(value)); return *this;}
117
119
123 inline int GetAllocatedStorage() const{ return m_allocatedStorage; }
124 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
125 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
126 inline DBInstanceAutomatedBackup& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
128
130
137 inline const Aws::String& GetStatus() const{ return m_status; }
138 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
139 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
140 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
141 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
142 inline DBInstanceAutomatedBackup& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
143 inline DBInstanceAutomatedBackup& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
144 inline DBInstanceAutomatedBackup& WithStatus(const char* value) { SetStatus(value); return *this;}
146
148
153 inline int GetPort() const{ return m_port; }
154 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
155 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
156 inline DBInstanceAutomatedBackup& WithPort(int value) { SetPort(value); return *this;}
158
160
166 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
167 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
168 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
169 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
170 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
172 inline DBInstanceAutomatedBackup& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
173 inline DBInstanceAutomatedBackup& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
175
177
180 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
181 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
182 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
183 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
184 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
185 inline DBInstanceAutomatedBackup& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
186 inline DBInstanceAutomatedBackup& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
187 inline DBInstanceAutomatedBackup& WithVpcId(const char* value) { SetVpcId(value); return *this;}
189
191
194 inline const Aws::Utils::DateTime& GetInstanceCreateTime() const{ return m_instanceCreateTime; }
195 inline bool InstanceCreateTimeHasBeenSet() const { return m_instanceCreateTimeHasBeenSet; }
196 inline void SetInstanceCreateTime(const Aws::Utils::DateTime& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = value; }
197 inline void SetInstanceCreateTime(Aws::Utils::DateTime&& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = std::move(value); }
201
203
206 inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; }
207 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
208 inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
209 inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); }
210 inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); }
211 inline DBInstanceAutomatedBackup& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;}
212 inline DBInstanceAutomatedBackup& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;}
213 inline DBInstanceAutomatedBackup& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;}
215
217
220 inline const Aws::String& GetEngine() const{ return m_engine; }
221 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
222 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
223 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
224 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
225 inline DBInstanceAutomatedBackup& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
226 inline DBInstanceAutomatedBackup& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
227 inline DBInstanceAutomatedBackup& WithEngine(const char* value) { SetEngine(value); return *this;}
229
231
234 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
235 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
236 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
237 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
238 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
239 inline DBInstanceAutomatedBackup& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
240 inline DBInstanceAutomatedBackup& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
241 inline DBInstanceAutomatedBackup& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
243
245
248 inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; }
249 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
250 inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; }
251 inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); }
252 inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); }
253 inline DBInstanceAutomatedBackup& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;}
254 inline DBInstanceAutomatedBackup& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;}
255 inline DBInstanceAutomatedBackup& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;}
257
259
262 inline int GetIops() const{ return m_iops; }
263 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
264 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
265 inline DBInstanceAutomatedBackup& WithIops(int value) { SetIops(value); return *this;}
267
269
273 inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; }
274 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
275 inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; }
276 inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); }
277 inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); }
279 inline DBInstanceAutomatedBackup& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;}
280 inline DBInstanceAutomatedBackup& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;}
282
284
288 inline const Aws::String& GetTdeCredentialArn() const{ return m_tdeCredentialArn; }
289 inline bool TdeCredentialArnHasBeenSet() const { return m_tdeCredentialArnHasBeenSet; }
290 inline void SetTdeCredentialArn(const Aws::String& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = value; }
291 inline void SetTdeCredentialArn(Aws::String&& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = std::move(value); }
292 inline void SetTdeCredentialArn(const char* value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn.assign(value); }
294 inline DBInstanceAutomatedBackup& WithTdeCredentialArn(Aws::String&& value) { SetTdeCredentialArn(std::move(value)); return *this;}
295 inline DBInstanceAutomatedBackup& WithTdeCredentialArn(const char* value) { SetTdeCredentialArn(value); return *this;}
297
299
302 inline bool GetEncrypted() const{ return m_encrypted; }
303 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
304 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
305 inline DBInstanceAutomatedBackup& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
307
309
312 inline const Aws::String& GetStorageType() const{ return m_storageType; }
313 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
314 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
315 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
316 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
317 inline DBInstanceAutomatedBackup& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
318 inline DBInstanceAutomatedBackup& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
319 inline DBInstanceAutomatedBackup& WithStorageType(const char* value) { SetStorageType(value); return *this;}
321
323
328 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
329 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
330 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
331 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
332 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
333 inline DBInstanceAutomatedBackup& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
334 inline DBInstanceAutomatedBackup& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
335 inline DBInstanceAutomatedBackup& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
337
339
345 inline const Aws::String& GetTimezone() const{ return m_timezone; }
346 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
347 inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
348 inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
349 inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
350 inline DBInstanceAutomatedBackup& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
351 inline DBInstanceAutomatedBackup& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
352 inline DBInstanceAutomatedBackup& WithTimezone(const char* value) { SetTimezone(value); return *this;}
354
356
360 inline bool GetIAMDatabaseAuthenticationEnabled() const{ return m_iAMDatabaseAuthenticationEnabled; }
361 inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; }
362 inline void SetIAMDatabaseAuthenticationEnabled(bool value) { m_iAMDatabaseAuthenticationEnabledHasBeenSet = true; m_iAMDatabaseAuthenticationEnabled = value; }
365
367
370 inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; }
371 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
372 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
375
377
380 inline const Aws::String& GetDBInstanceAutomatedBackupsArn() const{ return m_dBInstanceAutomatedBackupsArn; }
381 inline bool DBInstanceAutomatedBackupsArnHasBeenSet() const { return m_dBInstanceAutomatedBackupsArnHasBeenSet; }
382 inline void SetDBInstanceAutomatedBackupsArn(const Aws::String& value) { m_dBInstanceAutomatedBackupsArnHasBeenSet = true; m_dBInstanceAutomatedBackupsArn = value; }
383 inline void SetDBInstanceAutomatedBackupsArn(Aws::String&& value) { m_dBInstanceAutomatedBackupsArnHasBeenSet = true; m_dBInstanceAutomatedBackupsArn = std::move(value); }
384 inline void SetDBInstanceAutomatedBackupsArn(const char* value) { m_dBInstanceAutomatedBackupsArnHasBeenSet = true; m_dBInstanceAutomatedBackupsArn.assign(value); }
389
391
395 inline const Aws::Vector<DBInstanceAutomatedBackupsReplication>& GetDBInstanceAutomatedBackupsReplications() const{ return m_dBInstanceAutomatedBackupsReplications; }
396 inline bool DBInstanceAutomatedBackupsReplicationsHasBeenSet() const { return m_dBInstanceAutomatedBackupsReplicationsHasBeenSet; }
397 inline void SetDBInstanceAutomatedBackupsReplications(const Aws::Vector<DBInstanceAutomatedBackupsReplication>& value) { m_dBInstanceAutomatedBackupsReplicationsHasBeenSet = true; m_dBInstanceAutomatedBackupsReplications = value; }
398 inline void SetDBInstanceAutomatedBackupsReplications(Aws::Vector<DBInstanceAutomatedBackupsReplication>&& value) { m_dBInstanceAutomatedBackupsReplicationsHasBeenSet = true; m_dBInstanceAutomatedBackupsReplications = std::move(value); }
401 inline DBInstanceAutomatedBackup& AddDBInstanceAutomatedBackupsReplications(const DBInstanceAutomatedBackupsReplication& value) { m_dBInstanceAutomatedBackupsReplicationsHasBeenSet = true; m_dBInstanceAutomatedBackupsReplications.push_back(value); return *this; }
402 inline DBInstanceAutomatedBackup& AddDBInstanceAutomatedBackupsReplications(DBInstanceAutomatedBackupsReplication&& value) { m_dBInstanceAutomatedBackupsReplicationsHasBeenSet = true; m_dBInstanceAutomatedBackupsReplications.push_back(std::move(value)); return *this; }
404
406
410 inline const Aws::String& GetBackupTarget() const{ return m_backupTarget; }
411 inline bool BackupTargetHasBeenSet() const { return m_backupTargetHasBeenSet; }
412 inline void SetBackupTarget(const Aws::String& value) { m_backupTargetHasBeenSet = true; m_backupTarget = value; }
413 inline void SetBackupTarget(Aws::String&& value) { m_backupTargetHasBeenSet = true; m_backupTarget = std::move(value); }
414 inline void SetBackupTarget(const char* value) { m_backupTargetHasBeenSet = true; m_backupTarget.assign(value); }
415 inline DBInstanceAutomatedBackup& WithBackupTarget(const Aws::String& value) { SetBackupTarget(value); return *this;}
416 inline DBInstanceAutomatedBackup& WithBackupTarget(Aws::String&& value) { SetBackupTarget(std::move(value)); return *this;}
417 inline DBInstanceAutomatedBackup& WithBackupTarget(const char* value) { SetBackupTarget(value); return *this;}
419
421
424 inline int GetStorageThroughput() const{ return m_storageThroughput; }
425 inline bool StorageThroughputHasBeenSet() const { return m_storageThroughputHasBeenSet; }
426 inline void SetStorageThroughput(int value) { m_storageThroughputHasBeenSet = true; m_storageThroughput = value; }
427 inline DBInstanceAutomatedBackup& WithStorageThroughput(int value) { SetStorageThroughput(value); return *this;}
429
431
435 inline const Aws::String& GetAwsBackupRecoveryPointArn() const{ return m_awsBackupRecoveryPointArn; }
436 inline bool AwsBackupRecoveryPointArnHasBeenSet() const { return m_awsBackupRecoveryPointArnHasBeenSet; }
437 inline void SetAwsBackupRecoveryPointArn(const Aws::String& value) { m_awsBackupRecoveryPointArnHasBeenSet = true; m_awsBackupRecoveryPointArn = value; }
438 inline void SetAwsBackupRecoveryPointArn(Aws::String&& value) { m_awsBackupRecoveryPointArnHasBeenSet = true; m_awsBackupRecoveryPointArn = std::move(value); }
439 inline void SetAwsBackupRecoveryPointArn(const char* value) { m_awsBackupRecoveryPointArnHasBeenSet = true; m_awsBackupRecoveryPointArn.assign(value); }
444
446
450 inline bool GetDedicatedLogVolume() const{ return m_dedicatedLogVolume; }
451 inline bool DedicatedLogVolumeHasBeenSet() const { return m_dedicatedLogVolumeHasBeenSet; }
452 inline void SetDedicatedLogVolume(bool value) { m_dedicatedLogVolumeHasBeenSet = true; m_dedicatedLogVolume = value; }
453 inline DBInstanceAutomatedBackup& WithDedicatedLogVolume(bool value) { SetDedicatedLogVolume(value); return *this;}
455
457
462 inline bool GetMultiTenant() const{ return m_multiTenant; }
463 inline bool MultiTenantHasBeenSet() const { return m_multiTenantHasBeenSet; }
464 inline void SetMultiTenant(bool value) { m_multiTenantHasBeenSet = true; m_multiTenant = value; }
465 inline DBInstanceAutomatedBackup& WithMultiTenant(bool value) { SetMultiTenant(value); return *this;}
467 private:
468
469 Aws::String m_dBInstanceArn;
470 bool m_dBInstanceArnHasBeenSet = false;
471
472 Aws::String m_dbiResourceId;
473 bool m_dbiResourceIdHasBeenSet = false;
474
475 Aws::String m_region;
476 bool m_regionHasBeenSet = false;
477
478 Aws::String m_dBInstanceIdentifier;
479 bool m_dBInstanceIdentifierHasBeenSet = false;
480
481 RestoreWindow m_restoreWindow;
482 bool m_restoreWindowHasBeenSet = false;
483
484 int m_allocatedStorage;
485 bool m_allocatedStorageHasBeenSet = false;
486
487 Aws::String m_status;
488 bool m_statusHasBeenSet = false;
489
490 int m_port;
491 bool m_portHasBeenSet = false;
492
493 Aws::String m_availabilityZone;
494 bool m_availabilityZoneHasBeenSet = false;
495
496 Aws::String m_vpcId;
497 bool m_vpcIdHasBeenSet = false;
498
499 Aws::Utils::DateTime m_instanceCreateTime;
500 bool m_instanceCreateTimeHasBeenSet = false;
501
502 Aws::String m_masterUsername;
503 bool m_masterUsernameHasBeenSet = false;
504
505 Aws::String m_engine;
506 bool m_engineHasBeenSet = false;
507
508 Aws::String m_engineVersion;
509 bool m_engineVersionHasBeenSet = false;
510
511 Aws::String m_licenseModel;
512 bool m_licenseModelHasBeenSet = false;
513
514 int m_iops;
515 bool m_iopsHasBeenSet = false;
516
517 Aws::String m_optionGroupName;
518 bool m_optionGroupNameHasBeenSet = false;
519
520 Aws::String m_tdeCredentialArn;
521 bool m_tdeCredentialArnHasBeenSet = false;
522
523 bool m_encrypted;
524 bool m_encryptedHasBeenSet = false;
525
526 Aws::String m_storageType;
527 bool m_storageTypeHasBeenSet = false;
528
529 Aws::String m_kmsKeyId;
530 bool m_kmsKeyIdHasBeenSet = false;
531
532 Aws::String m_timezone;
533 bool m_timezoneHasBeenSet = false;
534
535 bool m_iAMDatabaseAuthenticationEnabled;
536 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet = false;
537
538 int m_backupRetentionPeriod;
539 bool m_backupRetentionPeriodHasBeenSet = false;
540
541 Aws::String m_dBInstanceAutomatedBackupsArn;
542 bool m_dBInstanceAutomatedBackupsArnHasBeenSet = false;
543
544 Aws::Vector<DBInstanceAutomatedBackupsReplication> m_dBInstanceAutomatedBackupsReplications;
545 bool m_dBInstanceAutomatedBackupsReplicationsHasBeenSet = false;
546
547 Aws::String m_backupTarget;
548 bool m_backupTargetHasBeenSet = false;
549
550 int m_storageThroughput;
551 bool m_storageThroughputHasBeenSet = false;
552
553 Aws::String m_awsBackupRecoveryPointArn;
554 bool m_awsBackupRecoveryPointArnHasBeenSet = false;
555
556 bool m_dedicatedLogVolume;
557 bool m_dedicatedLogVolumeHasBeenSet = false;
558
559 bool m_multiTenant;
560 bool m_multiTenantHasBeenSet = false;
561 };
562
563} // namespace Model
564} // namespace RDS
565} // namespace Aws
DBInstanceAutomatedBackup & WithBackupTarget(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API DBInstanceAutomatedBackup(const Aws::Utils::Xml::XmlNode &xmlNode)
DBInstanceAutomatedBackup & WithIops(int value)
DBInstanceAutomatedBackup & WithBackupRetentionPeriod(int value)
DBInstanceAutomatedBackup & WithDBInstanceAutomatedBackupsArn(const Aws::String &value)
DBInstanceAutomatedBackup & WithEngineVersion(Aws::String &&value)
void SetDBInstanceAutomatedBackupsReplications(Aws::Vector< DBInstanceAutomatedBackupsReplication > &&value)
DBInstanceAutomatedBackup & WithVpcId(const char *value)
DBInstanceAutomatedBackup & WithTdeCredentialArn(Aws::String &&value)
DBInstanceAutomatedBackup & WithDBInstanceAutomatedBackupsReplications(Aws::Vector< DBInstanceAutomatedBackupsReplication > &&value)
AWS_RDS_API DBInstanceAutomatedBackup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBInstanceAutomatedBackup & WithTimezone(const char *value)
void SetInstanceCreateTime(const Aws::Utils::DateTime &value)
void SetDBInstanceIdentifier(const Aws::String &value)
void SetAwsBackupRecoveryPointArn(const Aws::String &value)
DBInstanceAutomatedBackup & WithRegion(const Aws::String &value)
DBInstanceAutomatedBackup & WithStorageType(const char *value)
DBInstanceAutomatedBackup & WithDBInstanceAutomatedBackupsArn(const char *value)
DBInstanceAutomatedBackup & WithVpcId(const Aws::String &value)
void SetDBInstanceAutomatedBackupsReplications(const Aws::Vector< DBInstanceAutomatedBackupsReplication > &value)
DBInstanceAutomatedBackup & WithMasterUsername(const char *value)
DBInstanceAutomatedBackup & WithRegion(Aws::String &&value)
DBInstanceAutomatedBackup & WithDBInstanceIdentifier(const Aws::String &value)
DBInstanceAutomatedBackup & WithDBInstanceAutomatedBackupsArn(Aws::String &&value)
DBInstanceAutomatedBackup & WithLicenseModel(Aws::String &&value)
DBInstanceAutomatedBackup & WithTimezone(Aws::String &&value)
const Aws::Vector< DBInstanceAutomatedBackupsReplication > & GetDBInstanceAutomatedBackupsReplications() const
DBInstanceAutomatedBackup & WithRegion(const char *value)
DBInstanceAutomatedBackup & WithBackupTarget(const char *value)
DBInstanceAutomatedBackup & WithMasterUsername(const Aws::String &value)
DBInstanceAutomatedBackup & WithAvailabilityZone(Aws::String &&value)
DBInstanceAutomatedBackup & WithInstanceCreateTime(Aws::Utils::DateTime &&value)
DBInstanceAutomatedBackup & WithDBInstanceArn(const Aws::String &value)
DBInstanceAutomatedBackup & WithEncrypted(bool value)
DBInstanceAutomatedBackup & WithStatus(const char *value)
DBInstanceAutomatedBackup & WithDedicatedLogVolume(bool value)
DBInstanceAutomatedBackup & WithEngine(const char *value)
DBInstanceAutomatedBackup & WithAwsBackupRecoveryPointArn(const Aws::String &value)
DBInstanceAutomatedBackup & WithEngine(const Aws::String &value)
DBInstanceAutomatedBackup & WithAvailabilityZone(const char *value)
DBInstanceAutomatedBackup & WithAwsBackupRecoveryPointArn(const char *value)
const Aws::Utils::DateTime & GetInstanceCreateTime() const
DBInstanceAutomatedBackup & WithEngineVersion(const char *value)
DBInstanceAutomatedBackup & WithOptionGroupName(const char *value)
DBInstanceAutomatedBackup & WithStatus(Aws::String &&value)
DBInstanceAutomatedBackup & WithIAMDatabaseAuthenticationEnabled(bool value)
DBInstanceAutomatedBackup & WithAvailabilityZone(const Aws::String &value)
DBInstanceAutomatedBackup & WithVpcId(Aws::String &&value)
DBInstanceAutomatedBackup & WithInstanceCreateTime(const Aws::Utils::DateTime &value)
DBInstanceAutomatedBackup & WithRestoreWindow(RestoreWindow &&value)
DBInstanceAutomatedBackup & WithTimezone(const Aws::String &value)
DBInstanceAutomatedBackup & WithBackupTarget(Aws::String &&value)
DBInstanceAutomatedBackup & WithLicenseModel(const Aws::String &value)
DBInstanceAutomatedBackup & WithKmsKeyId(Aws::String &&value)
DBInstanceAutomatedBackup & WithRestoreWindow(const RestoreWindow &value)
DBInstanceAutomatedBackup & WithDBInstanceArn(Aws::String &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBInstanceAutomatedBackup & WithOptionGroupName(Aws::String &&value)
DBInstanceAutomatedBackup & WithPort(int value)
DBInstanceAutomatedBackup & WithLicenseModel(const char *value)
void SetInstanceCreateTime(Aws::Utils::DateTime &&value)
DBInstanceAutomatedBackup & WithEngine(Aws::String &&value)
DBInstanceAutomatedBackup & AddDBInstanceAutomatedBackupsReplications(DBInstanceAutomatedBackupsReplication &&value)
DBInstanceAutomatedBackup & WithAllocatedStorage(int value)
DBInstanceAutomatedBackup & WithTdeCredentialArn(const Aws::String &value)
DBInstanceAutomatedBackup & AddDBInstanceAutomatedBackupsReplications(const DBInstanceAutomatedBackupsReplication &value)
DBInstanceAutomatedBackup & WithEngineVersion(const Aws::String &value)
DBInstanceAutomatedBackup & WithDbiResourceId(Aws::String &&value)
DBInstanceAutomatedBackup & WithDbiResourceId(const Aws::String &value)
DBInstanceAutomatedBackup & WithKmsKeyId(const char *value)
DBInstanceAutomatedBackup & WithDBInstanceIdentifier(const char *value)
DBInstanceAutomatedBackup & WithDBInstanceIdentifier(Aws::String &&value)
DBInstanceAutomatedBackup & WithTdeCredentialArn(const char *value)
DBInstanceAutomatedBackup & WithStorageType(const Aws::String &value)
DBInstanceAutomatedBackup & WithStorageThroughput(int value)
DBInstanceAutomatedBackup & WithKmsKeyId(const Aws::String &value)
void SetDBInstanceAutomatedBackupsArn(const Aws::String &value)
DBInstanceAutomatedBackup & WithStatus(const Aws::String &value)
DBInstanceAutomatedBackup & WithDBInstanceArn(const char *value)
DBInstanceAutomatedBackup & WithMultiTenant(bool value)
DBInstanceAutomatedBackup & WithDbiResourceId(const char *value)
DBInstanceAutomatedBackup & WithOptionGroupName(const Aws::String &value)
DBInstanceAutomatedBackup & WithMasterUsername(Aws::String &&value)
DBInstanceAutomatedBackup & WithAwsBackupRecoveryPointArn(Aws::String &&value)
DBInstanceAutomatedBackup & WithStorageType(Aws::String &&value)
DBInstanceAutomatedBackup & WithDBInstanceAutomatedBackupsReplications(const Aws::Vector< DBInstanceAutomatedBackupsReplication > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream