/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an Amazon RDS DB cluster.See Also:
AWS
* API Reference
For all database engines except Aurora, specifies the allocated storage size * in gibibytes (GiB).
*/ inline int GetAllocatedStorage() const{ return m_allocatedStorage; } /** *For all database engines except Aurora, specifies the allocated storage size * in gibibytes (GiB).
*/ inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; } /** *For all database engines except Aurora, specifies the allocated storage size * in gibibytes (GiB).
*/ inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; } /** *For all database engines except Aurora, specifies the allocated storage size * in gibibytes (GiB).
*/ inline AwsRdsDbClusterDetails& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;} /** *A list of Availability Zones (AZs) where instances in the DB cluster can be * created.
*/ inline const Aws::VectorA list of Availability Zones (AZs) where instances in the DB cluster can be * created.
*/ inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; } /** *A list of Availability Zones (AZs) where instances in the DB cluster can be * created.
*/ inline void SetAvailabilityZones(const Aws::VectorA list of Availability Zones (AZs) where instances in the DB cluster can be * created.
*/ inline void SetAvailabilityZones(Aws::VectorA list of Availability Zones (AZs) where instances in the DB cluster can be * created.
*/ inline AwsRdsDbClusterDetails& WithAvailabilityZones(const Aws::VectorA list of Availability Zones (AZs) where instances in the DB cluster can be * created.
*/ inline AwsRdsDbClusterDetails& WithAvailabilityZones(Aws::VectorA list of Availability Zones (AZs) where instances in the DB cluster can be * created.
*/ inline AwsRdsDbClusterDetails& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *A list of Availability Zones (AZs) where instances in the DB cluster can be * created.
*/ inline AwsRdsDbClusterDetails& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; } /** *A list of Availability Zones (AZs) where instances in the DB cluster can be * created.
*/ inline AwsRdsDbClusterDetails& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *The number of days for which automated backups are retained.
*/ inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; } /** *The number of days for which automated backups are retained.
*/ inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; } /** *The number of days for which automated backups are retained.
*/ inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; } /** *The number of days for which automated backups are retained.
*/ inline AwsRdsDbClusterDetails& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;} /** *The name of the database.
*/ inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } /** *The name of the database.
*/ inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } /** *The name of the database.
*/ inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } /** *The name of the database.
*/ inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } /** *The name of the database.
*/ inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } /** *The name of the database.
*/ inline AwsRdsDbClusterDetails& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} /** *The name of the database.
*/ inline AwsRdsDbClusterDetails& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} /** *The name of the database.
*/ inline AwsRdsDbClusterDetails& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} /** *The current status of this DB cluster.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The current status of this DB cluster.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of this DB cluster.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of this DB cluster.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of this DB cluster.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The current status of this DB cluster.
*/ inline AwsRdsDbClusterDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The current status of this DB cluster.
*/ inline AwsRdsDbClusterDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The current status of this DB cluster.
*/ inline AwsRdsDbClusterDetails& WithStatus(const char* value) { SetStatus(value); return *this;} /** *The connection endpoint for the primary instance of the DB cluster.
*/ inline const Aws::String& GetEndpoint() const{ return m_endpoint; } /** *The connection endpoint for the primary instance of the DB cluster.
*/ inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; } /** *The connection endpoint for the primary instance of the DB cluster.
*/ inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; } /** *The connection endpoint for the primary instance of the DB cluster.
*/ inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); } /** *The connection endpoint for the primary instance of the DB cluster.
*/ inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); } /** *The connection endpoint for the primary instance of the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} /** *The connection endpoint for the primary instance of the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} /** *The connection endpoint for the primary instance of the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithEndpoint(const char* value) { SetEndpoint(value); return *this;} /** *The reader endpoint for the DB cluster.
*/ inline const Aws::String& GetReaderEndpoint() const{ return m_readerEndpoint; } /** *The reader endpoint for the DB cluster.
*/ inline bool ReaderEndpointHasBeenSet() const { return m_readerEndpointHasBeenSet; } /** *The reader endpoint for the DB cluster.
*/ inline void SetReaderEndpoint(const Aws::String& value) { m_readerEndpointHasBeenSet = true; m_readerEndpoint = value; } /** *The reader endpoint for the DB cluster.
*/ inline void SetReaderEndpoint(Aws::String&& value) { m_readerEndpointHasBeenSet = true; m_readerEndpoint = std::move(value); } /** *The reader endpoint for the DB cluster.
*/ inline void SetReaderEndpoint(const char* value) { m_readerEndpointHasBeenSet = true; m_readerEndpoint.assign(value); } /** *The reader endpoint for the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithReaderEndpoint(const Aws::String& value) { SetReaderEndpoint(value); return *this;} /** *The reader endpoint for the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithReaderEndpoint(Aws::String&& value) { SetReaderEndpoint(std::move(value)); return *this;} /** *The reader endpoint for the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithReaderEndpoint(const char* value) { SetReaderEndpoint(value); return *this;} /** *A list of custom endpoints for the DB cluster.
*/ inline const Aws::VectorA list of custom endpoints for the DB cluster.
*/ inline bool CustomEndpointsHasBeenSet() const { return m_customEndpointsHasBeenSet; } /** *A list of custom endpoints for the DB cluster.
*/ inline void SetCustomEndpoints(const Aws::VectorA list of custom endpoints for the DB cluster.
*/ inline void SetCustomEndpoints(Aws::VectorA list of custom endpoints for the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithCustomEndpoints(const Aws::VectorA list of custom endpoints for the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithCustomEndpoints(Aws::VectorA list of custom endpoints for the DB cluster.
*/ inline AwsRdsDbClusterDetails& AddCustomEndpoints(const Aws::String& value) { m_customEndpointsHasBeenSet = true; m_customEndpoints.push_back(value); return *this; } /** *A list of custom endpoints for the DB cluster.
*/ inline AwsRdsDbClusterDetails& AddCustomEndpoints(Aws::String&& value) { m_customEndpointsHasBeenSet = true; m_customEndpoints.push_back(std::move(value)); return *this; } /** *A list of custom endpoints for the DB cluster.
*/ inline AwsRdsDbClusterDetails& AddCustomEndpoints(const char* value) { m_customEndpointsHasBeenSet = true; m_customEndpoints.push_back(value); return *this; } /** *Whether the DB cluster has instances in multiple Availability Zones.
*/ inline bool GetMultiAz() const{ return m_multiAz; } /** *Whether the DB cluster has instances in multiple Availability Zones.
*/ inline bool MultiAzHasBeenSet() const { return m_multiAzHasBeenSet; } /** *Whether the DB cluster has instances in multiple Availability Zones.
*/ inline void SetMultiAz(bool value) { m_multiAzHasBeenSet = true; m_multiAz = value; } /** *Whether the DB cluster has instances in multiple Availability Zones.
*/ inline AwsRdsDbClusterDetails& WithMultiAz(bool value) { SetMultiAz(value); return *this;} /** *The name of the database engine to use for this DB cluster. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
The name of the database engine to use for this DB cluster. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
The name of the database engine to use for this DB cluster. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
The name of the database engine to use for this DB cluster. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
The name of the database engine to use for this DB cluster. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
The name of the database engine to use for this DB cluster. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
The name of the database engine to use for this DB cluster. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
The name of the database engine to use for this DB cluster. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
The version number of the database engine to use.
*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *The version number of the database engine to use.
*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *The version number of the database engine to use.
*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *The version number of the database engine to use.
*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *The version number of the database engine to use.
*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *The version number of the database engine to use.
*/ inline AwsRdsDbClusterDetails& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *The version number of the database engine to use.
*/ inline AwsRdsDbClusterDetails& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *The version number of the database engine to use.
*/ inline AwsRdsDbClusterDetails& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *The port number on which the DB instances in the DB cluster accept * connections.
*/ inline int GetPort() const{ return m_port; } /** *The port number on which the DB instances in the DB cluster accept * connections.
*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *The port number on which the DB instances in the DB cluster accept * connections.
*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *The port number on which the DB instances in the DB cluster accept * connections.
*/ inline AwsRdsDbClusterDetails& WithPort(int value) { SetPort(value); return *this;} /** *The name of the master user for the DB cluster.
*/ inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; } /** *The name of the master user for the DB cluster.
*/ inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; } /** *The name of the master user for the DB cluster.
*/ inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; } /** *The name of the master user for the DB cluster.
*/ inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); } /** *The name of the master user for the DB cluster.
*/ inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); } /** *The name of the master user for the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;} /** *The name of the master user for the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;} /** *The name of the master user for the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;} /** *The range of time each day when automated backups are created, if automated * backups are enabled.
Uses the format HH:MM-HH:MM
. For
* example, 04:52-05:22
.
The range of time each day when automated backups are created, if automated * backups are enabled.
Uses the format HH:MM-HH:MM
. For
* example, 04:52-05:22
.
The range of time each day when automated backups are created, if automated * backups are enabled.
Uses the format HH:MM-HH:MM
. For
* example, 04:52-05:22
.
The range of time each day when automated backups are created, if automated * backups are enabled.
Uses the format HH:MM-HH:MM
. For
* example, 04:52-05:22
.
The range of time each day when automated backups are created, if automated * backups are enabled.
Uses the format HH:MM-HH:MM
. For
* example, 04:52-05:22
.
The range of time each day when automated backups are created, if automated * backups are enabled.
Uses the format HH:MM-HH:MM
. For
* example, 04:52-05:22
.
The range of time each day when automated backups are created, if automated * backups are enabled.
Uses the format HH:MM-HH:MM
. For
* example, 04:52-05:22
.
The range of time each day when automated backups are created, if automated * backups are enabled.
Uses the format HH:MM-HH:MM
. For
* example, 04:52-05:22
.
The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Uses the format
* <day>:HH:MM-<day>:HH:MM
.
For the day values, use
* mon
|tue
|wed
|thu
|fri
|sat
|sun
.
For example, sun:09:32-sun:10:02
.
The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Uses the format
* <day>:HH:MM-<day>:HH:MM
.
For the day values, use
* mon
|tue
|wed
|thu
|fri
|sat
|sun
.
For example, sun:09:32-sun:10:02
.
The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Uses the format
* <day>:HH:MM-<day>:HH:MM
.
For the day values, use
* mon
|tue
|wed
|thu
|fri
|sat
|sun
.
For example, sun:09:32-sun:10:02
.
The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Uses the format
* <day>:HH:MM-<day>:HH:MM
.
For the day values, use
* mon
|tue
|wed
|thu
|fri
|sat
|sun
.
For example, sun:09:32-sun:10:02
.
The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Uses the format
* <day>:HH:MM-<day>:HH:MM
.
For the day values, use
* mon
|tue
|wed
|thu
|fri
|sat
|sun
.
For example, sun:09:32-sun:10:02
.
The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Uses the format
* <day>:HH:MM-<day>:HH:MM
.
For the day values, use
* mon
|tue
|wed
|thu
|fri
|sat
|sun
.
For example, sun:09:32-sun:10:02
.
The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Uses the format
* <day>:HH:MM-<day>:HH:MM
.
For the day values, use
* mon
|tue
|wed
|thu
|fri
|sat
|sun
.
For example, sun:09:32-sun:10:02
.
The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Uses the format
* <day>:HH:MM-<day>:HH:MM
.
For the day values, use
* mon
|tue
|wed
|thu
|fri
|sat
|sun
.
For example, sun:09:32-sun:10:02
.
The identifiers of the read replicas that are associated with this DB * cluster.
*/ inline const Aws::VectorThe identifiers of the read replicas that are associated with this DB * cluster.
*/ inline bool ReadReplicaIdentifiersHasBeenSet() const { return m_readReplicaIdentifiersHasBeenSet; } /** *The identifiers of the read replicas that are associated with this DB * cluster.
*/ inline void SetReadReplicaIdentifiers(const Aws::VectorThe identifiers of the read replicas that are associated with this DB * cluster.
*/ inline void SetReadReplicaIdentifiers(Aws::VectorThe identifiers of the read replicas that are associated with this DB * cluster.
*/ inline AwsRdsDbClusterDetails& WithReadReplicaIdentifiers(const Aws::VectorThe identifiers of the read replicas that are associated with this DB * cluster.
*/ inline AwsRdsDbClusterDetails& WithReadReplicaIdentifiers(Aws::VectorThe identifiers of the read replicas that are associated with this DB * cluster.
*/ inline AwsRdsDbClusterDetails& AddReadReplicaIdentifiers(const Aws::String& value) { m_readReplicaIdentifiersHasBeenSet = true; m_readReplicaIdentifiers.push_back(value); return *this; } /** *The identifiers of the read replicas that are associated with this DB * cluster.
*/ inline AwsRdsDbClusterDetails& AddReadReplicaIdentifiers(Aws::String&& value) { m_readReplicaIdentifiersHasBeenSet = true; m_readReplicaIdentifiers.push_back(std::move(value)); return *this; } /** *The identifiers of the read replicas that are associated with this DB * cluster.
*/ inline AwsRdsDbClusterDetails& AddReadReplicaIdentifiers(const char* value) { m_readReplicaIdentifiersHasBeenSet = true; m_readReplicaIdentifiers.push_back(value); return *this; } /** *A list of VPC security groups that the DB cluster belongs to.
*/ inline const Aws::VectorA list of VPC security groups that the DB cluster belongs to.
*/ inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; } /** *A list of VPC security groups that the DB cluster belongs to.
*/ inline void SetVpcSecurityGroups(const Aws::VectorA list of VPC security groups that the DB cluster belongs to.
*/ inline void SetVpcSecurityGroups(Aws::VectorA list of VPC security groups that the DB cluster belongs to.
*/ inline AwsRdsDbClusterDetails& WithVpcSecurityGroups(const Aws::VectorA list of VPC security groups that the DB cluster belongs to.
*/ inline AwsRdsDbClusterDetails& WithVpcSecurityGroups(Aws::VectorA list of VPC security groups that the DB cluster belongs to.
*/ inline AwsRdsDbClusterDetails& AddVpcSecurityGroups(const AwsRdsDbInstanceVpcSecurityGroup& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(value); return *this; } /** *A list of VPC security groups that the DB cluster belongs to.
*/ inline AwsRdsDbClusterDetails& AddVpcSecurityGroups(AwsRdsDbInstanceVpcSecurityGroup&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(std::move(value)); return *this; } /** *Specifies the identifier that Amazon Route 53 assigns when you create a * hosted zone.
*/ inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; } /** *Specifies the identifier that Amazon Route 53 assigns when you create a * hosted zone.
*/ inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; } /** *Specifies the identifier that Amazon Route 53 assigns when you create a * hosted zone.
*/ inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; } /** *Specifies the identifier that Amazon Route 53 assigns when you create a * hosted zone.
*/ inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); } /** *Specifies the identifier that Amazon Route 53 assigns when you create a * hosted zone.
*/ inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); } /** *Specifies the identifier that Amazon Route 53 assigns when you create a * hosted zone.
*/ inline AwsRdsDbClusterDetails& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;} /** *Specifies the identifier that Amazon Route 53 assigns when you create a * hosted zone.
*/ inline AwsRdsDbClusterDetails& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;} /** *Specifies the identifier that Amazon Route 53 assigns when you create a * hosted zone.
*/ inline AwsRdsDbClusterDetails& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;} /** *Whether the DB cluster is encrypted.
*/ inline bool GetStorageEncrypted() const{ return m_storageEncrypted; } /** *Whether the DB cluster is encrypted.
*/ inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; } /** *Whether the DB cluster is encrypted.
*/ inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; } /** *Whether the DB cluster is encrypted.
*/ inline AwsRdsDbClusterDetails& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;} /** *The ARN of the KMS master key that is used to encrypt the database instances * in the DB cluster.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *The ARN of the KMS master key that is used to encrypt the database instances * in the DB cluster.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *The ARN of the KMS master key that is used to encrypt the database instances * in the DB cluster.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *The ARN of the KMS master key that is used to encrypt the database instances * in the DB cluster.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *The ARN of the KMS master key that is used to encrypt the database instances * in the DB cluster.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *The ARN of the KMS master key that is used to encrypt the database instances * in the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *The ARN of the KMS master key that is used to encrypt the database instances * in the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *The ARN of the KMS master key that is used to encrypt the database instances * in the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *The identifier of the DB cluster. The identifier must be unique within each * Amazon Web Services Region and is immutable.
*/ inline const Aws::String& GetDbClusterResourceId() const{ return m_dbClusterResourceId; } /** *The identifier of the DB cluster. The identifier must be unique within each * Amazon Web Services Region and is immutable.
*/ inline bool DbClusterResourceIdHasBeenSet() const { return m_dbClusterResourceIdHasBeenSet; } /** *The identifier of the DB cluster. The identifier must be unique within each * Amazon Web Services Region and is immutable.
*/ inline void SetDbClusterResourceId(const Aws::String& value) { m_dbClusterResourceIdHasBeenSet = true; m_dbClusterResourceId = value; } /** *The identifier of the DB cluster. The identifier must be unique within each * Amazon Web Services Region and is immutable.
*/ inline void SetDbClusterResourceId(Aws::String&& value) { m_dbClusterResourceIdHasBeenSet = true; m_dbClusterResourceId = std::move(value); } /** *The identifier of the DB cluster. The identifier must be unique within each * Amazon Web Services Region and is immutable.
*/ inline void SetDbClusterResourceId(const char* value) { m_dbClusterResourceIdHasBeenSet = true; m_dbClusterResourceId.assign(value); } /** *The identifier of the DB cluster. The identifier must be unique within each * Amazon Web Services Region and is immutable.
*/ inline AwsRdsDbClusterDetails& WithDbClusterResourceId(const Aws::String& value) { SetDbClusterResourceId(value); return *this;} /** *The identifier of the DB cluster. The identifier must be unique within each * Amazon Web Services Region and is immutable.
*/ inline AwsRdsDbClusterDetails& WithDbClusterResourceId(Aws::String&& value) { SetDbClusterResourceId(std::move(value)); return *this;} /** *The identifier of the DB cluster. The identifier must be unique within each * Amazon Web Services Region and is immutable.
*/ inline AwsRdsDbClusterDetails& WithDbClusterResourceId(const char* value) { SetDbClusterResourceId(value); return *this;} /** *A list of the IAM roles that are associated with the DB cluster.
*/ inline const Aws::VectorA list of the IAM roles that are associated with the DB cluster.
*/ inline bool AssociatedRolesHasBeenSet() const { return m_associatedRolesHasBeenSet; } /** *A list of the IAM roles that are associated with the DB cluster.
*/ inline void SetAssociatedRoles(const Aws::VectorA list of the IAM roles that are associated with the DB cluster.
*/ inline void SetAssociatedRoles(Aws::VectorA list of the IAM roles that are associated with the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithAssociatedRoles(const Aws::VectorA list of the IAM roles that are associated with the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithAssociatedRoles(Aws::VectorA list of the IAM roles that are associated with the DB cluster.
*/ inline AwsRdsDbClusterDetails& AddAssociatedRoles(const AwsRdsDbClusterAssociatedRole& value) { m_associatedRolesHasBeenSet = true; m_associatedRoles.push_back(value); return *this; } /** *A list of the IAM roles that are associated with the DB cluster.
*/ inline AwsRdsDbClusterDetails& AddAssociatedRoles(AwsRdsDbClusterAssociatedRole&& value) { m_associatedRolesHasBeenSet = true; m_associatedRoles.push_back(std::move(value)); return *this; } /** *Indicates when the DB cluster was created, in Universal Coordinated Time * (UTC).
Uses the date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the DB cluster was created, in Universal Coordinated Time * (UTC).
Uses the date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the DB cluster was created, in Universal Coordinated Time * (UTC).
Uses the date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the DB cluster was created, in Universal Coordinated Time * (UTC).
Uses the date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the DB cluster was created, in Universal Coordinated Time * (UTC).
Uses the date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the DB cluster was created, in Universal Coordinated Time * (UTC).
Uses the date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the DB cluster was created, in Universal Coordinated Time * (UTC).
Uses the date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the DB cluster was created, in Universal Coordinated Time * (UTC).
Uses the date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
A list of log types that this DB cluster is configured to export to * CloudWatch Logs.
*/ inline const Aws::VectorA list of log types that this DB cluster is configured to export to * CloudWatch Logs.
*/ inline bool EnabledCloudWatchLogsExportsHasBeenSet() const { return m_enabledCloudWatchLogsExportsHasBeenSet; } /** *A list of log types that this DB cluster is configured to export to * CloudWatch Logs.
*/ inline void SetEnabledCloudWatchLogsExports(const Aws::VectorA list of log types that this DB cluster is configured to export to * CloudWatch Logs.
*/ inline void SetEnabledCloudWatchLogsExports(Aws::VectorA list of log types that this DB cluster is configured to export to * CloudWatch Logs.
*/ inline AwsRdsDbClusterDetails& WithEnabledCloudWatchLogsExports(const Aws::VectorA list of log types that this DB cluster is configured to export to * CloudWatch Logs.
*/ inline AwsRdsDbClusterDetails& WithEnabledCloudWatchLogsExports(Aws::VectorA list of log types that this DB cluster is configured to export to * CloudWatch Logs.
*/ inline AwsRdsDbClusterDetails& AddEnabledCloudWatchLogsExports(const Aws::String& value) { m_enabledCloudWatchLogsExportsHasBeenSet = true; m_enabledCloudWatchLogsExports.push_back(value); return *this; } /** *A list of log types that this DB cluster is configured to export to * CloudWatch Logs.
*/ inline AwsRdsDbClusterDetails& AddEnabledCloudWatchLogsExports(Aws::String&& value) { m_enabledCloudWatchLogsExportsHasBeenSet = true; m_enabledCloudWatchLogsExports.push_back(std::move(value)); return *this; } /** *A list of log types that this DB cluster is configured to export to * CloudWatch Logs.
*/ inline AwsRdsDbClusterDetails& AddEnabledCloudWatchLogsExports(const char* value) { m_enabledCloudWatchLogsExportsHasBeenSet = true; m_enabledCloudWatchLogsExports.push_back(value); return *this; } /** *The database engine mode of the DB cluster.Valid values are as follows:
* global
multimaster
*
parallelquery
* provisioned
serverless
The database engine mode of the DB cluster.Valid values are as follows:
* global
multimaster
*
parallelquery
* provisioned
serverless
The database engine mode of the DB cluster.Valid values are as follows:
* global
multimaster
*
parallelquery
* provisioned
serverless
The database engine mode of the DB cluster.Valid values are as follows:
* global
multimaster
*
parallelquery
* provisioned
serverless
The database engine mode of the DB cluster.Valid values are as follows:
* global
multimaster
*
parallelquery
* provisioned
serverless
The database engine mode of the DB cluster.Valid values are as follows:
* global
multimaster
*
parallelquery
* provisioned
serverless
The database engine mode of the DB cluster.Valid values are as follows:
* global
multimaster
*
parallelquery
* provisioned
serverless
The database engine mode of the DB cluster.Valid values are as follows:
* global
multimaster
*
parallelquery
* provisioned
serverless
Whether the DB cluster has deletion protection enabled.
*/ inline bool GetDeletionProtection() const{ return m_deletionProtection; } /** *Whether the DB cluster has deletion protection enabled.
*/ inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; } /** *Whether the DB cluster has deletion protection enabled.
*/ inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; } /** *Whether the DB cluster has deletion protection enabled.
*/ inline AwsRdsDbClusterDetails& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;} /** *Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.
*/ inline bool GetHttpEndpointEnabled() const{ return m_httpEndpointEnabled; } /** *Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.
*/ inline bool HttpEndpointEnabledHasBeenSet() const { return m_httpEndpointEnabledHasBeenSet; } /** *Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.
*/ inline void SetHttpEndpointEnabled(bool value) { m_httpEndpointEnabledHasBeenSet = true; m_httpEndpointEnabled = value; } /** *Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.
*/ inline AwsRdsDbClusterDetails& WithHttpEndpointEnabled(bool value) { SetHttpEndpointEnabled(value); return *this;} /** *The status of the database activity stream. Valid values are as follows:
* started
starting
*
stopped
* stopping
The status of the database activity stream. Valid values are as follows:
* started
starting
*
stopped
* stopping
The status of the database activity stream. Valid values are as follows:
* started
starting
*
stopped
* stopping
The status of the database activity stream. Valid values are as follows:
* started
starting
*
stopped
* stopping
The status of the database activity stream. Valid values are as follows:
* started
starting
*
stopped
* stopping
The status of the database activity stream. Valid values are as follows:
* started
starting
*
stopped
* stopping
The status of the database activity stream. Valid values are as follows:
* started
starting
*
stopped
* stopping
The status of the database activity stream. Valid values are as follows:
* started
starting
*
stopped
* stopping
Whether tags are copied from the DB cluster to snapshots of the DB * cluster.
*/ inline bool GetCopyTagsToSnapshot() const{ return m_copyTagsToSnapshot; } /** *Whether tags are copied from the DB cluster to snapshots of the DB * cluster.
*/ inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; } /** *Whether tags are copied from the DB cluster to snapshots of the DB * cluster.
*/ inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; } /** *Whether tags are copied from the DB cluster to snapshots of the DB * cluster.
*/ inline AwsRdsDbClusterDetails& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;} /** *Whether the DB cluster is a clone of a DB cluster owned by a different Amazon * Web Services account.
*/ inline bool GetCrossAccountClone() const{ return m_crossAccountClone; } /** *Whether the DB cluster is a clone of a DB cluster owned by a different Amazon * Web Services account.
*/ inline bool CrossAccountCloneHasBeenSet() const { return m_crossAccountCloneHasBeenSet; } /** *Whether the DB cluster is a clone of a DB cluster owned by a different Amazon * Web Services account.
*/ inline void SetCrossAccountClone(bool value) { m_crossAccountCloneHasBeenSet = true; m_crossAccountClone = value; } /** *Whether the DB cluster is a clone of a DB cluster owned by a different Amazon * Web Services account.
*/ inline AwsRdsDbClusterDetails& WithCrossAccountClone(bool value) { SetCrossAccountClone(value); return *this;} /** *The Active Directory domain membership records that are associated with the * DB cluster.
*/ inline const Aws::VectorThe Active Directory domain membership records that are associated with the * DB cluster.
*/ inline bool DomainMembershipsHasBeenSet() const { return m_domainMembershipsHasBeenSet; } /** *The Active Directory domain membership records that are associated with the * DB cluster.
*/ inline void SetDomainMemberships(const Aws::VectorThe Active Directory domain membership records that are associated with the * DB cluster.
*/ inline void SetDomainMemberships(Aws::VectorThe Active Directory domain membership records that are associated with the * DB cluster.
*/ inline AwsRdsDbClusterDetails& WithDomainMemberships(const Aws::VectorThe Active Directory domain membership records that are associated with the * DB cluster.
*/ inline AwsRdsDbClusterDetails& WithDomainMemberships(Aws::VectorThe Active Directory domain membership records that are associated with the * DB cluster.
*/ inline AwsRdsDbClusterDetails& AddDomainMemberships(const AwsRdsDbDomainMembership& value) { m_domainMembershipsHasBeenSet = true; m_domainMemberships.push_back(value); return *this; } /** *The Active Directory domain membership records that are associated with the * DB cluster.
*/ inline AwsRdsDbClusterDetails& AddDomainMemberships(AwsRdsDbDomainMembership&& value) { m_domainMembershipsHasBeenSet = true; m_domainMemberships.push_back(std::move(value)); return *this; } /** *The name of the DB cluster parameter group for the DB cluster.
*/ inline const Aws::String& GetDbClusterParameterGroup() const{ return m_dbClusterParameterGroup; } /** *The name of the DB cluster parameter group for the DB cluster.
*/ inline bool DbClusterParameterGroupHasBeenSet() const { return m_dbClusterParameterGroupHasBeenSet; } /** *The name of the DB cluster parameter group for the DB cluster.
*/ inline void SetDbClusterParameterGroup(const Aws::String& value) { m_dbClusterParameterGroupHasBeenSet = true; m_dbClusterParameterGroup = value; } /** *The name of the DB cluster parameter group for the DB cluster.
*/ inline void SetDbClusterParameterGroup(Aws::String&& value) { m_dbClusterParameterGroupHasBeenSet = true; m_dbClusterParameterGroup = std::move(value); } /** *The name of the DB cluster parameter group for the DB cluster.
*/ inline void SetDbClusterParameterGroup(const char* value) { m_dbClusterParameterGroupHasBeenSet = true; m_dbClusterParameterGroup.assign(value); } /** *The name of the DB cluster parameter group for the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithDbClusterParameterGroup(const Aws::String& value) { SetDbClusterParameterGroup(value); return *this;} /** *The name of the DB cluster parameter group for the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithDbClusterParameterGroup(Aws::String&& value) { SetDbClusterParameterGroup(std::move(value)); return *this;} /** *The name of the DB cluster parameter group for the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithDbClusterParameterGroup(const char* value) { SetDbClusterParameterGroup(value); return *this;} /** *The subnet group that is associated with the DB cluster, including the name, * description, and subnets in the subnet group.
*/ inline const Aws::String& GetDbSubnetGroup() const{ return m_dbSubnetGroup; } /** *The subnet group that is associated with the DB cluster, including the name, * description, and subnets in the subnet group.
*/ inline bool DbSubnetGroupHasBeenSet() const { return m_dbSubnetGroupHasBeenSet; } /** *The subnet group that is associated with the DB cluster, including the name, * description, and subnets in the subnet group.
*/ inline void SetDbSubnetGroup(const Aws::String& value) { m_dbSubnetGroupHasBeenSet = true; m_dbSubnetGroup = value; } /** *The subnet group that is associated with the DB cluster, including the name, * description, and subnets in the subnet group.
*/ inline void SetDbSubnetGroup(Aws::String&& value) { m_dbSubnetGroupHasBeenSet = true; m_dbSubnetGroup = std::move(value); } /** *The subnet group that is associated with the DB cluster, including the name, * description, and subnets in the subnet group.
*/ inline void SetDbSubnetGroup(const char* value) { m_dbSubnetGroupHasBeenSet = true; m_dbSubnetGroup.assign(value); } /** *The subnet group that is associated with the DB cluster, including the name, * description, and subnets in the subnet group.
*/ inline AwsRdsDbClusterDetails& WithDbSubnetGroup(const Aws::String& value) { SetDbSubnetGroup(value); return *this;} /** *The subnet group that is associated with the DB cluster, including the name, * description, and subnets in the subnet group.
*/ inline AwsRdsDbClusterDetails& WithDbSubnetGroup(Aws::String&& value) { SetDbSubnetGroup(std::move(value)); return *this;} /** *The subnet group that is associated with the DB cluster, including the name, * description, and subnets in the subnet group.
*/ inline AwsRdsDbClusterDetails& WithDbSubnetGroup(const char* value) { SetDbSubnetGroup(value); return *this;} /** *The list of option group memberships for this DB cluster.
*/ inline const Aws::VectorThe list of option group memberships for this DB cluster.
*/ inline bool DbClusterOptionGroupMembershipsHasBeenSet() const { return m_dbClusterOptionGroupMembershipsHasBeenSet; } /** *The list of option group memberships for this DB cluster.
*/ inline void SetDbClusterOptionGroupMemberships(const Aws::VectorThe list of option group memberships for this DB cluster.
*/ inline void SetDbClusterOptionGroupMemberships(Aws::VectorThe list of option group memberships for this DB cluster.
*/ inline AwsRdsDbClusterDetails& WithDbClusterOptionGroupMemberships(const Aws::VectorThe list of option group memberships for this DB cluster.
*/ inline AwsRdsDbClusterDetails& WithDbClusterOptionGroupMemberships(Aws::VectorThe list of option group memberships for this DB cluster.
*/ inline AwsRdsDbClusterDetails& AddDbClusterOptionGroupMemberships(const AwsRdsDbClusterOptionGroupMembership& value) { m_dbClusterOptionGroupMembershipsHasBeenSet = true; m_dbClusterOptionGroupMemberships.push_back(value); return *this; } /** *The list of option group memberships for this DB cluster.
*/ inline AwsRdsDbClusterDetails& AddDbClusterOptionGroupMemberships(AwsRdsDbClusterOptionGroupMembership&& value) { m_dbClusterOptionGroupMembershipsHasBeenSet = true; m_dbClusterOptionGroupMemberships.push_back(std::move(value)); return *this; } /** *The DB cluster identifier that the user assigned to the cluster. This * identifier is the unique key that identifies a DB cluster.
*/ inline const Aws::String& GetDbClusterIdentifier() const{ return m_dbClusterIdentifier; } /** *The DB cluster identifier that the user assigned to the cluster. This * identifier is the unique key that identifies a DB cluster.
*/ inline bool DbClusterIdentifierHasBeenSet() const { return m_dbClusterIdentifierHasBeenSet; } /** *The DB cluster identifier that the user assigned to the cluster. This * identifier is the unique key that identifies a DB cluster.
*/ inline void SetDbClusterIdentifier(const Aws::String& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = value; } /** *The DB cluster identifier that the user assigned to the cluster. This * identifier is the unique key that identifies a DB cluster.
*/ inline void SetDbClusterIdentifier(Aws::String&& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = std::move(value); } /** *The DB cluster identifier that the user assigned to the cluster. This * identifier is the unique key that identifies a DB cluster.
*/ inline void SetDbClusterIdentifier(const char* value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier.assign(value); } /** *The DB cluster identifier that the user assigned to the cluster. This * identifier is the unique key that identifies a DB cluster.
*/ inline AwsRdsDbClusterDetails& WithDbClusterIdentifier(const Aws::String& value) { SetDbClusterIdentifier(value); return *this;} /** *The DB cluster identifier that the user assigned to the cluster. This * identifier is the unique key that identifies a DB cluster.
*/ inline AwsRdsDbClusterDetails& WithDbClusterIdentifier(Aws::String&& value) { SetDbClusterIdentifier(std::move(value)); return *this;} /** *The DB cluster identifier that the user assigned to the cluster. This * identifier is the unique key that identifies a DB cluster.
*/ inline AwsRdsDbClusterDetails& WithDbClusterIdentifier(const char* value) { SetDbClusterIdentifier(value); return *this;} /** *The list of instances that make up the DB cluster.
*/ inline const Aws::VectorThe list of instances that make up the DB cluster.
*/ inline bool DbClusterMembersHasBeenSet() const { return m_dbClusterMembersHasBeenSet; } /** *The list of instances that make up the DB cluster.
*/ inline void SetDbClusterMembers(const Aws::VectorThe list of instances that make up the DB cluster.
*/ inline void SetDbClusterMembers(Aws::VectorThe list of instances that make up the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithDbClusterMembers(const Aws::VectorThe list of instances that make up the DB cluster.
*/ inline AwsRdsDbClusterDetails& WithDbClusterMembers(Aws::VectorThe list of instances that make up the DB cluster.
*/ inline AwsRdsDbClusterDetails& AddDbClusterMembers(const AwsRdsDbClusterMember& value) { m_dbClusterMembersHasBeenSet = true; m_dbClusterMembers.push_back(value); return *this; } /** *The list of instances that make up the DB cluster.
*/ inline AwsRdsDbClusterDetails& AddDbClusterMembers(AwsRdsDbClusterMember&& value) { m_dbClusterMembersHasBeenSet = true; m_dbClusterMembers.push_back(std::move(value)); return *this; } /** *Whether the mapping of IAM accounts to database accounts is enabled.
*/ inline bool GetIamDatabaseAuthenticationEnabled() const{ return m_iamDatabaseAuthenticationEnabled; } /** *Whether the mapping of IAM accounts to database accounts is enabled.
*/ inline bool IamDatabaseAuthenticationEnabledHasBeenSet() const { return m_iamDatabaseAuthenticationEnabledHasBeenSet; } /** *Whether the mapping of IAM accounts to database accounts is enabled.
*/ inline void SetIamDatabaseAuthenticationEnabled(bool value) { m_iamDatabaseAuthenticationEnabledHasBeenSet = true; m_iamDatabaseAuthenticationEnabled = value; } /** *Whether the mapping of IAM accounts to database accounts is enabled.
*/ inline AwsRdsDbClusterDetails& WithIamDatabaseAuthenticationEnabled(bool value) { SetIamDatabaseAuthenticationEnabled(value); return *this;} private: int m_allocatedStorage; bool m_allocatedStorageHasBeenSet = false; Aws::Vector