/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

Information about an Amazon RDS DB cluster.

See Also:

AWS * API Reference

*/ class AwsRdsDbClusterDetails { public: AWS_SECURITYHUB_API AwsRdsDbClusterDetails(); AWS_SECURITYHUB_API AwsRdsDbClusterDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsRdsDbClusterDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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::Vector& GetAvailabilityZones() const{ return m_availabilityZones; } /** *

A 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::Vector& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; } /** *

A list of Availability Zones (AZs) where instances in the DB cluster can be * created.

*/ inline void SetAvailabilityZones(Aws::Vector&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); } /** *

A list of Availability Zones (AZs) where instances in the DB cluster can be * created.

*/ inline AwsRdsDbClusterDetails& WithAvailabilityZones(const Aws::Vector& value) { SetAvailabilityZones(value); return *this;} /** *

A list of Availability Zones (AZs) where instances in the DB cluster can be * created.

*/ inline AwsRdsDbClusterDetails& WithAvailabilityZones(Aws::Vector&& value) { SetAvailabilityZones(std::move(value)); return *this;} /** *

A 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::Vector& GetCustomEndpoints() const{ return m_customEndpoints; } /** *

A 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::Vector& value) { m_customEndpointsHasBeenSet = true; m_customEndpoints = value; } /** *

A list of custom endpoints for the DB cluster.

*/ inline void SetCustomEndpoints(Aws::Vector&& value) { m_customEndpointsHasBeenSet = true; m_customEndpoints = std::move(value); } /** *

A list of custom endpoints for the DB cluster.

*/ inline AwsRdsDbClusterDetails& WithCustomEndpoints(const Aws::Vector& value) { SetCustomEndpoints(value); return *this;} /** *

A list of custom endpoints for the DB cluster.

*/ inline AwsRdsDbClusterDetails& WithCustomEndpoints(Aws::Vector&& value) { SetCustomEndpoints(std::move(value)); return *this;} /** *

A 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 *

*/ inline const Aws::String& GetEngine() const{ return m_engine; } /** *

The name of the database engine to use for this DB cluster. Valid values are * as follows:

  • aurora

  • * aurora-mysql

  • aurora-postgresql *

*/ inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; } /** *

The name of the database engine to use for this DB cluster. Valid values are * as follows:

  • aurora

  • * aurora-mysql

  • aurora-postgresql *

*/ inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; } /** *

The name of the database engine to use for this DB cluster. Valid values are * as follows:

  • aurora

  • * aurora-mysql

  • aurora-postgresql *

*/ inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); } /** *

The name of the database engine to use for this DB cluster. Valid values are * as follows:

  • aurora

  • * aurora-mysql

  • aurora-postgresql *

*/ inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); } /** *

The name of the database engine to use for this DB cluster. Valid values are * as follows:

  • aurora

  • * aurora-mysql

  • aurora-postgresql *

*/ inline AwsRdsDbClusterDetails& WithEngine(const Aws::String& value) { SetEngine(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 *

*/ inline AwsRdsDbClusterDetails& WithEngine(Aws::String&& value) { SetEngine(std::move(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 *

*/ inline AwsRdsDbClusterDetails& WithEngine(const char* value) { SetEngine(value); return *this;} /** *

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.

*/ inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; } /** *

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.

*/ inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; } /** *

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.

*/ inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; } /** *

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.

*/ inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); } /** *

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.

*/ inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); } /** *

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.

*/ inline AwsRdsDbClusterDetails& WithPreferredBackupWindow(const Aws::String& value) { SetPreferredBackupWindow(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.

*/ inline AwsRdsDbClusterDetails& WithPreferredBackupWindow(Aws::String&& value) { SetPreferredBackupWindow(std::move(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.

*/ inline AwsRdsDbClusterDetails& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;} /** *

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.

*/ inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; } /** *

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.

*/ inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; } /** *

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.

*/ inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; } /** *

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.

*/ inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); } /** *

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.

*/ inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); } /** *

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.

*/ inline AwsRdsDbClusterDetails& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;} /** *

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.

*/ inline AwsRdsDbClusterDetails& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;} /** *

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.

*/ inline AwsRdsDbClusterDetails& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;} /** *

The identifiers of the read replicas that are associated with this DB * cluster.

*/ inline const Aws::Vector& GetReadReplicaIdentifiers() const{ return m_readReplicaIdentifiers; } /** *

The 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::Vector& value) { m_readReplicaIdentifiersHasBeenSet = true; m_readReplicaIdentifiers = value; } /** *

The identifiers of the read replicas that are associated with this DB * cluster.

*/ inline void SetReadReplicaIdentifiers(Aws::Vector&& value) { m_readReplicaIdentifiersHasBeenSet = true; m_readReplicaIdentifiers = std::move(value); } /** *

The identifiers of the read replicas that are associated with this DB * cluster.

*/ inline AwsRdsDbClusterDetails& WithReadReplicaIdentifiers(const Aws::Vector& value) { SetReadReplicaIdentifiers(value); return *this;} /** *

The identifiers of the read replicas that are associated with this DB * cluster.

*/ inline AwsRdsDbClusterDetails& WithReadReplicaIdentifiers(Aws::Vector&& value) { SetReadReplicaIdentifiers(std::move(value)); return *this;} /** *

The 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::Vector& GetVpcSecurityGroups() const{ return m_vpcSecurityGroups; } /** *

A 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::Vector& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = value; } /** *

A list of VPC security groups that the DB cluster belongs to.

*/ inline void SetVpcSecurityGroups(Aws::Vector&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = std::move(value); } /** *

A list of VPC security groups that the DB cluster belongs to.

*/ inline AwsRdsDbClusterDetails& WithVpcSecurityGroups(const Aws::Vector& value) { SetVpcSecurityGroups(value); return *this;} /** *

A list of VPC security groups that the DB cluster belongs to.

*/ inline AwsRdsDbClusterDetails& WithVpcSecurityGroups(Aws::Vector&& value) { SetVpcSecurityGroups(std::move(value)); return *this;} /** *

A 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::Vector& GetAssociatedRoles() const{ return m_associatedRoles; } /** *

A 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::Vector& value) { m_associatedRolesHasBeenSet = true; m_associatedRoles = value; } /** *

A list of the IAM roles that are associated with the DB cluster.

*/ inline void SetAssociatedRoles(Aws::Vector&& value) { m_associatedRolesHasBeenSet = true; m_associatedRoles = std::move(value); } /** *

A list of the IAM roles that are associated with the DB cluster.

*/ inline AwsRdsDbClusterDetails& WithAssociatedRoles(const Aws::Vector& value) { SetAssociatedRoles(value); return *this;} /** *

A list of the IAM roles that are associated with the DB cluster.

*/ inline AwsRdsDbClusterDetails& WithAssociatedRoles(Aws::Vector&& value) { SetAssociatedRoles(std::move(value)); return *this;} /** *

A 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.

*/ inline const Aws::String& GetClusterCreateTime() const{ return m_clusterCreateTime; } /** *

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.

*/ inline bool ClusterCreateTimeHasBeenSet() const { return m_clusterCreateTimeHasBeenSet; } /** *

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.

*/ inline void SetClusterCreateTime(const Aws::String& value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime = value; } /** *

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.

*/ inline void SetClusterCreateTime(Aws::String&& value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime = std::move(value); } /** *

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.

*/ inline void SetClusterCreateTime(const char* value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime.assign(value); } /** *

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.

*/ inline AwsRdsDbClusterDetails& WithClusterCreateTime(const Aws::String& value) { SetClusterCreateTime(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.

*/ inline AwsRdsDbClusterDetails& WithClusterCreateTime(Aws::String&& value) { SetClusterCreateTime(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.

*/ inline AwsRdsDbClusterDetails& WithClusterCreateTime(const char* value) { SetClusterCreateTime(value); return *this;} /** *

A list of log types that this DB cluster is configured to export to * CloudWatch Logs.

*/ inline const Aws::Vector& GetEnabledCloudWatchLogsExports() const{ return m_enabledCloudWatchLogsExports; } /** *

A 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::Vector& value) { m_enabledCloudWatchLogsExportsHasBeenSet = true; m_enabledCloudWatchLogsExports = value; } /** *

A list of log types that this DB cluster is configured to export to * CloudWatch Logs.

*/ inline void SetEnabledCloudWatchLogsExports(Aws::Vector&& value) { m_enabledCloudWatchLogsExportsHasBeenSet = true; m_enabledCloudWatchLogsExports = std::move(value); } /** *

A list of log types that this DB cluster is configured to export to * CloudWatch Logs.

*/ inline AwsRdsDbClusterDetails& WithEnabledCloudWatchLogsExports(const Aws::Vector& value) { SetEnabledCloudWatchLogsExports(value); return *this;} /** *

A list of log types that this DB cluster is configured to export to * CloudWatch Logs.

*/ inline AwsRdsDbClusterDetails& WithEnabledCloudWatchLogsExports(Aws::Vector&& value) { SetEnabledCloudWatchLogsExports(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 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

  • *
*/ inline const Aws::String& GetEngineMode() const{ return m_engineMode; } /** *

The database engine mode of the DB cluster.Valid values are as follows:

*
  • global

  • multimaster *

  • parallelquery

  • * provisioned

  • serverless

  • *
*/ inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; } /** *

The database engine mode of the DB cluster.Valid values are as follows:

*
  • global

  • multimaster *

  • parallelquery

  • * provisioned

  • serverless

  • *
*/ inline void SetEngineMode(const Aws::String& value) { m_engineModeHasBeenSet = true; m_engineMode = value; } /** *

The database engine mode of the DB cluster.Valid values are as follows:

*
  • global

  • multimaster *

  • parallelquery

  • * provisioned

  • serverless

  • *
*/ inline void SetEngineMode(Aws::String&& value) { m_engineModeHasBeenSet = true; m_engineMode = std::move(value); } /** *

The database engine mode of the DB cluster.Valid values are as follows:

*
  • global

  • multimaster *

  • parallelquery

  • * provisioned

  • serverless

  • *
*/ inline void SetEngineMode(const char* value) { m_engineModeHasBeenSet = true; m_engineMode.assign(value); } /** *

The database engine mode of the DB cluster.Valid values are as follows:

*
  • global

  • multimaster *

  • parallelquery

  • * provisioned

  • serverless

  • *
*/ inline AwsRdsDbClusterDetails& WithEngineMode(const Aws::String& value) { SetEngineMode(value); return *this;} /** *

The database engine mode of the DB cluster.Valid values are as follows:

*
  • global

  • multimaster *

  • parallelquery

  • * provisioned

  • serverless

  • *
*/ inline AwsRdsDbClusterDetails& WithEngineMode(Aws::String&& value) { SetEngineMode(std::move(value)); return *this;} /** *

The database engine mode of the DB cluster.Valid values are as follows:

*
  • global

  • multimaster *

  • parallelquery

  • * provisioned

  • serverless

  • *
*/ inline AwsRdsDbClusterDetails& WithEngineMode(const char* value) { SetEngineMode(value); return *this;} /** *

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

*/ inline const Aws::String& GetActivityStreamStatus() const{ return m_activityStreamStatus; } /** *

The status of the database activity stream. Valid values are as follows:

*
  • started

  • starting *

  • stopped

  • * stopping

*/ inline bool ActivityStreamStatusHasBeenSet() const { return m_activityStreamStatusHasBeenSet; } /** *

The status of the database activity stream. Valid values are as follows:

*
  • started

  • starting *

  • stopped

  • * stopping

*/ inline void SetActivityStreamStatus(const Aws::String& value) { m_activityStreamStatusHasBeenSet = true; m_activityStreamStatus = value; } /** *

The status of the database activity stream. Valid values are as follows:

*
  • started

  • starting *

  • stopped

  • * stopping

*/ inline void SetActivityStreamStatus(Aws::String&& value) { m_activityStreamStatusHasBeenSet = true; m_activityStreamStatus = std::move(value); } /** *

The status of the database activity stream. Valid values are as follows:

*
  • started

  • starting *

  • stopped

  • * stopping

*/ inline void SetActivityStreamStatus(const char* value) { m_activityStreamStatusHasBeenSet = true; m_activityStreamStatus.assign(value); } /** *

The status of the database activity stream. Valid values are as follows:

*
  • started

  • starting *

  • stopped

  • * stopping

*/ inline AwsRdsDbClusterDetails& WithActivityStreamStatus(const Aws::String& value) { SetActivityStreamStatus(value); return *this;} /** *

The status of the database activity stream. Valid values are as follows:

*
  • started

  • starting *

  • stopped

  • * stopping

*/ inline AwsRdsDbClusterDetails& WithActivityStreamStatus(Aws::String&& value) { SetActivityStreamStatus(std::move(value)); return *this;} /** *

The status of the database activity stream. Valid values are as follows:

*
  • started

  • starting *

  • stopped

  • * stopping

*/ inline AwsRdsDbClusterDetails& WithActivityStreamStatus(const char* value) { SetActivityStreamStatus(value); return *this;} /** *

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::Vector& GetDomainMemberships() const{ return m_domainMemberships; } /** *

The 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::Vector& value) { m_domainMembershipsHasBeenSet = true; m_domainMemberships = value; } /** *

The Active Directory domain membership records that are associated with the * DB cluster.

*/ inline void SetDomainMemberships(Aws::Vector&& value) { m_domainMembershipsHasBeenSet = true; m_domainMemberships = std::move(value); } /** *

The Active Directory domain membership records that are associated with the * DB cluster.

*/ inline AwsRdsDbClusterDetails& WithDomainMemberships(const Aws::Vector& value) { SetDomainMemberships(value); return *this;} /** *

The Active Directory domain membership records that are associated with the * DB cluster.

*/ inline AwsRdsDbClusterDetails& WithDomainMemberships(Aws::Vector&& value) { SetDomainMemberships(std::move(value)); return *this;} /** *

The 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::Vector& GetDbClusterOptionGroupMemberships() const{ return m_dbClusterOptionGroupMemberships; } /** *

The 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::Vector& value) { m_dbClusterOptionGroupMembershipsHasBeenSet = true; m_dbClusterOptionGroupMemberships = value; } /** *

The list of option group memberships for this DB cluster.

*/ inline void SetDbClusterOptionGroupMemberships(Aws::Vector&& value) { m_dbClusterOptionGroupMembershipsHasBeenSet = true; m_dbClusterOptionGroupMemberships = std::move(value); } /** *

The list of option group memberships for this DB cluster.

*/ inline AwsRdsDbClusterDetails& WithDbClusterOptionGroupMemberships(const Aws::Vector& value) { SetDbClusterOptionGroupMemberships(value); return *this;} /** *

The list of option group memberships for this DB cluster.

*/ inline AwsRdsDbClusterDetails& WithDbClusterOptionGroupMemberships(Aws::Vector&& value) { SetDbClusterOptionGroupMemberships(std::move(value)); return *this;} /** *

The 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::Vector& GetDbClusterMembers() const{ return m_dbClusterMembers; } /** *

The 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::Vector& value) { m_dbClusterMembersHasBeenSet = true; m_dbClusterMembers = value; } /** *

The list of instances that make up the DB cluster.

*/ inline void SetDbClusterMembers(Aws::Vector&& value) { m_dbClusterMembersHasBeenSet = true; m_dbClusterMembers = std::move(value); } /** *

The list of instances that make up the DB cluster.

*/ inline AwsRdsDbClusterDetails& WithDbClusterMembers(const Aws::Vector& value) { SetDbClusterMembers(value); return *this;} /** *

The list of instances that make up the DB cluster.

*/ inline AwsRdsDbClusterDetails& WithDbClusterMembers(Aws::Vector&& value) { SetDbClusterMembers(std::move(value)); return *this;} /** *

The 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 m_availabilityZones; bool m_availabilityZonesHasBeenSet = false; int m_backupRetentionPeriod; bool m_backupRetentionPeriodHasBeenSet = false; Aws::String m_databaseName; bool m_databaseNameHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_endpoint; bool m_endpointHasBeenSet = false; Aws::String m_readerEndpoint; bool m_readerEndpointHasBeenSet = false; Aws::Vector m_customEndpoints; bool m_customEndpointsHasBeenSet = false; bool m_multiAz; bool m_multiAzHasBeenSet = false; Aws::String m_engine; bool m_engineHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; Aws::String m_masterUsername; bool m_masterUsernameHasBeenSet = false; Aws::String m_preferredBackupWindow; bool m_preferredBackupWindowHasBeenSet = false; Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; Aws::Vector m_readReplicaIdentifiers; bool m_readReplicaIdentifiersHasBeenSet = false; Aws::Vector m_vpcSecurityGroups; bool m_vpcSecurityGroupsHasBeenSet = false; Aws::String m_hostedZoneId; bool m_hostedZoneIdHasBeenSet = false; bool m_storageEncrypted; bool m_storageEncryptedHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; Aws::String m_dbClusterResourceId; bool m_dbClusterResourceIdHasBeenSet = false; Aws::Vector m_associatedRoles; bool m_associatedRolesHasBeenSet = false; Aws::String m_clusterCreateTime; bool m_clusterCreateTimeHasBeenSet = false; Aws::Vector m_enabledCloudWatchLogsExports; bool m_enabledCloudWatchLogsExportsHasBeenSet = false; Aws::String m_engineMode; bool m_engineModeHasBeenSet = false; bool m_deletionProtection; bool m_deletionProtectionHasBeenSet = false; bool m_httpEndpointEnabled; bool m_httpEndpointEnabledHasBeenSet = false; Aws::String m_activityStreamStatus; bool m_activityStreamStatusHasBeenSet = false; bool m_copyTagsToSnapshot; bool m_copyTagsToSnapshotHasBeenSet = false; bool m_crossAccountClone; bool m_crossAccountCloneHasBeenSet = false; Aws::Vector m_domainMemberships; bool m_domainMembershipsHasBeenSet = false; Aws::String m_dbClusterParameterGroup; bool m_dbClusterParameterGroupHasBeenSet = false; Aws::String m_dbSubnetGroup; bool m_dbSubnetGroupHasBeenSet = false; Aws::Vector m_dbClusterOptionGroupMemberships; bool m_dbClusterOptionGroupMembershipsHasBeenSet = false; Aws::String m_dbClusterIdentifier; bool m_dbClusterIdentifierHasBeenSet = false; Aws::Vector m_dbClusterMembers; bool m_dbClusterMembersHasBeenSet = false; bool m_iamDatabaseAuthenticationEnabled; bool m_iamDatabaseAuthenticationEnabledHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws