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>
53 template<
typename EngineT = Aws::String>
54 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
55 template<
typename EngineT = Aws::String>
65 template<
typename VpcIdT = Aws::String>
66 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
67 template<
typename VpcIdT = Aws::String>
77 template<
typename DBClusterAutomatedBackupsArnT = Aws::String>
78 void SetDBClusterAutomatedBackupsArn(DBClusterAutomatedBackupsArnT&& value) { m_dBClusterAutomatedBackupsArnHasBeenSet =
true; m_dBClusterAutomatedBackupsArn = std::forward<DBClusterAutomatedBackupsArnT>(value); }
79 template<
typename DBClusterAutomatedBackupsArnT = Aws::String>
90 template<
typename DBClusterIdentifierT = Aws::String>
91 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet =
true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
92 template<
typename DBClusterIdentifierT = Aws::String>
100 template<
typename RestoreWindowT = RestoreWindow>
101 void SetRestoreWindow(RestoreWindowT&& value) { m_restoreWindowHasBeenSet =
true; m_restoreWindow = std::forward<RestoreWindowT>(value); }
102 template<
typename RestoreWindowT = RestoreWindow>
112 template<
typename MasterUsernameT = Aws::String>
113 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet =
true; m_masterUsername = std::forward<MasterUsernameT>(value); }
114 template<
typename MasterUsernameT = Aws::String>
125 template<
typename DbClusterResourceIdT = Aws::String>
126 void SetDbClusterResourceId(DbClusterResourceIdT&& value) { m_dbClusterResourceIdHasBeenSet =
true; m_dbClusterResourceId = std::forward<DbClusterResourceIdT>(value); }
127 template<
typename DbClusterResourceIdT = Aws::String>
137 template<
typename RegionT = Aws::String>
138 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
139 template<
typename RegionT = Aws::String>
149 template<
typename LicenseModelT = Aws::String>
150 void SetLicenseModel(LicenseModelT&& value) { m_licenseModelHasBeenSet =
true; m_licenseModel = std::forward<LicenseModelT>(value); }
151 template<
typename LicenseModelT = Aws::String>
162 template<
typename StatusT = Aws::String>
163 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
164 template<
typename StatusT = Aws::String>
186 template<
typename ClusterCreateTimeT = Aws::Utils::DateTime>
187 void SetClusterCreateTime(ClusterCreateTimeT&& value) { m_clusterCreateTimeHasBeenSet =
true; m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value); }
188 template<
typename ClusterCreateTimeT = Aws::Utils::DateTime>
198 inline void SetStorageEncrypted(
bool value) { m_storageEncryptedHasBeenSet =
true; m_storageEncrypted = value; }
211 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
221 template<
typename EngineVersionT = Aws::String>
222 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
223 template<
typename EngineVersionT = Aws::String>
233 template<
typename DBClusterArnT = Aws::String>
234 void SetDBClusterArn(DBClusterArnT&& value) { m_dBClusterArnHasBeenSet =
true; m_dBClusterArn = std::forward<DBClusterArnT>(value); }
235 template<
typename DBClusterArnT = Aws::String>
255 template<
typename EngineModeT = Aws::String>
256 void SetEngineMode(EngineModeT&& value) { m_engineModeHasBeenSet =
true; m_engineMode = std::forward<EngineModeT>(value); }
257 template<
typename EngineModeT = Aws::String>
270 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
271 void SetAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
272 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
274 template<
typename AvailabilityZonesT = Aws::String>
286 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
298 template<
typename KmsKeyIdT = Aws::String>
299 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
300 template<
typename KmsKeyIdT = Aws::String>
311 template<
typename StorageTypeT = Aws::String>
312 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet =
true; m_storageType = std::forward<StorageTypeT>(value); }
313 template<
typename StorageTypeT = Aws::String>
324 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
335 template<
typename AwsBackupRecoveryPo
intArnT = Aws::String>
336 void SetAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT&& value) { m_awsBackupRecoveryPointArnHasBeenSet =
true; m_awsBackupRecoveryPointArn = std::forward<AwsBackupRecoveryPointArnT>(value); }
337 template<
typename AwsBackupRecoveryPo
intArnT = Aws::String>
350 inline void SetStorageThroughput(
int value) { m_storageThroughputHasBeenSet =
true; m_storageThroughput = value; }
356 bool m_engineHasBeenSet =
false;
359 bool m_vpcIdHasBeenSet =
false;
362 bool m_dBClusterAutomatedBackupsArnHasBeenSet =
false;
365 bool m_dBClusterIdentifierHasBeenSet =
false;
368 bool m_restoreWindowHasBeenSet =
false;
371 bool m_masterUsernameHasBeenSet =
false;
374 bool m_dbClusterResourceIdHasBeenSet =
false;
377 bool m_regionHasBeenSet =
false;
380 bool m_licenseModelHasBeenSet =
false;
383 bool m_statusHasBeenSet =
false;
385 bool m_iAMDatabaseAuthenticationEnabled{
false};
386 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet =
false;
389 bool m_clusterCreateTimeHasBeenSet =
false;
391 bool m_storageEncrypted{
false};
392 bool m_storageEncryptedHasBeenSet =
false;
394 int m_allocatedStorage{0};
395 bool m_allocatedStorageHasBeenSet =
false;
398 bool m_engineVersionHasBeenSet =
false;
401 bool m_dBClusterArnHasBeenSet =
false;
403 int m_backupRetentionPeriod{0};
404 bool m_backupRetentionPeriodHasBeenSet =
false;
407 bool m_engineModeHasBeenSet =
false;
410 bool m_availabilityZonesHasBeenSet =
false;
413 bool m_portHasBeenSet =
false;
416 bool m_kmsKeyIdHasBeenSet =
false;
419 bool m_storageTypeHasBeenSet =
false;
422 bool m_iopsHasBeenSet =
false;
425 bool m_awsBackupRecoveryPointArnHasBeenSet =
false;
427 int m_storageThroughput{0};
428 bool m_storageThroughputHasBeenSet =
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)
const Aws::String & GetDBClusterArn() const
void SetDBClusterAutomatedBackupsArn(DBClusterAutomatedBackupsArnT &&value)
void SetClusterCreateTime(ClusterCreateTimeT &&value)
bool IopsHasBeenSet() const
bool BackupRetentionPeriodHasBeenSet() const
void SetDbClusterResourceId(DbClusterResourceIdT &&value)
bool EngineVersionHasBeenSet() const
void SetBackupRetentionPeriod(int value)
const Aws::String & GetKmsKeyId() 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)
bool AvailabilityZonesHasBeenSet() const
DBClusterAutomatedBackup & WithLicenseModel(LicenseModelT &&value)
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::String & GetStatus() const
bool ClusterCreateTimeHasBeenSet() const
bool StorageThroughputHasBeenSet() const
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
int GetStorageThroughput() const
DBClusterAutomatedBackup & WithPort(int value)
bool DBClusterAutomatedBackupsArnHasBeenSet() const
const Aws::Utils::DateTime & GetClusterCreateTime() const
const Aws::String & GetVpcId() const
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)
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