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>
54 template<
typename DBInstanceArnT = Aws::String>
55 void SetDBInstanceArn(DBInstanceArnT&& value) { m_dBInstanceArnHasBeenSet =
true; m_dBInstanceArn = std::forward<DBInstanceArnT>(value); }
56 template<
typename DBInstanceArnT = Aws::String>
67 template<
typename DbiResourceIdT = Aws::String>
68 void SetDbiResourceId(DbiResourceIdT&& value) { m_dbiResourceIdHasBeenSet =
true; m_dbiResourceId = std::forward<DbiResourceIdT>(value); }
69 template<
typename DbiResourceIdT = Aws::String>
79 template<
typename RegionT = Aws::String>
80 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
81 template<
typename RegionT = Aws::String>
92 template<
typename DBInstanceIdentifierT = Aws::String>
93 void SetDBInstanceIdentifier(DBInstanceIdentifierT&& value) { m_dBInstanceIdentifierHasBeenSet =
true; m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value); }
94 template<
typename DBInstanceIdentifierT = Aws::String>
104 template<
typename RestoreWindowT = RestoreWindow>
105 void SetRestoreWindow(RestoreWindowT&& value) { m_restoreWindowHasBeenSet =
true; m_restoreWindow = std::forward<RestoreWindowT>(value); }
106 template<
typename RestoreWindowT = RestoreWindow>
117 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
131 template<
typename StatusT = Aws::String>
132 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
133 template<
typename StatusT = Aws::String>
145 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
158 template<
typename AvailabilityZoneT = Aws::String>
159 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
160 template<
typename AvailabilityZoneT = Aws::String>
170 template<
typename VpcIdT = Aws::String>
171 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
172 template<
typename VpcIdT = Aws::String>
182 template<
typename InstanceCreateTimeT = Aws::Utils::DateTime>
183 void SetInstanceCreateTime(InstanceCreateTimeT&& value) { m_instanceCreateTimeHasBeenSet =
true; m_instanceCreateTime = std::forward<InstanceCreateTimeT>(value); }
184 template<
typename InstanceCreateTimeT = Aws::Utils::DateTime>
194 template<
typename MasterUsernameT = Aws::String>
195 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet =
true; m_masterUsername = std::forward<MasterUsernameT>(value); }
196 template<
typename MasterUsernameT = Aws::String>
206 template<
typename EngineT = Aws::String>
207 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
208 template<
typename EngineT = Aws::String>
218 template<
typename EngineVersionT = Aws::String>
219 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
220 template<
typename EngineVersionT = Aws::String>
230 template<
typename LicenseModelT = Aws::String>
231 void SetLicenseModel(LicenseModelT&& value) { m_licenseModelHasBeenSet =
true; m_licenseModel = std::forward<LicenseModelT>(value); }
232 template<
typename LicenseModelT = Aws::String>
242 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
253 template<
typename OptionGroupNameT = Aws::String>
254 void SetOptionGroupName(OptionGroupNameT&& value) { m_optionGroupNameHasBeenSet =
true; m_optionGroupName = std::forward<OptionGroupNameT>(value); }
255 template<
typename OptionGroupNameT = Aws::String>
266 template<
typename TdeCredentialArnT = Aws::String>
267 void SetTdeCredentialArn(TdeCredentialArnT&& value) { m_tdeCredentialArnHasBeenSet =
true; m_tdeCredentialArn = std::forward<TdeCredentialArnT>(value); }
268 template<
typename TdeCredentialArnT = Aws::String>
278 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
288 template<
typename StorageTypeT = Aws::String>
289 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet =
true; m_storageType = std::forward<StorageTypeT>(value); }
290 template<
typename StorageTypeT = Aws::String>
302 template<
typename KmsKeyIdT = Aws::String>
303 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
304 template<
typename KmsKeyIdT = Aws::String>
317 template<
typename TimezoneT = Aws::String>
318 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet =
true; m_timezone = std::forward<TimezoneT>(value); }
319 template<
typename TimezoneT = Aws::String>
350 template<
typename DBInstanceAutomatedBackupsArnT = Aws::String>
351 void SetDBInstanceAutomatedBackupsArn(DBInstanceAutomatedBackupsArnT&& value) { m_dBInstanceAutomatedBackupsArnHasBeenSet =
true; m_dBInstanceAutomatedBackupsArn = std::forward<DBInstanceAutomatedBackupsArnT>(value); }
352 template<
typename DBInstanceAutomatedBackupsArnT = Aws::String>
363 template<
typename DBInstanceAutomatedBackupsReplicationsT = Aws::Vector<DBInstanceAutomatedBackupsReplication>>
364 void SetDBInstanceAutomatedBackupsReplications(DBInstanceAutomatedBackupsReplicationsT&& value) { m_dBInstanceAutomatedBackupsReplicationsHasBeenSet =
true; m_dBInstanceAutomatedBackupsReplications = std::forward<DBInstanceAutomatedBackupsReplicationsT>(value); }
365 template<
typename DBInstanceAutomatedBackupsReplicationsT = Aws::Vector<DBInstanceAutomatedBackupsReplication>>
367 template<
typename DBInstanceAutomatedBackupsReplicationsT = DBInstanceAutomatedBackupsReplication>
378 template<
typename BackupTargetT = Aws::String>
379 void SetBackupTarget(BackupTargetT&& value) { m_backupTargetHasBeenSet =
true; m_backupTarget = std::forward<BackupTargetT>(value); }
380 template<
typename BackupTargetT = Aws::String>
390 inline void SetStorageThroughput(
int value) { m_storageThroughputHasBeenSet =
true; m_storageThroughput = value; }
401 template<
typename AwsBackupRecoveryPo
intArnT = Aws::String>
402 void SetAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT&& value) { m_awsBackupRecoveryPointArnHasBeenSet =
true; m_awsBackupRecoveryPointArn = std::forward<AwsBackupRecoveryPointArnT>(value); }
403 template<
typename AwsBackupRecoveryPo
intArnT = Aws::String>
414 inline void SetDedicatedLogVolume(
bool value) { m_dedicatedLogVolumeHasBeenSet =
true; m_dedicatedLogVolume = value; }
426 inline void SetMultiTenant(
bool value) { m_multiTenantHasBeenSet =
true; m_multiTenant = value; }
432 bool m_dBInstanceArnHasBeenSet =
false;
435 bool m_dbiResourceIdHasBeenSet =
false;
438 bool m_regionHasBeenSet =
false;
441 bool m_dBInstanceIdentifierHasBeenSet =
false;
444 bool m_restoreWindowHasBeenSet =
false;
446 int m_allocatedStorage{0};
447 bool m_allocatedStorageHasBeenSet =
false;
450 bool m_statusHasBeenSet =
false;
453 bool m_portHasBeenSet =
false;
456 bool m_availabilityZoneHasBeenSet =
false;
459 bool m_vpcIdHasBeenSet =
false;
462 bool m_instanceCreateTimeHasBeenSet =
false;
465 bool m_masterUsernameHasBeenSet =
false;
468 bool m_engineHasBeenSet =
false;
471 bool m_engineVersionHasBeenSet =
false;
474 bool m_licenseModelHasBeenSet =
false;
477 bool m_iopsHasBeenSet =
false;
480 bool m_optionGroupNameHasBeenSet =
false;
483 bool m_tdeCredentialArnHasBeenSet =
false;
485 bool m_encrypted{
false};
486 bool m_encryptedHasBeenSet =
false;
489 bool m_storageTypeHasBeenSet =
false;
492 bool m_kmsKeyIdHasBeenSet =
false;
495 bool m_timezoneHasBeenSet =
false;
497 bool m_iAMDatabaseAuthenticationEnabled{
false};
498 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet =
false;
500 int m_backupRetentionPeriod{0};
501 bool m_backupRetentionPeriodHasBeenSet =
false;
504 bool m_dBInstanceAutomatedBackupsArnHasBeenSet =
false;
507 bool m_dBInstanceAutomatedBackupsReplicationsHasBeenSet =
false;
510 bool m_backupTargetHasBeenSet =
false;
512 int m_storageThroughput{0};
513 bool m_storageThroughputHasBeenSet =
false;
516 bool m_awsBackupRecoveryPointArnHasBeenSet =
false;
518 bool m_dedicatedLogVolume{
false};
519 bool m_dedicatedLogVolumeHasBeenSet =
false;
521 bool m_multiTenant{
false};
522 bool m_multiTenantHasBeenSet =
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
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 & 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)
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
DBInstanceAutomatedBackup & WithStatus(StatusT &&value)
bool EngineHasBeenSet() const
void SetLicenseModel(LicenseModelT &&value)
DBInstanceAutomatedBackup & WithOptionGroupName(OptionGroupNameT &&value)
bool KmsKeyIdHasBeenSet() const
int GetStorageThroughput() const
DBInstanceAutomatedBackup & WithIAMDatabaseAuthenticationEnabled(bool 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)
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
void SetBackupRetentionPeriod(int value)
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