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

Configuration parameters for provisioning an DMS Serverless * replication.

See Also:

AWS * API Reference

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

The Availability Zone where the DMS Serverless replication using this * configuration will run. The default value is a random, system-chosen * Availability Zone in the configuration's Amazon Web Services Region, for * example, "us-west-2". You can't set this parameter if the * MultiAZ parameter is set to true.

*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *

The Availability Zone where the DMS Serverless replication using this * configuration will run. The default value is a random, system-chosen * Availability Zone in the configuration's Amazon Web Services Region, for * example, "us-west-2". You can't set this parameter if the * MultiAZ parameter is set to true.

*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *

The Availability Zone where the DMS Serverless replication using this * configuration will run. The default value is a random, system-chosen * Availability Zone in the configuration's Amazon Web Services Region, for * example, "us-west-2". You can't set this parameter if the * MultiAZ parameter is set to true.

*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *

The Availability Zone where the DMS Serverless replication using this * configuration will run. The default value is a random, system-chosen * Availability Zone in the configuration's Amazon Web Services Region, for * example, "us-west-2". You can't set this parameter if the * MultiAZ parameter is set to true.

*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *

The Availability Zone where the DMS Serverless replication using this * configuration will run. The default value is a random, system-chosen * Availability Zone in the configuration's Amazon Web Services Region, for * example, "us-west-2". You can't set this parameter if the * MultiAZ parameter is set to true.

*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *

The Availability Zone where the DMS Serverless replication using this * configuration will run. The default value is a random, system-chosen * Availability Zone in the configuration's Amazon Web Services Region, for * example, "us-west-2". You can't set this parameter if the * MultiAZ parameter is set to true.

*/ inline ComputeConfig& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *

The Availability Zone where the DMS Serverless replication using this * configuration will run. The default value is a random, system-chosen * Availability Zone in the configuration's Amazon Web Services Region, for * example, "us-west-2". You can't set this parameter if the * MultiAZ parameter is set to true.

*/ inline ComputeConfig& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *

The Availability Zone where the DMS Serverless replication using this * configuration will run. The default value is a random, system-chosen * Availability Zone in the configuration's Amazon Web Services Region, for * example, "us-west-2". You can't set this parameter if the * MultiAZ parameter is set to true.

*/ inline ComputeConfig& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *

A list of custom DNS name servers supported for the DMS Serverless * replication to access your source or target database. This list overrides the * default name servers supported by the DMS Serverless replication. You can * specify a comma-separated list of internet addresses for up to four DNS name * servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

*/ inline const Aws::String& GetDnsNameServers() const{ return m_dnsNameServers; } /** *

A list of custom DNS name servers supported for the DMS Serverless * replication to access your source or target database. This list overrides the * default name servers supported by the DMS Serverless replication. You can * specify a comma-separated list of internet addresses for up to four DNS name * servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

*/ inline bool DnsNameServersHasBeenSet() const { return m_dnsNameServersHasBeenSet; } /** *

A list of custom DNS name servers supported for the DMS Serverless * replication to access your source or target database. This list overrides the * default name servers supported by the DMS Serverless replication. You can * specify a comma-separated list of internet addresses for up to four DNS name * servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

*/ inline void SetDnsNameServers(const Aws::String& value) { m_dnsNameServersHasBeenSet = true; m_dnsNameServers = value; } /** *

A list of custom DNS name servers supported for the DMS Serverless * replication to access your source or target database. This list overrides the * default name servers supported by the DMS Serverless replication. You can * specify a comma-separated list of internet addresses for up to four DNS name * servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

*/ inline void SetDnsNameServers(Aws::String&& value) { m_dnsNameServersHasBeenSet = true; m_dnsNameServers = std::move(value); } /** *

A list of custom DNS name servers supported for the DMS Serverless * replication to access your source or target database. This list overrides the * default name servers supported by the DMS Serverless replication. You can * specify a comma-separated list of internet addresses for up to four DNS name * servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

*/ inline void SetDnsNameServers(const char* value) { m_dnsNameServersHasBeenSet = true; m_dnsNameServers.assign(value); } /** *

A list of custom DNS name servers supported for the DMS Serverless * replication to access your source or target database. This list overrides the * default name servers supported by the DMS Serverless replication. You can * specify a comma-separated list of internet addresses for up to four DNS name * servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

*/ inline ComputeConfig& WithDnsNameServers(const Aws::String& value) { SetDnsNameServers(value); return *this;} /** *

A list of custom DNS name servers supported for the DMS Serverless * replication to access your source or target database. This list overrides the * default name servers supported by the DMS Serverless replication. You can * specify a comma-separated list of internet addresses for up to four DNS name * servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

*/ inline ComputeConfig& WithDnsNameServers(Aws::String&& value) { SetDnsNameServers(std::move(value)); return *this;} /** *

A list of custom DNS name servers supported for the DMS Serverless * replication to access your source or target database. This list overrides the * default name servers supported by the DMS Serverless replication. You can * specify a comma-separated list of internet addresses for up to four DNS name * servers. For example: "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"

*/ inline ComputeConfig& WithDnsNameServers(const char* value) { SetDnsNameServers(value); return *this;} /** *

An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used * to encrypt the data during DMS Serverless replication.

If you don't * specify a value for the KmsKeyId parameter, DMS uses your default * encryption key.

KMS creates the default encryption key for your Amazon * Web Services account. Your Amazon Web Services account has a different default * encryption key for each Amazon Web Services Region.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used * to encrypt the data during DMS Serverless replication.

If you don't * specify a value for the KmsKeyId parameter, DMS uses your default * encryption key.

KMS creates the default encryption key for your Amazon * Web Services account. Your Amazon Web Services account has a different default * encryption key for each Amazon Web Services Region.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *

An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used * to encrypt the data during DMS Serverless replication.

If you don't * specify a value for the KmsKeyId parameter, DMS uses your default * encryption key.

KMS creates the default encryption key for your Amazon * Web Services account. Your Amazon Web Services account has a different default * encryption key for each Amazon Web Services Region.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *

An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used * to encrypt the data during DMS Serverless replication.

If you don't * specify a value for the KmsKeyId parameter, DMS uses your default * encryption key.

KMS creates the default encryption key for your Amazon * Web Services account. Your Amazon Web Services account has a different default * encryption key for each Amazon Web Services Region.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *

An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used * to encrypt the data during DMS Serverless replication.

If you don't * specify a value for the KmsKeyId parameter, DMS uses your default * encryption key.

KMS creates the default encryption key for your Amazon * Web Services account. Your Amazon Web Services account has a different default * encryption key for each Amazon Web Services Region.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *

An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used * to encrypt the data during DMS Serverless replication.

If you don't * specify a value for the KmsKeyId parameter, DMS uses your default * encryption key.

KMS creates the default encryption key for your Amazon * Web Services account. Your Amazon Web Services account has a different default * encryption key for each Amazon Web Services Region.

*/ inline ComputeConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used * to encrypt the data during DMS Serverless replication.

If you don't * specify a value for the KmsKeyId parameter, DMS uses your default * encryption key.

KMS creates the default encryption key for your Amazon * Web Services account. Your Amazon Web Services account has a different default * encryption key for each Amazon Web Services Region.

*/ inline ComputeConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used * to encrypt the data during DMS Serverless replication.

If you don't * specify a value for the KmsKeyId parameter, DMS uses your default * encryption key.

KMS creates the default encryption key for your Amazon * Web Services account. Your Amazon Web Services account has a different default * encryption key for each Amazon Web Services Region.

*/ inline ComputeConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *

Specifies the maximum value of the DMS capacity units (DCUs) for which a * given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, * with 2 DCUs as the minimum value allowed. The list of valid DCU values includes * 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can * specify for DMS Serverless is 384. The MaxCapacityUnits parameter * is the only DCU parameter you are required to specify.

*/ inline int GetMaxCapacityUnits() const{ return m_maxCapacityUnits; } /** *

Specifies the maximum value of the DMS capacity units (DCUs) for which a * given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, * with 2 DCUs as the minimum value allowed. The list of valid DCU values includes * 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can * specify for DMS Serverless is 384. The MaxCapacityUnits parameter * is the only DCU parameter you are required to specify.

*/ inline bool MaxCapacityUnitsHasBeenSet() const { return m_maxCapacityUnitsHasBeenSet; } /** *

Specifies the maximum value of the DMS capacity units (DCUs) for which a * given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, * with 2 DCUs as the minimum value allowed. The list of valid DCU values includes * 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can * specify for DMS Serverless is 384. The MaxCapacityUnits parameter * is the only DCU parameter you are required to specify.

*/ inline void SetMaxCapacityUnits(int value) { m_maxCapacityUnitsHasBeenSet = true; m_maxCapacityUnits = value; } /** *

Specifies the maximum value of the DMS capacity units (DCUs) for which a * given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, * with 2 DCUs as the minimum value allowed. The list of valid DCU values includes * 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can * specify for DMS Serverless is 384. The MaxCapacityUnits parameter * is the only DCU parameter you are required to specify.

*/ inline ComputeConfig& WithMaxCapacityUnits(int value) { SetMaxCapacityUnits(value); return *this;} /** *

Specifies the minimum value of the DMS capacity units (DCUs) for which a * given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, * with 2 DCUs as the minimum value allowed. The list of valid DCU values includes * 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you * can specify for DMS Serverless is 2. You don't have to specify a value for the * MinCapacityUnits parameter. If you don't set this value, DMS scans * the current activity of available source tables to identify an optimum setting * for this parameter. If there is no current source activity or DMS can't * otherwise identify a more appropriate value, it sets this parameter to the * minimum DCU value allowed, 2.

*/ inline int GetMinCapacityUnits() const{ return m_minCapacityUnits; } /** *

Specifies the minimum value of the DMS capacity units (DCUs) for which a * given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, * with 2 DCUs as the minimum value allowed. The list of valid DCU values includes * 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you * can specify for DMS Serverless is 2. You don't have to specify a value for the * MinCapacityUnits parameter. If you don't set this value, DMS scans * the current activity of available source tables to identify an optimum setting * for this parameter. If there is no current source activity or DMS can't * otherwise identify a more appropriate value, it sets this parameter to the * minimum DCU value allowed, 2.

*/ inline bool MinCapacityUnitsHasBeenSet() const { return m_minCapacityUnitsHasBeenSet; } /** *

Specifies the minimum value of the DMS capacity units (DCUs) for which a * given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, * with 2 DCUs as the minimum value allowed. The list of valid DCU values includes * 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you * can specify for DMS Serverless is 2. You don't have to specify a value for the * MinCapacityUnits parameter. If you don't set this value, DMS scans * the current activity of available source tables to identify an optimum setting * for this parameter. If there is no current source activity or DMS can't * otherwise identify a more appropriate value, it sets this parameter to the * minimum DCU value allowed, 2.

*/ inline void SetMinCapacityUnits(int value) { m_minCapacityUnitsHasBeenSet = true; m_minCapacityUnits = value; } /** *

Specifies the minimum value of the DMS capacity units (DCUs) for which a * given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, * with 2 DCUs as the minimum value allowed. The list of valid DCU values includes * 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you * can specify for DMS Serverless is 2. You don't have to specify a value for the * MinCapacityUnits parameter. If you don't set this value, DMS scans * the current activity of available source tables to identify an optimum setting * for this parameter. If there is no current source activity or DMS can't * otherwise identify a more appropriate value, it sets this parameter to the * minimum DCU value allowed, 2.

*/ inline ComputeConfig& WithMinCapacityUnits(int value) { SetMinCapacityUnits(value); return *this;} /** *

Specifies whether the DMS Serverless replication is a Multi-AZ deployment. * You can't set the AvailabilityZone parameter if the * MultiAZ parameter is set to true.

*/ inline bool GetMultiAZ() const{ return m_multiAZ; } /** *

Specifies whether the DMS Serverless replication is a Multi-AZ deployment. * You can't set the AvailabilityZone parameter if the * MultiAZ parameter is set to true.

*/ inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; } /** *

Specifies whether the DMS Serverless replication is a Multi-AZ deployment. * You can't set the AvailabilityZone parameter if the * MultiAZ parameter is set to true.

*/ inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; } /** *

Specifies whether the DMS Serverless replication is a Multi-AZ deployment. * You can't set the AvailabilityZone parameter if the * MultiAZ parameter is set to true.

*/ inline ComputeConfig& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;} /** *

The weekly time range during which system maintenance can occur for the DMS * Serverless replication, in Universal Coordinated Time (UTC). The format is * ddd:hh24:mi-ddd:hh24:mi.

The default is a 30-minute window * selected at random from an 8-hour block of time per Amazon Web Services Region. * This maintenance occurs on a random day of the week. Valid values for days of * the week include Mon, Tue, Wed, * Thu, Fri, Sat, and Sun.

*

Constraints include a minimum 30-minute window.

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

The weekly time range during which system maintenance can occur for the DMS * Serverless replication, in Universal Coordinated Time (UTC). The format is * ddd:hh24:mi-ddd:hh24:mi.

The default is a 30-minute window * selected at random from an 8-hour block of time per Amazon Web Services Region. * This maintenance occurs on a random day of the week. Valid values for days of * the week include Mon, Tue, Wed, * Thu, Fri, Sat, and Sun.

*

Constraints include a minimum 30-minute window.

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

The weekly time range during which system maintenance can occur for the DMS * Serverless replication, in Universal Coordinated Time (UTC). The format is * ddd:hh24:mi-ddd:hh24:mi.

The default is a 30-minute window * selected at random from an 8-hour block of time per Amazon Web Services Region. * This maintenance occurs on a random day of the week. Valid values for days of * the week include Mon, Tue, Wed, * Thu, Fri, Sat, and Sun.

*

Constraints include a minimum 30-minute window.

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

The weekly time range during which system maintenance can occur for the DMS * Serverless replication, in Universal Coordinated Time (UTC). The format is * ddd:hh24:mi-ddd:hh24:mi.

The default is a 30-minute window * selected at random from an 8-hour block of time per Amazon Web Services Region. * This maintenance occurs on a random day of the week. Valid values for days of * the week include Mon, Tue, Wed, * Thu, Fri, Sat, and Sun.

*

Constraints include a minimum 30-minute window.

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

The weekly time range during which system maintenance can occur for the DMS * Serverless replication, in Universal Coordinated Time (UTC). The format is * ddd:hh24:mi-ddd:hh24:mi.

The default is a 30-minute window * selected at random from an 8-hour block of time per Amazon Web Services Region. * This maintenance occurs on a random day of the week. Valid values for days of * the week include Mon, Tue, Wed, * Thu, Fri, Sat, and Sun.

*

Constraints include a minimum 30-minute window.

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

The weekly time range during which system maintenance can occur for the DMS * Serverless replication, in Universal Coordinated Time (UTC). The format is * ddd:hh24:mi-ddd:hh24:mi.

The default is a 30-minute window * selected at random from an 8-hour block of time per Amazon Web Services Region. * This maintenance occurs on a random day of the week. Valid values for days of * the week include Mon, Tue, Wed, * Thu, Fri, Sat, and Sun.

*

Constraints include a minimum 30-minute window.

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

The weekly time range during which system maintenance can occur for the DMS * Serverless replication, in Universal Coordinated Time (UTC). The format is * ddd:hh24:mi-ddd:hh24:mi.

The default is a 30-minute window * selected at random from an 8-hour block of time per Amazon Web Services Region. * This maintenance occurs on a random day of the week. Valid values for days of * the week include Mon, Tue, Wed, * Thu, Fri, Sat, and Sun.

*

Constraints include a minimum 30-minute window.

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

The weekly time range during which system maintenance can occur for the DMS * Serverless replication, in Universal Coordinated Time (UTC). The format is * ddd:hh24:mi-ddd:hh24:mi.

The default is a 30-minute window * selected at random from an 8-hour block of time per Amazon Web Services Region. * This maintenance occurs on a random day of the week. Valid values for days of * the week include Mon, Tue, Wed, * Thu, Fri, Sat, and Sun.

*

Constraints include a minimum 30-minute window.

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

Specifies a subnet group identifier to associate with the DMS Serverless * replication.

*/ inline const Aws::String& GetReplicationSubnetGroupId() const{ return m_replicationSubnetGroupId; } /** *

Specifies a subnet group identifier to associate with the DMS Serverless * replication.

*/ inline bool ReplicationSubnetGroupIdHasBeenSet() const { return m_replicationSubnetGroupIdHasBeenSet; } /** *

Specifies a subnet group identifier to associate with the DMS Serverless * replication.

*/ inline void SetReplicationSubnetGroupId(const Aws::String& value) { m_replicationSubnetGroupIdHasBeenSet = true; m_replicationSubnetGroupId = value; } /** *

Specifies a subnet group identifier to associate with the DMS Serverless * replication.

*/ inline void SetReplicationSubnetGroupId(Aws::String&& value) { m_replicationSubnetGroupIdHasBeenSet = true; m_replicationSubnetGroupId = std::move(value); } /** *

Specifies a subnet group identifier to associate with the DMS Serverless * replication.

*/ inline void SetReplicationSubnetGroupId(const char* value) { m_replicationSubnetGroupIdHasBeenSet = true; m_replicationSubnetGroupId.assign(value); } /** *

Specifies a subnet group identifier to associate with the DMS Serverless * replication.

*/ inline ComputeConfig& WithReplicationSubnetGroupId(const Aws::String& value) { SetReplicationSubnetGroupId(value); return *this;} /** *

Specifies a subnet group identifier to associate with the DMS Serverless * replication.

*/ inline ComputeConfig& WithReplicationSubnetGroupId(Aws::String&& value) { SetReplicationSubnetGroupId(std::move(value)); return *this;} /** *

Specifies a subnet group identifier to associate with the DMS Serverless * replication.

*/ inline ComputeConfig& WithReplicationSubnetGroupId(const char* value) { SetReplicationSubnetGroupId(value); return *this;} /** *

Specifies the virtual private cloud (VPC) security group to use with the DMS * Serverless replication. The VPC security group must work with the VPC containing * the replication.

*/ inline const Aws::Vector& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; } /** *

Specifies the virtual private cloud (VPC) security group to use with the DMS * Serverless replication. The VPC security group must work with the VPC containing * the replication.

*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** *

Specifies the virtual private cloud (VPC) security group to use with the DMS * Serverless replication. The VPC security group must work with the VPC containing * the replication.

*/ inline void SetVpcSecurityGroupIds(const Aws::Vector& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; } /** *

Specifies the virtual private cloud (VPC) security group to use with the DMS * Serverless replication. The VPC security group must work with the VPC containing * the replication.

*/ inline void SetVpcSecurityGroupIds(Aws::Vector&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); } /** *

Specifies the virtual private cloud (VPC) security group to use with the DMS * Serverless replication. The VPC security group must work with the VPC containing * the replication.

*/ inline ComputeConfig& WithVpcSecurityGroupIds(const Aws::Vector& value) { SetVpcSecurityGroupIds(value); return *this;} /** *

Specifies the virtual private cloud (VPC) security group to use with the DMS * Serverless replication. The VPC security group must work with the VPC containing * the replication.

*/ inline ComputeConfig& WithVpcSecurityGroupIds(Aws::Vector&& value) { SetVpcSecurityGroupIds(std::move(value)); return *this;} /** *

Specifies the virtual private cloud (VPC) security group to use with the DMS * Serverless replication. The VPC security group must work with the VPC containing * the replication.

*/ inline ComputeConfig& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** *

Specifies the virtual private cloud (VPC) security group to use with the DMS * Serverless replication. The VPC security group must work with the VPC containing * the replication.

*/ inline ComputeConfig& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } /** *

Specifies the virtual private cloud (VPC) security group to use with the DMS * Serverless replication. The VPC security group must work with the VPC containing * the replication.

*/ inline ComputeConfig& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } private: Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet = false; Aws::String m_dnsNameServers; bool m_dnsNameServersHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; int m_maxCapacityUnits; bool m_maxCapacityUnitsHasBeenSet = false; int m_minCapacityUnits; bool m_minCapacityUnitsHasBeenSet = false; bool m_multiAZ; bool m_multiAZHasBeenSet = false; Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; Aws::String m_replicationSubnetGroupId; bool m_replicationSubnetGroupIdHasBeenSet = false; Aws::Vector m_vpcSecurityGroupIds; bool m_vpcSecurityGroupIdsHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws