7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/RDS_EXPORTS.h>
12#include <aws/rds/model/AdditionalStorageVolume.h>
13#include <aws/rds/model/DBInstanceAutomatedBackupsReplication.h>
14#include <aws/rds/model/RestoreWindow.h>
15#include <aws/rds/model/Tag.h>
50 template <
typename DBInstanceArnT = Aws::String>
52 m_dBInstanceArnHasBeenSet =
true;
53 m_dBInstanceArn = std::forward<DBInstanceArnT>(value);
55 template <
typename DBInstanceArnT = Aws::String>
69 template <
typename DbiResourceIdT = Aws::String>
71 m_dbiResourceIdHasBeenSet =
true;
72 m_dbiResourceId = std::forward<DbiResourceIdT>(value);
74 template <
typename DbiResourceIdT = Aws::String>
87 template <
typename RegionT = Aws::String>
89 m_regionHasBeenSet =
true;
90 m_region = std::forward<RegionT>(value);
92 template <
typename RegionT = Aws::String>
106 template <
typename DBInstanceIdentifierT = Aws::String>
108 m_dBInstanceIdentifierHasBeenSet =
true;
109 m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value);
111 template <
typename DBInstanceIdentifierT = Aws::String>
124 template <
typename RestoreWindowT = RestoreWindow>
126 m_restoreWindowHasBeenSet =
true;
127 m_restoreWindow = std::forward<RestoreWindowT>(value);
129 template <
typename RestoreWindowT = RestoreWindow>
143 m_allocatedStorageHasBeenSet =
true;
144 m_allocatedStorage = value;
162 template <
typename StatusT = Aws::String>
164 m_statusHasBeenSet =
true;
165 m_status = std::forward<StatusT>(value);
167 template <
typename StatusT = Aws::String>
183 m_portHasBeenSet =
true;
201 template <
typename AvailabilityZoneT = Aws::String>
203 m_availabilityZoneHasBeenSet =
true;
204 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
206 template <
typename AvailabilityZoneT = Aws::String>
219 template <
typename VpcIdT = Aws::String>
221 m_vpcIdHasBeenSet =
true;
222 m_vpcId = std::forward<VpcIdT>(value);
224 template <
typename VpcIdT = Aws::String>
226 SetVpcId(std::forward<VpcIdT>(value));
237 template <
typename InstanceCreateTimeT = Aws::Utils::DateTime>
239 m_instanceCreateTimeHasBeenSet =
true;
240 m_instanceCreateTime = std::forward<InstanceCreateTimeT>(value);
242 template <
typename InstanceCreateTimeT = Aws::Utils::DateTime>
255 template <
typename MasterUsernameT = Aws::String>
257 m_masterUsernameHasBeenSet =
true;
258 m_masterUsername = std::forward<MasterUsernameT>(value);
260 template <
typename MasterUsernameT = Aws::String>
273 template <
typename EngineT = Aws::String>
275 m_engineHasBeenSet =
true;
276 m_engine = std::forward<EngineT>(value);
278 template <
typename EngineT = Aws::String>
291 template <
typename EngineVersionT = Aws::String>
293 m_engineVersionHasBeenSet =
true;
294 m_engineVersion = std::forward<EngineVersionT>(value);
296 template <
typename EngineVersionT = Aws::String>
309 template <
typename LicenseModelT = Aws::String>
311 m_licenseModelHasBeenSet =
true;
312 m_licenseModel = std::forward<LicenseModelT>(value);
314 template <
typename LicenseModelT = Aws::String>
328 m_iopsHasBeenSet =
true;
344 m_storageThroughputHasBeenSet =
true;
345 m_storageThroughput = value;
360 template <
typename OptionGroupNameT = Aws::String>
362 m_optionGroupNameHasBeenSet =
true;
363 m_optionGroupName = std::forward<OptionGroupNameT>(value);
365 template <
typename OptionGroupNameT = Aws::String>
379 template <
typename TdeCredentialArnT = Aws::String>
381 m_tdeCredentialArnHasBeenSet =
true;
382 m_tdeCredentialArn = std::forward<TdeCredentialArnT>(value);
384 template <
typename TdeCredentialArnT = Aws::String>
398 m_encryptedHasBeenSet =
true;
413 template <
typename StorageTypeT = Aws::String>
415 m_storageTypeHasBeenSet =
true;
416 m_storageType = std::forward<StorageTypeT>(value);
418 template <
typename StorageTypeT = Aws::String>
433 template <
typename KmsKeyIdT = Aws::String>
435 m_kmsKeyIdHasBeenSet =
true;
436 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
438 template <
typename KmsKeyIdT = Aws::String>
454 template <
typename TimezoneT = Aws::String>
456 m_timezoneHasBeenSet =
true;
457 m_timezone = std::forward<TimezoneT>(value);
459 template <
typename TimezoneT = Aws::String>
474 m_iAMDatabaseAuthenticationEnabledHasBeenSet =
true;
475 m_iAMDatabaseAuthenticationEnabled = value;
490 m_backupRetentionPeriodHasBeenSet =
true;
491 m_backupRetentionPeriod = value;
505 template <
typename DBInstanceAutomatedBackupsArnT = Aws::String>
507 m_dBInstanceAutomatedBackupsArnHasBeenSet =
true;
508 m_dBInstanceAutomatedBackupsArn = std::forward<DBInstanceAutomatedBackupsArnT>(value);
510 template <
typename DBInstanceAutomatedBackupsArnT = Aws::String>
523 return m_dBInstanceAutomatedBackupsReplications;
526 template <
typename DBInstanceAutomatedBackupsReplicationsT = Aws::Vector<DBInstanceAutomatedBackupsReplication>>
528 m_dBInstanceAutomatedBackupsReplicationsHasBeenSet =
true;
529 m_dBInstanceAutomatedBackupsReplications = std::forward<DBInstanceAutomatedBackupsReplicationsT>(value);
531 template <
typename DBInstanceAutomatedBackupsReplicationsT = Aws::Vector<DBInstanceAutomatedBackupsReplication>>
536 template <
typename DBInstanceAutomatedBackupsReplicationsT = DBInstanceAutomatedBackupsReplication>
538 m_dBInstanceAutomatedBackupsReplicationsHasBeenSet =
true;
539 m_dBInstanceAutomatedBackupsReplications.emplace_back(std::forward<DBInstanceAutomatedBackupsReplicationsT>(value));
551 template <
typename BackupTargetT = Aws::String>
553 m_backupTargetHasBeenSet =
true;
554 m_backupTarget = std::forward<BackupTargetT>(value);
556 template <
typename BackupTargetT = Aws::String>
572 m_multiTenantHasBeenSet =
true;
573 m_multiTenant = value;
588 template <
typename AwsBackupRecoveryPo
intArnT = Aws::String>
590 m_awsBackupRecoveryPointArnHasBeenSet =
true;
591 m_awsBackupRecoveryPointArn = std::forward<AwsBackupRecoveryPointArnT>(value);
593 template <
typename AwsBackupRecoveryPo
intArnT = Aws::String>
604 template <
typename TagListT = Aws::Vector<Tag>>
606 m_tagListHasBeenSet =
true;
607 m_tagList = std::forward<TagListT>(value);
609 template <
typename TagListT = Aws::Vector<Tag>>
614 template <
typename TagListT = Tag>
616 m_tagListHasBeenSet =
true;
617 m_tagList.emplace_back(std::forward<TagListT>(value));
630 m_dedicatedLogVolumeHasBeenSet =
true;
631 m_dedicatedLogVolume = value;
646 template <
typename AdditionalStorageVolumesT = Aws::Vector<AdditionalStorageVolume>>
648 m_additionalStorageVolumesHasBeenSet =
true;
649 m_additionalStorageVolumes = std::forward<AdditionalStorageVolumesT>(value);
651 template <
typename AdditionalStorageVolumesT = Aws::Vector<AdditionalStorageVolume>>
656 template <
typename AdditionalStorageVolumesT = AdditionalStorageVolume>
658 m_additionalStorageVolumesHasBeenSet =
true;
659 m_additionalStorageVolumes.emplace_back(std::forward<AdditionalStorageVolumesT>(value));
674 int m_allocatedStorage{0};
696 int m_storageThroughput{0};
702 bool m_encrypted{
false};
710 bool m_iAMDatabaseAuthenticationEnabled{
false};
712 int m_backupRetentionPeriod{0};
720 bool m_multiTenant{
false};
726 bool m_dedicatedLogVolume{
false};
729 bool m_dBInstanceArnHasBeenSet =
false;
730 bool m_dbiResourceIdHasBeenSet =
false;
731 bool m_regionHasBeenSet =
false;
732 bool m_dBInstanceIdentifierHasBeenSet =
false;
733 bool m_restoreWindowHasBeenSet =
false;
734 bool m_allocatedStorageHasBeenSet =
false;
735 bool m_statusHasBeenSet =
false;
736 bool m_portHasBeenSet =
false;
737 bool m_availabilityZoneHasBeenSet =
false;
738 bool m_vpcIdHasBeenSet =
false;
739 bool m_instanceCreateTimeHasBeenSet =
false;
740 bool m_masterUsernameHasBeenSet =
false;
741 bool m_engineHasBeenSet =
false;
742 bool m_engineVersionHasBeenSet =
false;
743 bool m_licenseModelHasBeenSet =
false;
744 bool m_iopsHasBeenSet =
false;
745 bool m_storageThroughputHasBeenSet =
false;
746 bool m_optionGroupNameHasBeenSet =
false;
747 bool m_tdeCredentialArnHasBeenSet =
false;
748 bool m_encryptedHasBeenSet =
false;
749 bool m_storageTypeHasBeenSet =
false;
750 bool m_kmsKeyIdHasBeenSet =
false;
751 bool m_timezoneHasBeenSet =
false;
752 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet =
false;
753 bool m_backupRetentionPeriodHasBeenSet =
false;
754 bool m_dBInstanceAutomatedBackupsArnHasBeenSet =
false;
755 bool m_dBInstanceAutomatedBackupsReplicationsHasBeenSet =
false;
756 bool m_backupTargetHasBeenSet =
false;
757 bool m_multiTenantHasBeenSet =
false;
758 bool m_awsBackupRecoveryPointArnHasBeenSet =
false;
759 bool m_tagListHasBeenSet =
false;
760 bool m_dedicatedLogVolumeHasBeenSet =
false;
761 bool m_additionalStorageVolumesHasBeenSet =
false;
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 & AddDBInstanceAutomatedBackupsReplications(DBInstanceAutomatedBackupsReplicationsT &&value)
int GetBackupRetentionPeriod() const
DBInstanceAutomatedBackup & WithBackupRetentionPeriod(int value)
bool MultiTenantHasBeenSet() const
AWS_RDS_API DBInstanceAutomatedBackup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetBackupTarget() const
void SetMasterUsername(MasterUsernameT &&value)
void SetStorageType(StorageTypeT &&value)
const Aws::String & GetAwsBackupRecoveryPointArn() const
DBInstanceAutomatedBackup & WithStorageType(StorageTypeT &&value)
void SetEngineVersion(EngineVersionT &&value)
void SetStorageThroughput(int value)
bool GetDedicatedLogVolume() const
AWS_RDS_API DBInstanceAutomatedBackup()=default
bool AvailabilityZoneHasBeenSet() const
bool AdditionalStorageVolumesHasBeenSet() const
const Aws::String & GetTimezone() const
void SetRegion(RegionT &&value)
void SetDBInstanceAutomatedBackupsArn(DBInstanceAutomatedBackupsArnT &&value)
void SetDedicatedLogVolume(bool value)
bool GetMultiTenant() const
DBInstanceAutomatedBackup & WithTdeCredentialArn(TdeCredentialArnT &&value)
void SetAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT &&value)
const Aws::Vector< DBInstanceAutomatedBackupsReplication > & GetDBInstanceAutomatedBackupsReplications() const
DBInstanceAutomatedBackup & WithDBInstanceAutomatedBackupsArn(DBInstanceAutomatedBackupsArnT &&value)
DBInstanceAutomatedBackup & AddTagList(TagListT &&value)
DBInstanceAutomatedBackup & WithTimezone(TimezoneT &&value)
bool DBInstanceArnHasBeenSet() const
DBInstanceAutomatedBackup & WithDBInstanceIdentifier(DBInstanceIdentifierT &&value)
DBInstanceAutomatedBackup & WithKmsKeyId(KmsKeyIdT &&value)
DBInstanceAutomatedBackup & WithMasterUsername(MasterUsernameT &&value)
void SetIAMDatabaseAuthenticationEnabled(bool value)
DBInstanceAutomatedBackup & WithLicenseModel(LicenseModelT &&value)
bool DBInstanceAutomatedBackupsReplicationsHasBeenSet() const
bool DbiResourceIdHasBeenSet() const
const Aws::String & GetLicenseModel() const
void SetEngine(EngineT &&value)
const Aws::Vector< AdditionalStorageVolume > & GetAdditionalStorageVolumes() const
DBInstanceAutomatedBackup & WithEncrypted(bool value)
void SetTdeCredentialArn(TdeCredentialArnT &&value)
const Aws::String & GetEngine() const
bool AwsBackupRecoveryPointArnHasBeenSet() const
void SetVpcId(VpcIdT &&value)
DBInstanceAutomatedBackup & WithDedicatedLogVolume(bool value)
const RestoreWindow & GetRestoreWindow() const
bool EncryptedHasBeenSet() const
DBInstanceAutomatedBackup & WithBackupTarget(BackupTargetT &&value)
bool BackupTargetHasBeenSet() const
const Aws::String & GetDBInstanceArn() const
bool DBInstanceIdentifierHasBeenSet() const
bool LicenseModelHasBeenSet() const
DBInstanceAutomatedBackup & WithAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT &&value)
void SetRestoreWindow(RestoreWindowT &&value)
DBInstanceAutomatedBackup & WithEngineVersion(EngineVersionT &&value)
const Aws::String & GetTdeCredentialArn() const
const Aws::Utils::DateTime & GetInstanceCreateTime() const
const Aws::String & GetOptionGroupName() const
void SetTagList(TagListT &&value)
const Aws::Vector< Tag > & GetTagList() const
DBInstanceAutomatedBackup & WithStatus(StatusT &&value)
bool EngineHasBeenSet() const
void SetLicenseModel(LicenseModelT &&value)
DBInstanceAutomatedBackup & WithOptionGroupName(OptionGroupNameT &&value)
void SetAdditionalStorageVolumes(AdditionalStorageVolumesT &&value)
bool KmsKeyIdHasBeenSet() const
int GetStorageThroughput() const
DBInstanceAutomatedBackup & WithIAMDatabaseAuthenticationEnabled(bool value)
DBInstanceAutomatedBackup & WithAdditionalStorageVolumes(AdditionalStorageVolumesT &&value)
const Aws::String & GetDbiResourceId() const
int GetAllocatedStorage() const
const Aws::String & GetKmsKeyId() const
void SetStatus(StatusT &&value)
void SetMultiTenant(bool value)
void SetDBInstanceAutomatedBackupsReplications(DBInstanceAutomatedBackupsReplicationsT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
DBInstanceAutomatedBackup & AddAdditionalStorageVolumes(AdditionalStorageVolumesT &&value)
bool DedicatedLogVolumeHasBeenSet() const
bool IopsHasBeenSet() const
bool VpcIdHasBeenSet() const
bool GetEncrypted() const
bool AllocatedStorageHasBeenSet() const
bool OptionGroupNameHasBeenSet() const
bool InstanceCreateTimeHasBeenSet() const
void SetTimezone(TimezoneT &&value)
bool StorageTypeHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetOptionGroupName(OptionGroupNameT &&value)
const Aws::String & GetAvailabilityZone() const
void SetKmsKeyId(KmsKeyIdT &&value)
bool TimezoneHasBeenSet() const
const Aws::String & GetRegion() const
DBInstanceAutomatedBackup & WithDbiResourceId(DbiResourceIdT &&value)
DBInstanceAutomatedBackup & WithPort(int value)
DBInstanceAutomatedBackup & WithDBInstanceAutomatedBackupsReplications(DBInstanceAutomatedBackupsReplicationsT &&value)
bool RestoreWindowHasBeenSet() const
void SetEncrypted(bool value)
bool IAMDatabaseAuthenticationEnabledHasBeenSet() const
const Aws::String & GetMasterUsername() const
const Aws::String & GetEngineVersion() const
void SetInstanceCreateTime(InstanceCreateTimeT &&value)
DBInstanceAutomatedBackup & WithAllocatedStorage(int value)
void SetBackupTarget(BackupTargetT &&value)
const Aws::String & GetDBInstanceIdentifier() const
bool MasterUsernameHasBeenSet() const
bool RegionHasBeenSet() const
const Aws::String & GetStorageType() const
bool StatusHasBeenSet() const
const Aws::String & GetVpcId() const
DBInstanceAutomatedBackup & WithTagList(TagListT &&value)
void SetBackupRetentionPeriod(int value)
bool TagListHasBeenSet() const
void SetDBInstanceArn(DBInstanceArnT &&value)
DBInstanceAutomatedBackup & WithVpcId(VpcIdT &&value)
DBInstanceAutomatedBackup & WithDBInstanceArn(DBInstanceArnT &&value)
DBInstanceAutomatedBackup & WithRestoreWindow(RestoreWindowT &&value)
void SetDbiResourceId(DbiResourceIdT &&value)
void SetDBInstanceIdentifier(DBInstanceIdentifierT &&value)
bool PortHasBeenSet() const
DBInstanceAutomatedBackup & WithInstanceCreateTime(InstanceCreateTimeT &&value)
DBInstanceAutomatedBackup & WithStorageThroughput(int value)
const Aws::String & GetDBInstanceAutomatedBackupsArn() const
bool StorageThroughputHasBeenSet() const
const Aws::String & GetStatus() const
DBInstanceAutomatedBackup & WithMultiTenant(bool value)
bool TdeCredentialArnHasBeenSet() const
void SetAllocatedStorage(int value)
bool EngineVersionHasBeenSet() const
DBInstanceAutomatedBackup & WithEngine(EngineT &&value)
bool BackupRetentionPeriodHasBeenSet() const
bool DBInstanceAutomatedBackupsArnHasBeenSet() const
bool GetIAMDatabaseAuthenticationEnabled() const
DBInstanceAutomatedBackup & WithAvailabilityZone(AvailabilityZoneT &&value)
DBInstanceAutomatedBackup & WithRegion(RegionT &&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