7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/docdb/model/DBClusterMember.h>
13#include <aws/docdb/model/VpcSecurityGroupMembership.h>
14#include <aws/docdb/model/DBClusterRole.h>
82 inline void SetDBClusterIdentifier(
const char* value) { m_dBClusterIdentifierHasBeenSet =
true; m_dBClusterIdentifier.assign(value); }
96 inline void SetDBClusterParameterGroup(
const char* value) { m_dBClusterParameterGroupHasBeenSet =
true; m_dBClusterParameterGroup.assign(value); }
111 inline void SetDBSubnetGroup(
const char* value) { m_dBSubnetGroupHasBeenSet =
true; m_dBSubnetGroup.assign(value); }
125 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
139 inline void SetPercentProgress(
const char* value) { m_percentProgressHasBeenSet =
true; m_percentProgress.assign(value); }
167 inline void SetEndpoint(
const char* value) { m_endpointHasBeenSet =
true; m_endpoint.assign(value); }
190 inline void SetReaderEndpoint(
const char* value) { m_readerEndpointHasBeenSet =
true; m_readerEndpoint.assign(value); }
203 inline void SetMultiAZ(
bool value) { m_multiAZHasBeenSet =
true; m_multiAZ = value; }
215 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
229 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
254 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
266 inline void SetMasterUsername(
const char* value) { m_masterUsernameHasBeenSet =
true; m_masterUsername.assign(value); }
282 inline void SetPreferredBackupWindow(
const char* value) { m_preferredBackupWindowHasBeenSet =
true; m_preferredBackupWindow.assign(value); }
372 inline void SetHostedZoneId(
const char* value) { m_hostedZoneIdHasBeenSet =
true; m_hostedZoneId.assign(value); }
384 inline void SetStorageEncrypted(
bool value) { m_storageEncryptedHasBeenSet =
true; m_storageEncrypted = value; }
397 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
413 inline void SetDbClusterResourceId(
const char* value) { m_dbClusterResourceIdHasBeenSet =
true; m_dbClusterResourceId.assign(value); }
427 inline void SetDBClusterArn(
const char* value) { m_dBClusterArnHasBeenSet =
true; m_dBClusterArn.assign(value); }
458 inline void SetCloneGroupId(
const char* value) { m_cloneGroupIdHasBeenSet =
true; m_cloneGroupId.assign(value); }
503 inline void SetDeletionProtection(
bool value) { m_deletionProtectionHasBeenSet =
true; m_deletionProtection = value; }
519 inline void SetStorageType(
const char* value) { m_storageTypeHasBeenSet =
true; m_storageType.assign(value); }
527 bool m_availabilityZonesHasBeenSet =
false;
529 int m_backupRetentionPeriod;
530 bool m_backupRetentionPeriodHasBeenSet =
false;
533 bool m_dBClusterIdentifierHasBeenSet =
false;
536 bool m_dBClusterParameterGroupHasBeenSet =
false;
539 bool m_dBSubnetGroupHasBeenSet =
false;
542 bool m_statusHasBeenSet =
false;
545 bool m_percentProgressHasBeenSet =
false;
548 bool m_earliestRestorableTimeHasBeenSet =
false;
551 bool m_endpointHasBeenSet =
false;
554 bool m_readerEndpointHasBeenSet =
false;
557 bool m_multiAZHasBeenSet =
false;
560 bool m_engineHasBeenSet =
false;
563 bool m_engineVersionHasBeenSet =
false;
566 bool m_latestRestorableTimeHasBeenSet =
false;
569 bool m_portHasBeenSet =
false;
572 bool m_masterUsernameHasBeenSet =
false;
575 bool m_preferredBackupWindowHasBeenSet =
false;
578 bool m_preferredMaintenanceWindowHasBeenSet =
false;
581 bool m_replicationSourceIdentifierHasBeenSet =
false;
584 bool m_readReplicaIdentifiersHasBeenSet =
false;
587 bool m_dBClusterMembersHasBeenSet =
false;
590 bool m_vpcSecurityGroupsHasBeenSet =
false;
593 bool m_hostedZoneIdHasBeenSet =
false;
595 bool m_storageEncrypted;
596 bool m_storageEncryptedHasBeenSet =
false;
599 bool m_kmsKeyIdHasBeenSet =
false;
602 bool m_dbClusterResourceIdHasBeenSet =
false;
605 bool m_dBClusterArnHasBeenSet =
false;
608 bool m_associatedRolesHasBeenSet =
false;
611 bool m_cloneGroupIdHasBeenSet =
false;
614 bool m_clusterCreateTimeHasBeenSet =
false;
617 bool m_enabledCloudwatchLogsExportsHasBeenSet =
false;
619 bool m_deletionProtection;
620 bool m_deletionProtectionHasBeenSet =
false;
623 bool m_storageTypeHasBeenSet =
false;
void SetReaderEndpoint(const Aws::String &value)
DBCluster & WithDBSubnetGroup(const char *value)
DBCluster & WithKmsKeyId(const char *value)
DBCluster & WithDBClusterMembers(Aws::Vector< DBClusterMember > &&value)
DBCluster & AddAssociatedRoles(DBClusterRole &&value)
DBCluster & AddDBClusterMembers(DBClusterMember &&value)
void SetHostedZoneId(const Aws::String &value)
void SetEarliestRestorableTime(const Aws::Utils::DateTime &value)
void SetCloneGroupId(const char *value)
void SetPreferredBackupWindow(const Aws::String &value)
const Aws::String & GetReplicationSourceIdentifier() const
DBCluster & WithHostedZoneId(Aws::String &&value)
DBCluster & WithDBSubnetGroup(Aws::String &&value)
void SetMasterUsername(const char *value)
DBCluster & WithDBClusterIdentifier(const Aws::String &value)
void SetClusterCreateTime(const Aws::Utils::DateTime &value)
DBCluster & AddAvailabilityZones(Aws::String &&value)
void SetPreferredBackupWindow(Aws::String &&value)
void SetReadReplicaIdentifiers(const Aws::Vector< Aws::String > &value)
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroups() const
DBCluster & WithCloneGroupId(const Aws::String &value)
void SetEndpoint(const char *value)
const Aws::String & GetStatus() const
DBCluster & WithPreferredMaintenanceWindow(const char *value)
bool StatusHasBeenSet() const
DBCluster & WithReaderEndpoint(const char *value)
DBCluster & AddReadReplicaIdentifiers(Aws::String &&value)
DBCluster & WithEndpoint(const char *value)
const Aws::String & GetEngine() const
bool PreferredMaintenanceWindowHasBeenSet() const
DBCluster & WithDBClusterIdentifier(const char *value)
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
void SetDBClusterArn(Aws::String &&value)
DBCluster & WithReaderEndpoint(const Aws::String &value)
void SetReaderEndpoint(Aws::String &&value)
DBCluster & AddEnabledCloudwatchLogsExports(const char *value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Vector< Aws::String > & GetReadReplicaIdentifiers() const
DBCluster & AddReadReplicaIdentifiers(const Aws::String &value)
bool DeletionProtectionHasBeenSet() const
void SetEngineVersion(Aws::String &&value)
void SetDeletionProtection(bool value)
DBCluster & WithMasterUsername(const Aws::String &value)
void SetStatus(const char *value)
void SetStorageEncrypted(bool value)
void SetEngine(Aws::String &&value)
bool ClusterCreateTimeHasBeenSet() const
void SetDBClusterParameterGroup(const char *value)
DBCluster & WithDBClusterMembers(const Aws::Vector< DBClusterMember > &value)
void SetHostedZoneId(const char *value)
DBCluster & WithVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
void SetDbClusterResourceId(const Aws::String &value)
void SetCloneGroupId(Aws::String &&value)
const Aws::String & GetReaderEndpoint() const
void SetEnabledCloudwatchLogsExports(Aws::Vector< Aws::String > &&value)
bool EngineVersionHasBeenSet() const
void SetDBClusterIdentifier(const char *value)
const Aws::String & GetMasterUsername() const
DBCluster & WithVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
bool LatestRestorableTimeHasBeenSet() const
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
DBCluster & AddVpcSecurityGroups(VpcSecurityGroupMembership &&value)
void SetReplicationSourceIdentifier(Aws::String &&value)
bool GetDeletionProtection() const
DBCluster & WithDbClusterResourceId(const Aws::String &value)
DBCluster & WithEngineVersion(Aws::String &&value)
bool ReplicationSourceIdentifierHasBeenSet() const
void SetReplicationSourceIdentifier(const Aws::String &value)
const Aws::Vector< DBClusterRole > & GetAssociatedRoles() const
void SetMasterUsername(const Aws::String &value)
DBCluster & WithEndpoint(Aws::String &&value)
bool EndpointHasBeenSet() const
const Aws::String & GetStorageType() const
bool DBClusterIdentifierHasBeenSet() const
DBCluster & AddEnabledCloudwatchLogsExports(Aws::String &&value)
bool EnabledCloudwatchLogsExportsHasBeenSet() const
bool BackupRetentionPeriodHasBeenSet() const
void SetReadReplicaIdentifiers(Aws::Vector< Aws::String > &&value)
void SetDBSubnetGroup(const char *value)
const Aws::String & GetDBSubnetGroup() const
DBCluster & WithLatestRestorableTime(Aws::Utils::DateTime &&value)
const Aws::String & GetKmsKeyId() const
DBCluster & WithPort(int value)
void SetEndpoint(const Aws::String &value)
DBCluster & AddAssociatedRoles(const DBClusterRole &value)
DBCluster & WithDBSubnetGroup(const Aws::String &value)
DBCluster & AddReadReplicaIdentifiers(const char *value)
void SetAssociatedRoles(const Aws::Vector< DBClusterRole > &value)
DBCluster & WithEnabledCloudwatchLogsExports(const Aws::Vector< Aws::String > &value)
DBCluster & WithDBClusterArn(const char *value)
void SetEngine(const Aws::String &value)
DBCluster & WithPreferredBackupWindow(Aws::String &&value)
void SetDBClusterParameterGroup(const Aws::String &value)
AWS_DOCDB_API DBCluster()
bool EarliestRestorableTimeHasBeenSet() const
const Aws::String & GetDBClusterParameterGroup() const
DBCluster & WithDBClusterParameterGroup(const char *value)
void SetDBClusterParameterGroup(Aws::String &&value)
bool DBClusterMembersHasBeenSet() const
DBCluster & WithHostedZoneId(const char *value)
DBCluster & WithDbClusterResourceId(Aws::String &&value)
DBCluster & AddEnabledCloudwatchLogsExports(const Aws::String &value)
DBCluster & WithEngineVersion(const char *value)
const Aws::String & GetPreferredMaintenanceWindow() const
DBCluster & WithClusterCreateTime(const Aws::Utils::DateTime &value)
DBCluster & WithMultiAZ(bool value)
bool DbClusterResourceIdHasBeenSet() const
const Aws::String & GetDBClusterArn() const
const Aws::Utils::DateTime & GetClusterCreateTime() const
DBCluster & WithHostedZoneId(const Aws::String &value)
DBCluster & WithCloneGroupId(Aws::String &&value)
DBCluster & WithEndpoint(const Aws::String &value)
void SetAssociatedRoles(Aws::Vector< DBClusterRole > &&value)
bool CloneGroupIdHasBeenSet() const
void SetPreferredMaintenanceWindow(const char *value)
DBCluster & WithPreferredMaintenanceWindow(Aws::String &&value)
bool StorageEncryptedHasBeenSet() const
DBCluster & WithEarliestRestorableTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLatestRestorableTime() const
DBCluster & AddDBClusterMembers(const DBClusterMember &value)
void SetStatus(Aws::String &&value)
void SetEnabledCloudwatchLogsExports(const Aws::Vector< Aws::String > &value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
DBCluster & WithReadReplicaIdentifiers(const Aws::Vector< Aws::String > &value)
AWS_DOCDB_API DBCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< DBClusterMember > & GetDBClusterMembers() const
void SetDBClusterArn(const char *value)
DBCluster & WithEngine(const char *value)
DBCluster & WithDBClusterParameterGroup(Aws::String &&value)
DBCluster & WithEarliestRestorableTime(Aws::Utils::DateTime &&value)
void SetHostedZoneId(Aws::String &&value)
void SetDBClusterMembers(const Aws::Vector< DBClusterMember > &value)
DBCluster & WithDBClusterArn(Aws::String &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBCluster & WithStorageType(Aws::String &&value)
void SetDBClusterIdentifier(Aws::String &&value)
const Aws::String & GetPreferredBackupWindow() const
DBCluster & WithStorageEncrypted(bool value)
DBCluster & WithEnabledCloudwatchLogsExports(Aws::Vector< Aws::String > &&value)
void SetBackupRetentionPeriod(int value)
DBCluster & AddVpcSecurityGroups(const VpcSecurityGroupMembership &value)
const Aws::String & GetDBClusterIdentifier() const
DBCluster & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
DBCluster & WithDBClusterIdentifier(Aws::String &&value)
void SetDBSubnetGroup(Aws::String &&value)
bool DBClusterParameterGroupHasBeenSet() const
DBCluster & WithPreferredMaintenanceWindow(const Aws::String &value)
DBCluster & WithKmsKeyId(const Aws::String &value)
void SetDBClusterMembers(Aws::Vector< DBClusterMember > &&value)
void SetEngineVersion(const Aws::String &value)
bool MultiAZHasBeenSet() const
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
bool StorageTypeHasBeenSet() const
DBCluster & WithMasterUsername(Aws::String &&value)
AWS_DOCDB_API DBCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PercentProgressHasBeenSet() const
DBCluster & WithDBClusterParameterGroup(const Aws::String &value)
bool VpcSecurityGroupsHasBeenSet() const
int GetBackupRetentionPeriod() const
DBCluster & WithPreferredBackupWindow(const Aws::String &value)
void SetDbClusterResourceId(const char *value)
void SetPercentProgress(const Aws::String &value)
void SetStatus(const Aws::String &value)
void SetPercentProgress(Aws::String &&value)
DBCluster & WithStatus(const Aws::String &value)
void SetDBSubnetGroup(const Aws::String &value)
const Aws::Vector< Aws::String > & GetEnabledCloudwatchLogsExports() const
DBCluster & WithDeletionProtection(bool value)
DBCluster & WithPreferredBackupWindow(const char *value)
bool ReadReplicaIdentifiersHasBeenSet() const
DBCluster & WithAssociatedRoles(const Aws::Vector< DBClusterRole > &value)
void SetStorageType(const char *value)
void SetEngineVersion(const char *value)
DBCluster & WithReplicationSourceIdentifier(const char *value)
void SetReplicationSourceIdentifier(const char *value)
void SetKmsKeyId(const Aws::String &value)
bool PreferredBackupWindowHasBeenSet() const
const Aws::String & GetEngineVersion() const
DBCluster & WithPercentProgress(Aws::String &&value)
DBCluster & AddAvailabilityZones(const Aws::String &value)
bool DBSubnetGroupHasBeenSet() const
DBCluster & WithReaderEndpoint(Aws::String &&value)
void SetStorageType(const Aws::String &value)
bool HostedZoneIdHasBeenSet() const
void SetClusterCreateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEarliestRestorableTime() const
DBCluster & WithCloneGroupId(const char *value)
bool EngineHasBeenSet() const
DBCluster & WithStatus(const char *value)
void SetDBClusterIdentifier(const Aws::String &value)
DBCluster & WithDbClusterResourceId(const char *value)
bool MasterUsernameHasBeenSet() const
void SetCloneGroupId(const Aws::String &value)
void SetEndpoint(Aws::String &&value)
const Aws::String & GetEndpoint() const
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetCloneGroupId() const
bool PortHasBeenSet() const
DBCluster & WithReplicationSourceIdentifier(const Aws::String &value)
bool GetStorageEncrypted() const
DBCluster & WithClusterCreateTime(Aws::Utils::DateTime &&value)
DBCluster & WithKmsKeyId(Aws::String &&value)
DBCluster & WithReadReplicaIdentifiers(Aws::Vector< Aws::String > &&value)
DBCluster & WithMasterUsername(const char *value)
void SetMasterUsername(Aws::String &&value)
DBCluster & WithLatestRestorableTime(const Aws::Utils::DateTime &value)
DBCluster & WithPercentProgress(const Aws::String &value)
DBCluster & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
void SetKmsKeyId(Aws::String &&value)
bool AvailabilityZonesHasBeenSet() const
void SetKmsKeyId(const char *value)
void SetEarliestRestorableTime(Aws::Utils::DateTime &&value)
void SetStorageType(Aws::String &&value)
bool AssociatedRolesHasBeenSet() const
const Aws::String & GetDbClusterResourceId() const
void SetPercentProgress(const char *value)
DBCluster & WithStorageType(const Aws::String &value)
void SetLatestRestorableTime(Aws::Utils::DateTime &&value)
const Aws::String & GetPercentProgress() const
void SetReaderEndpoint(const char *value)
DBCluster & AddAvailabilityZones(const char *value)
void SetVpcSecurityGroups(const Aws::Vector< VpcSecurityGroupMembership > &value)
DBCluster & WithAssociatedRoles(Aws::Vector< DBClusterRole > &&value)
void SetMultiAZ(bool value)
DBCluster & WithPercentProgress(const char *value)
const Aws::String & GetHostedZoneId() const
void SetLatestRestorableTime(const Aws::Utils::DateTime &value)
DBCluster & WithStatus(Aws::String &&value)
bool ReaderEndpointHasBeenSet() const
DBCluster & WithReplicationSourceIdentifier(Aws::String &&value)
void SetVpcSecurityGroups(Aws::Vector< VpcSecurityGroupMembership > &&value)
bool DBClusterArnHasBeenSet() const
DBCluster & WithEngineVersion(const Aws::String &value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
void SetDbClusterResourceId(Aws::String &&value)
DBCluster & WithEngine(Aws::String &&value)
void SetDBClusterArn(const Aws::String &value)
DBCluster & WithBackupRetentionPeriod(int value)
DBCluster & WithEngine(const Aws::String &value)
DBCluster & WithStorageType(const char *value)
void SetEngine(const char *value)
void SetPreferredBackupWindow(const char *value)
DBCluster & WithDBClusterArn(const Aws::String &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