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/StorageEncryptionType.h>
16#include <aws/rds/model/Tag.h>
51 template <
typename DBInstanceArnT = Aws::String>
53 m_dBInstanceArnHasBeenSet =
true;
54 m_dBInstanceArn = std::forward<DBInstanceArnT>(value);
56 template <
typename DBInstanceArnT = Aws::String>
70 template <
typename DbiResourceIdT = Aws::String>
72 m_dbiResourceIdHasBeenSet =
true;
73 m_dbiResourceId = std::forward<DbiResourceIdT>(value);
75 template <
typename DbiResourceIdT = Aws::String>
88 template <
typename RegionT = Aws::String>
90 m_regionHasBeenSet =
true;
91 m_region = std::forward<RegionT>(value);
93 template <
typename RegionT = Aws::String>
107 template <
typename DBInstanceIdentifierT = Aws::String>
109 m_dBInstanceIdentifierHasBeenSet =
true;
110 m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value);
112 template <
typename DBInstanceIdentifierT = Aws::String>
125 template <
typename RestoreWindowT = RestoreWindow>
127 m_restoreWindowHasBeenSet =
true;
128 m_restoreWindow = std::forward<RestoreWindowT>(value);
130 template <
typename RestoreWindowT = RestoreWindow>
144 m_allocatedStorageHasBeenSet =
true;
145 m_allocatedStorage = value;
163 template <
typename StatusT = Aws::String>
165 m_statusHasBeenSet =
true;
166 m_status = std::forward<StatusT>(value);
168 template <
typename StatusT = Aws::String>
184 m_portHasBeenSet =
true;
202 template <
typename AvailabilityZoneT = Aws::String>
204 m_availabilityZoneHasBeenSet =
true;
205 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
207 template <
typename AvailabilityZoneT = Aws::String>
220 template <
typename VpcIdT = Aws::String>
222 m_vpcIdHasBeenSet =
true;
223 m_vpcId = std::forward<VpcIdT>(value);
225 template <
typename VpcIdT = Aws::String>
227 SetVpcId(std::forward<VpcIdT>(value));
238 template <
typename InstanceCreateTimeT = Aws::Utils::DateTime>
240 m_instanceCreateTimeHasBeenSet =
true;
241 m_instanceCreateTime = std::forward<InstanceCreateTimeT>(value);
243 template <
typename InstanceCreateTimeT = Aws::Utils::DateTime>
256 template <
typename MasterUsernameT = Aws::String>
258 m_masterUsernameHasBeenSet =
true;
259 m_masterUsername = std::forward<MasterUsernameT>(value);
261 template <
typename MasterUsernameT = Aws::String>
274 template <
typename EngineT = Aws::String>
276 m_engineHasBeenSet =
true;
277 m_engine = std::forward<EngineT>(value);
279 template <
typename EngineT = Aws::String>
292 template <
typename EngineVersionT = Aws::String>
294 m_engineVersionHasBeenSet =
true;
295 m_engineVersion = std::forward<EngineVersionT>(value);
297 template <
typename EngineVersionT = Aws::String>
310 template <
typename LicenseModelT = Aws::String>
312 m_licenseModelHasBeenSet =
true;
313 m_licenseModel = std::forward<LicenseModelT>(value);
315 template <
typename LicenseModelT = Aws::String>
329 m_iopsHasBeenSet =
true;
345 m_storageThroughputHasBeenSet =
true;
346 m_storageThroughput = value;
361 template <
typename OptionGroupNameT = Aws::String>
363 m_optionGroupNameHasBeenSet =
true;
364 m_optionGroupName = std::forward<OptionGroupNameT>(value);
366 template <
typename OptionGroupNameT = Aws::String>
380 template <
typename TdeCredentialArnT = Aws::String>
382 m_tdeCredentialArnHasBeenSet =
true;
383 m_tdeCredentialArn = std::forward<TdeCredentialArnT>(value);
385 template <
typename TdeCredentialArnT = Aws::String>
399 m_encryptedHasBeenSet =
true;
420 m_storageEncryptionTypeHasBeenSet =
true;
421 m_storageEncryptionType = value;
435 template <
typename StorageTypeT = Aws::String>
437 m_storageTypeHasBeenSet =
true;
438 m_storageType = std::forward<StorageTypeT>(value);
440 template <
typename StorageTypeT = Aws::String>
455 template <
typename KmsKeyIdT = Aws::String>
457 m_kmsKeyIdHasBeenSet =
true;
458 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
460 template <
typename KmsKeyIdT = Aws::String>
476 template <
typename TimezoneT = Aws::String>
478 m_timezoneHasBeenSet =
true;
479 m_timezone = std::forward<TimezoneT>(value);
481 template <
typename TimezoneT = Aws::String>
496 m_iAMDatabaseAuthenticationEnabledHasBeenSet =
true;
497 m_iAMDatabaseAuthenticationEnabled = value;
512 m_backupRetentionPeriodHasBeenSet =
true;
513 m_backupRetentionPeriod = value;
529 template <
typename PreferredBackupWindowT = Aws::String>
531 m_preferredBackupWindowHasBeenSet =
true;
532 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
534 template <
typename PreferredBackupWindowT = Aws::String>
547 template <
typename DBInstanceAutomatedBackupsArnT = Aws::String>
549 m_dBInstanceAutomatedBackupsArnHasBeenSet =
true;
550 m_dBInstanceAutomatedBackupsArn = std::forward<DBInstanceAutomatedBackupsArnT>(value);
552 template <
typename DBInstanceAutomatedBackupsArnT = Aws::String>
565 return m_dBInstanceAutomatedBackupsReplications;
568 template <
typename DBInstanceAutomatedBackupsReplicationsT = Aws::Vector<DBInstanceAutomatedBackupsReplication>>
570 m_dBInstanceAutomatedBackupsReplicationsHasBeenSet =
true;
571 m_dBInstanceAutomatedBackupsReplications = std::forward<DBInstanceAutomatedBackupsReplicationsT>(value);
573 template <
typename DBInstanceAutomatedBackupsReplicationsT = Aws::Vector<DBInstanceAutomatedBackupsReplication>>
578 template <
typename DBInstanceAutomatedBackupsReplicationsT = DBInstanceAutomatedBackupsReplication>
580 m_dBInstanceAutomatedBackupsReplicationsHasBeenSet =
true;
581 m_dBInstanceAutomatedBackupsReplications.emplace_back(std::forward<DBInstanceAutomatedBackupsReplicationsT>(value));
593 template <
typename BackupTargetT = Aws::String>
595 m_backupTargetHasBeenSet =
true;
596 m_backupTarget = std::forward<BackupTargetT>(value);
598 template <
typename BackupTargetT = Aws::String>
614 m_multiTenantHasBeenSet =
true;
615 m_multiTenant = value;
630 template <
typename AwsBackupRecoveryPo
intArnT = Aws::String>
632 m_awsBackupRecoveryPointArnHasBeenSet =
true;
633 m_awsBackupRecoveryPointArn = std::forward<AwsBackupRecoveryPointArnT>(value);
635 template <
typename AwsBackupRecoveryPo
intArnT = Aws::String>
646 template <
typename TagListT = Aws::Vector<Tag>>
648 m_tagListHasBeenSet =
true;
649 m_tagList = std::forward<TagListT>(value);
651 template <
typename TagListT = Aws::Vector<Tag>>
656 template <
typename TagListT = Tag>
658 m_tagListHasBeenSet =
true;
659 m_tagList.emplace_back(std::forward<TagListT>(value));
672 m_dedicatedLogVolumeHasBeenSet =
true;
673 m_dedicatedLogVolume = value;
688 template <
typename AdditionalStorageVolumesT = Aws::Vector<AdditionalStorageVolume>>
690 m_additionalStorageVolumesHasBeenSet =
true;
691 m_additionalStorageVolumes = std::forward<AdditionalStorageVolumesT>(value);
693 template <
typename AdditionalStorageVolumesT = Aws::Vector<AdditionalStorageVolume>>
698 template <
typename AdditionalStorageVolumesT = AdditionalStorageVolume>
700 m_additionalStorageVolumesHasBeenSet =
true;
701 m_additionalStorageVolumes.emplace_back(std::forward<AdditionalStorageVolumesT>(value));
716 int m_allocatedStorage{0};
738 int m_storageThroughput{0};
744 bool m_encrypted{
false};
754 bool m_iAMDatabaseAuthenticationEnabled{
false};
756 int m_backupRetentionPeriod{0};
766 bool m_multiTenant{
false};
772 bool m_dedicatedLogVolume{
false};
775 bool m_dBInstanceArnHasBeenSet =
false;
776 bool m_dbiResourceIdHasBeenSet =
false;
777 bool m_regionHasBeenSet =
false;
778 bool m_dBInstanceIdentifierHasBeenSet =
false;
779 bool m_restoreWindowHasBeenSet =
false;
780 bool m_allocatedStorageHasBeenSet =
false;
781 bool m_statusHasBeenSet =
false;
782 bool m_portHasBeenSet =
false;
783 bool m_availabilityZoneHasBeenSet =
false;
784 bool m_vpcIdHasBeenSet =
false;
785 bool m_instanceCreateTimeHasBeenSet =
false;
786 bool m_masterUsernameHasBeenSet =
false;
787 bool m_engineHasBeenSet =
false;
788 bool m_engineVersionHasBeenSet =
false;
789 bool m_licenseModelHasBeenSet =
false;
790 bool m_iopsHasBeenSet =
false;
791 bool m_storageThroughputHasBeenSet =
false;
792 bool m_optionGroupNameHasBeenSet =
false;
793 bool m_tdeCredentialArnHasBeenSet =
false;
794 bool m_encryptedHasBeenSet =
false;
795 bool m_storageEncryptionTypeHasBeenSet =
false;
796 bool m_storageTypeHasBeenSet =
false;
797 bool m_kmsKeyIdHasBeenSet =
false;
798 bool m_timezoneHasBeenSet =
false;
799 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet =
false;
800 bool m_backupRetentionPeriodHasBeenSet =
false;
801 bool m_preferredBackupWindowHasBeenSet =
false;
802 bool m_dBInstanceAutomatedBackupsArnHasBeenSet =
false;
803 bool m_dBInstanceAutomatedBackupsReplicationsHasBeenSet =
false;
804 bool m_backupTargetHasBeenSet =
false;
805 bool m_multiTenantHasBeenSet =
false;
806 bool m_awsBackupRecoveryPointArnHasBeenSet =
false;
807 bool m_tagListHasBeenSet =
false;
808 bool m_dedicatedLogVolumeHasBeenSet =
false;
809 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)
DBInstanceAutomatedBackup & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
void SetIAMDatabaseAuthenticationEnabled(bool value)
DBInstanceAutomatedBackup & WithLicenseModel(LicenseModelT &&value)
bool DBInstanceAutomatedBackupsReplicationsHasBeenSet() const
bool DbiResourceIdHasBeenSet() const
const Aws::String & GetLicenseModel() const
bool StorageEncryptionTypeHasBeenSet() 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
void SetStorageEncryptionType(StorageEncryptionType value)
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
DBInstanceAutomatedBackup & WithStorageEncryptionType(StorageEncryptionType value)
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
const Aws::String & GetPreferredBackupWindow() 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
StorageEncryptionType GetStorageEncryptionType() 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
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
DBInstanceAutomatedBackup & WithEngine(EngineT &&value)
bool BackupRetentionPeriodHasBeenSet() const
bool DBInstanceAutomatedBackupsArnHasBeenSet() const
bool GetIAMDatabaseAuthenticationEnabled() const
DBInstanceAutomatedBackup & WithAvailabilityZone(AvailabilityZoneT &&value)
DBInstanceAutomatedBackup & WithRegion(RegionT &&value)
bool PreferredBackupWindowHasBeenSet() const
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