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/RestoreWindow.h>
13#include <aws/rds/model/StorageEncryptionType.h>
14#include <aws/rds/model/Tag.h>
49 template <
typename EngineT = Aws::String>
51 m_engineHasBeenSet =
true;
52 m_engine = std::forward<EngineT>(value);
54 template <
typename EngineT = Aws::String>
67 template <
typename VpcIdT = Aws::String>
69 m_vpcIdHasBeenSet =
true;
70 m_vpcId = std::forward<VpcIdT>(value);
72 template <
typename VpcIdT = Aws::String>
74 SetVpcId(std::forward<VpcIdT>(value));
85 template <
typename DBClusterAutomatedBackupsArnT = Aws::String>
87 m_dBClusterAutomatedBackupsArnHasBeenSet =
true;
88 m_dBClusterAutomatedBackupsArn = std::forward<DBClusterAutomatedBackupsArnT>(value);
90 template <
typename DBClusterAutomatedBackupsArnT = Aws::String>
104 template <
typename DBClusterIdentifierT = Aws::String>
106 m_dBClusterIdentifierHasBeenSet =
true;
107 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
109 template <
typename DBClusterIdentifierT = Aws::String>
120 template <
typename RestoreWindowT = RestoreWindow>
122 m_restoreWindowHasBeenSet =
true;
123 m_restoreWindow = std::forward<RestoreWindowT>(value);
125 template <
typename RestoreWindowT = RestoreWindow>
138 template <
typename MasterUsernameT = Aws::String>
140 m_masterUsernameHasBeenSet =
true;
141 m_masterUsername = std::forward<MasterUsernameT>(value);
143 template <
typename MasterUsernameT = Aws::String>
157 template <
typename DbClusterResourceIdT = Aws::String>
159 m_dbClusterResourceIdHasBeenSet =
true;
160 m_dbClusterResourceId = std::forward<DbClusterResourceIdT>(value);
162 template <
typename DbClusterResourceIdT = Aws::String>
175 template <
typename RegionT = Aws::String>
177 m_regionHasBeenSet =
true;
178 m_region = std::forward<RegionT>(value);
180 template <
typename RegionT = Aws::String>
193 template <
typename LicenseModelT = Aws::String>
195 m_licenseModelHasBeenSet =
true;
196 m_licenseModel = std::forward<LicenseModelT>(value);
198 template <
typename LicenseModelT = Aws::String>
212 template <
typename StatusT = Aws::String>
214 m_statusHasBeenSet =
true;
215 m_status = std::forward<StatusT>(value);
217 template <
typename StatusT = Aws::String>
232 m_iAMDatabaseAuthenticationEnabledHasBeenSet =
true;
233 m_iAMDatabaseAuthenticationEnabled = value;
248 template <
typename ClusterCreateTimeT = Aws::Utils::DateTime>
250 m_clusterCreateTimeHasBeenSet =
true;
251 m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value);
253 template <
typename ClusterCreateTimeT = Aws::Utils::DateTime>
267 m_storageEncryptedHasBeenSet =
true;
268 m_storageEncrypted = value;
288 m_storageEncryptionTypeHasBeenSet =
true;
289 m_storageEncryptionType = value;
307 m_allocatedStorageHasBeenSet =
true;
308 m_allocatedStorage = value;
322 template <
typename EngineVersionT = Aws::String>
324 m_engineVersionHasBeenSet =
true;
325 m_engineVersion = std::forward<EngineVersionT>(value);
327 template <
typename EngineVersionT = Aws::String>
340 template <
typename DBClusterArnT = Aws::String>
342 m_dBClusterArnHasBeenSet =
true;
343 m_dBClusterArn = std::forward<DBClusterArnT>(value);
345 template <
typename DBClusterArnT = Aws::String>
359 m_backupRetentionPeriodHasBeenSet =
true;
360 m_backupRetentionPeriod = value;
376 template <
typename PreferredBackupWindowT = Aws::String>
378 m_preferredBackupWindowHasBeenSet =
true;
379 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
381 template <
typename PreferredBackupWindowT = Aws::String>
394 template <
typename EngineModeT = Aws::String>
396 m_engineModeHasBeenSet =
true;
397 m_engineMode = std::forward<EngineModeT>(value);
399 template <
typename EngineModeT = Aws::String>
415 template <
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
417 m_availabilityZonesHasBeenSet =
true;
418 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
420 template <
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
425 template <
typename AvailabilityZonesT = Aws::String>
427 m_availabilityZonesHasBeenSet =
true;
428 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
442 m_portHasBeenSet =
true;
459 template <
typename KmsKeyIdT = Aws::String>
461 m_kmsKeyIdHasBeenSet =
true;
462 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
464 template <
typename KmsKeyIdT = Aws::String>
478 template <
typename StorageTypeT = Aws::String>
480 m_storageTypeHasBeenSet =
true;
481 m_storageType = std::forward<StorageTypeT>(value);
483 template <
typename StorageTypeT = Aws::String>
498 m_iopsHasBeenSet =
true;
517 m_storageThroughputHasBeenSet =
true;
518 m_storageThroughput = value;
533 template <
typename AwsBackupRecoveryPo
intArnT = Aws::String>
535 m_awsBackupRecoveryPointArnHasBeenSet =
true;
536 m_awsBackupRecoveryPointArn = std::forward<AwsBackupRecoveryPointArnT>(value);
538 template <
typename AwsBackupRecoveryPo
intArnT = Aws::String>
549 template <
typename TagListT = Aws::Vector<Tag>>
551 m_tagListHasBeenSet =
true;
552 m_tagList = std::forward<TagListT>(value);
554 template <
typename TagListT = Aws::Vector<Tag>>
559 template <
typename TagListT = Tag>
561 m_tagListHasBeenSet =
true;
562 m_tagList.emplace_back(std::forward<TagListT>(value));
587 bool m_iAMDatabaseAuthenticationEnabled{
false};
591 bool m_storageEncrypted{
false};
595 int m_allocatedStorage{0};
601 int m_backupRetentionPeriod{0};
617 int m_storageThroughput{0};
622 bool m_engineHasBeenSet =
false;
623 bool m_vpcIdHasBeenSet =
false;
624 bool m_dBClusterAutomatedBackupsArnHasBeenSet =
false;
625 bool m_dBClusterIdentifierHasBeenSet =
false;
626 bool m_restoreWindowHasBeenSet =
false;
627 bool m_masterUsernameHasBeenSet =
false;
628 bool m_dbClusterResourceIdHasBeenSet =
false;
629 bool m_regionHasBeenSet =
false;
630 bool m_licenseModelHasBeenSet =
false;
631 bool m_statusHasBeenSet =
false;
632 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet =
false;
633 bool m_clusterCreateTimeHasBeenSet =
false;
634 bool m_storageEncryptedHasBeenSet =
false;
635 bool m_storageEncryptionTypeHasBeenSet =
false;
636 bool m_allocatedStorageHasBeenSet =
false;
637 bool m_engineVersionHasBeenSet =
false;
638 bool m_dBClusterArnHasBeenSet =
false;
639 bool m_backupRetentionPeriodHasBeenSet =
false;
640 bool m_preferredBackupWindowHasBeenSet =
false;
641 bool m_engineModeHasBeenSet =
false;
642 bool m_availabilityZonesHasBeenSet =
false;
643 bool m_portHasBeenSet =
false;
644 bool m_kmsKeyIdHasBeenSet =
false;
645 bool m_storageTypeHasBeenSet =
false;
646 bool m_iopsHasBeenSet =
false;
647 bool m_storageThroughputHasBeenSet =
false;
648 bool m_awsBackupRecoveryPointArnHasBeenSet =
false;
649 bool m_tagListHasBeenSet =
false;
void SetStorageType(StorageTypeT &&value)
DBClusterAutomatedBackup & WithIops(int value)
const Aws::String & GetEngineVersion() const
void SetStatus(StatusT &&value)
void SetAvailabilityZones(AvailabilityZonesT &&value)
bool StorageTypeHasBeenSet() const
DBClusterAutomatedBackup & WithEngineVersion(EngineVersionT &&value)
AWS_RDS_API DBClusterAutomatedBackup(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API DBClusterAutomatedBackup()=default
DBClusterAutomatedBackup & WithVpcId(VpcIdT &&value)
const Aws::String & GetDbClusterResourceId() const
bool GetStorageEncrypted() const
void SetRestoreWindow(RestoreWindowT &&value)
void SetLicenseModel(LicenseModelT &&value)
bool IAMDatabaseAuthenticationEnabledHasBeenSet() const
AWS_RDS_API DBClusterAutomatedBackup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterAutomatedBackup & WithStorageEncryptionType(StorageEncryptionType value)
const Aws::String & GetDBClusterArn() const
void SetDBClusterAutomatedBackupsArn(DBClusterAutomatedBackupsArnT &&value)
void SetClusterCreateTime(ClusterCreateTimeT &&value)
bool IopsHasBeenSet() const
bool BackupRetentionPeriodHasBeenSet() const
DBClusterAutomatedBackup & WithTagList(TagListT &&value)
void SetDbClusterResourceId(DbClusterResourceIdT &&value)
bool EngineVersionHasBeenSet() const
void SetBackupRetentionPeriod(int value)
bool StorageEncryptionTypeHasBeenSet() const
const Aws::String & GetKmsKeyId() const
const Aws::String & GetPreferredBackupWindow() const
DBClusterAutomatedBackup & WithStorageEncrypted(bool value)
bool DbClusterResourceIdHasBeenSet() const
const Aws::String & GetDBClusterIdentifier() const
bool StorageEncryptedHasBeenSet() const
const Aws::String & GetDBClusterAutomatedBackupsArn() const
DBClusterAutomatedBackup & WithStorageType(StorageTypeT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
DBClusterAutomatedBackup & WithStorageThroughput(int value)
bool EngineHasBeenSet() const
DBClusterAutomatedBackup & AddAvailabilityZones(AvailabilityZonesT &&value)
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
bool RegionHasBeenSet() const
bool LicenseModelHasBeenSet() const
DBClusterAutomatedBackup & WithIAMDatabaseAuthenticationEnabled(bool value)
StorageEncryptionType GetStorageEncryptionType() const
bool AvailabilityZonesHasBeenSet() const
DBClusterAutomatedBackup & WithLicenseModel(LicenseModelT &&value)
bool TagListHasBeenSet() const
void SetEngineMode(EngineModeT &&value)
bool DBClusterArnHasBeenSet() const
DBClusterAutomatedBackup & WithDBClusterAutomatedBackupsArn(DBClusterAutomatedBackupsArnT &&value)
const Aws::String & GetEngine() const
DBClusterAutomatedBackup & WithAvailabilityZones(AvailabilityZonesT &&value)
const Aws::String & GetEngineMode() const
DBClusterAutomatedBackup & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
const Aws::Vector< Tag > & GetTagList() const
const Aws::String & GetStatus() const
DBClusterAutomatedBackup & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
bool ClusterCreateTimeHasBeenSet() const
bool StorageThroughputHasBeenSet() const
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
int GetAllocatedStorage() const
DBClusterAutomatedBackup & WithRegion(RegionT &&value)
DBClusterAutomatedBackup & WithAllocatedStorage(int value)
void SetMasterUsername(MasterUsernameT &&value)
DBClusterAutomatedBackup & WithBackupRetentionPeriod(int value)
DBClusterAutomatedBackup & WithEngine(EngineT &&value)
bool AwsBackupRecoveryPointArnHasBeenSet() const
const Aws::String & GetLicenseModel() const
bool MasterUsernameHasBeenSet() const
void SetStorageEncrypted(bool value)
const Aws::String & GetRegion() const
void SetStorageEncryptionType(StorageEncryptionType value)
int GetStorageThroughput() const
DBClusterAutomatedBackup & WithPort(int value)
bool DBClusterAutomatedBackupsArnHasBeenSet() const
DBClusterAutomatedBackup & AddTagList(TagListT &&value)
const Aws::Utils::DateTime & GetClusterCreateTime() const
const Aws::String & GetVpcId() const
void SetTagList(TagListT &&value)
void SetEngine(EngineT &&value)
bool AllocatedStorageHasBeenSet() const
void SetVpcId(VpcIdT &&value)
DBClusterAutomatedBackup & WithAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT &&value)
DBClusterAutomatedBackup & WithClusterCreateTime(ClusterCreateTimeT &&value)
void SetAllocatedStorage(int value)
DBClusterAutomatedBackup & WithMasterUsername(MasterUsernameT &&value)
DBClusterAutomatedBackup & WithDbClusterResourceId(DbClusterResourceIdT &&value)
bool StatusHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
const RestoreWindow & GetRestoreWindow() const
void SetAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT &&value)
void SetStorageThroughput(int value)
bool EngineModeHasBeenSet() const
DBClusterAutomatedBackup & WithEngineMode(EngineModeT &&value)
bool PreferredBackupWindowHasBeenSet() const
void SetRegion(RegionT &&value)
int GetBackupRetentionPeriod() const
const Aws::String & GetAwsBackupRecoveryPointArn() const
void SetEngineVersion(EngineVersionT &&value)
bool RestoreWindowHasBeenSet() const
DBClusterAutomatedBackup & WithKmsKeyId(KmsKeyIdT &&value)
DBClusterAutomatedBackup & WithDBClusterArn(DBClusterArnT &&value)
const Aws::String & GetStorageType() const
DBClusterAutomatedBackup & WithStatus(StatusT &&value)
DBClusterAutomatedBackup & WithRestoreWindow(RestoreWindowT &&value)
const Aws::String & GetMasterUsername() const
bool PortHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDBClusterArn(DBClusterArnT &&value)
bool GetIAMDatabaseAuthenticationEnabled() const
bool DBClusterIdentifierHasBeenSet() const
void SetIAMDatabaseAuthenticationEnabled(bool value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool VpcIdHasBeenSet() 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