/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace RDS { namespace Model { /** */ class ModifyDBProxyEndpointRequest : public RDSRequest { public: AWS_RDS_API ModifyDBProxyEndpointRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ModifyDBProxyEndpoint"; } AWS_RDS_API Aws::String SerializePayload() const override; protected: AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name of the DB proxy sociated with the DB proxy endpoint that you want to * modify.

*/ inline const Aws::String& GetDBProxyEndpointName() const{ return m_dBProxyEndpointName; } /** *

The name of the DB proxy sociated with the DB proxy endpoint that you want to * modify.

*/ inline bool DBProxyEndpointNameHasBeenSet() const { return m_dBProxyEndpointNameHasBeenSet; } /** *

The name of the DB proxy sociated with the DB proxy endpoint that you want to * modify.

*/ inline void SetDBProxyEndpointName(const Aws::String& value) { m_dBProxyEndpointNameHasBeenSet = true; m_dBProxyEndpointName = value; } /** *

The name of the DB proxy sociated with the DB proxy endpoint that you want to * modify.

*/ inline void SetDBProxyEndpointName(Aws::String&& value) { m_dBProxyEndpointNameHasBeenSet = true; m_dBProxyEndpointName = std::move(value); } /** *

The name of the DB proxy sociated with the DB proxy endpoint that you want to * modify.

*/ inline void SetDBProxyEndpointName(const char* value) { m_dBProxyEndpointNameHasBeenSet = true; m_dBProxyEndpointName.assign(value); } /** *

The name of the DB proxy sociated with the DB proxy endpoint that you want to * modify.

*/ inline ModifyDBProxyEndpointRequest& WithDBProxyEndpointName(const Aws::String& value) { SetDBProxyEndpointName(value); return *this;} /** *

The name of the DB proxy sociated with the DB proxy endpoint that you want to * modify.

*/ inline ModifyDBProxyEndpointRequest& WithDBProxyEndpointName(Aws::String&& value) { SetDBProxyEndpointName(std::move(value)); return *this;} /** *

The name of the DB proxy sociated with the DB proxy endpoint that you want to * modify.

*/ inline ModifyDBProxyEndpointRequest& WithDBProxyEndpointName(const char* value) { SetDBProxyEndpointName(value); return *this;} /** *

The new identifier for the DBProxyEndpoint. An identifier must * begin with a letter and must contain only ASCII letters, digits, and hyphens; it * can't end with a hyphen or contain two consecutive hyphens.

*/ inline const Aws::String& GetNewDBProxyEndpointName() const{ return m_newDBProxyEndpointName; } /** *

The new identifier for the DBProxyEndpoint. An identifier must * begin with a letter and must contain only ASCII letters, digits, and hyphens; it * can't end with a hyphen or contain two consecutive hyphens.

*/ inline bool NewDBProxyEndpointNameHasBeenSet() const { return m_newDBProxyEndpointNameHasBeenSet; } /** *

The new identifier for the DBProxyEndpoint. An identifier must * begin with a letter and must contain only ASCII letters, digits, and hyphens; it * can't end with a hyphen or contain two consecutive hyphens.

*/ inline void SetNewDBProxyEndpointName(const Aws::String& value) { m_newDBProxyEndpointNameHasBeenSet = true; m_newDBProxyEndpointName = value; } /** *

The new identifier for the DBProxyEndpoint. An identifier must * begin with a letter and must contain only ASCII letters, digits, and hyphens; it * can't end with a hyphen or contain two consecutive hyphens.

*/ inline void SetNewDBProxyEndpointName(Aws::String&& value) { m_newDBProxyEndpointNameHasBeenSet = true; m_newDBProxyEndpointName = std::move(value); } /** *

The new identifier for the DBProxyEndpoint. An identifier must * begin with a letter and must contain only ASCII letters, digits, and hyphens; it * can't end with a hyphen or contain two consecutive hyphens.

*/ inline void SetNewDBProxyEndpointName(const char* value) { m_newDBProxyEndpointNameHasBeenSet = true; m_newDBProxyEndpointName.assign(value); } /** *

The new identifier for the DBProxyEndpoint. An identifier must * begin with a letter and must contain only ASCII letters, digits, and hyphens; it * can't end with a hyphen or contain two consecutive hyphens.

*/ inline ModifyDBProxyEndpointRequest& WithNewDBProxyEndpointName(const Aws::String& value) { SetNewDBProxyEndpointName(value); return *this;} /** *

The new identifier for the DBProxyEndpoint. An identifier must * begin with a letter and must contain only ASCII letters, digits, and hyphens; it * can't end with a hyphen or contain two consecutive hyphens.

*/ inline ModifyDBProxyEndpointRequest& WithNewDBProxyEndpointName(Aws::String&& value) { SetNewDBProxyEndpointName(std::move(value)); return *this;} /** *

The new identifier for the DBProxyEndpoint. An identifier must * begin with a letter and must contain only ASCII letters, digits, and hyphens; it * can't end with a hyphen or contain two consecutive hyphens.

*/ inline ModifyDBProxyEndpointRequest& WithNewDBProxyEndpointName(const char* value) { SetNewDBProxyEndpointName(value); return *this;} /** *

The VPC security group IDs for the DB proxy endpoint. When the DB proxy * endpoint uses a different VPC than the original proxy, you also specify a * different set of security group IDs than for the original proxy.

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

The VPC security group IDs for the DB proxy endpoint. When the DB proxy * endpoint uses a different VPC than the original proxy, you also specify a * different set of security group IDs than for the original proxy.

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

The VPC security group IDs for the DB proxy endpoint. When the DB proxy * endpoint uses a different VPC than the original proxy, you also specify a * different set of security group IDs than for the original proxy.

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

The VPC security group IDs for the DB proxy endpoint. When the DB proxy * endpoint uses a different VPC than the original proxy, you also specify a * different set of security group IDs than for the original proxy.

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

The VPC security group IDs for the DB proxy endpoint. When the DB proxy * endpoint uses a different VPC than the original proxy, you also specify a * different set of security group IDs than for the original proxy.

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

The VPC security group IDs for the DB proxy endpoint. When the DB proxy * endpoint uses a different VPC than the original proxy, you also specify a * different set of security group IDs than for the original proxy.

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

The VPC security group IDs for the DB proxy endpoint. When the DB proxy * endpoint uses a different VPC than the original proxy, you also specify a * different set of security group IDs than for the original proxy.

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

The VPC security group IDs for the DB proxy endpoint. When the DB proxy * endpoint uses a different VPC than the original proxy, you also specify a * different set of security group IDs than for the original proxy.

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

The VPC security group IDs for the DB proxy endpoint. When the DB proxy * endpoint uses a different VPC than the original proxy, you also specify a * different set of security group IDs than for the original proxy.

*/ inline ModifyDBProxyEndpointRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } private: Aws::String m_dBProxyEndpointName; bool m_dBProxyEndpointNameHasBeenSet = false; Aws::String m_newDBProxyEndpointName; bool m_newDBProxyEndpointNameHasBeenSet = false; Aws::Vector m_vpcSecurityGroupIds; bool m_vpcSecurityGroupIdsHasBeenSet = false; }; } // namespace Model } // namespace RDS } // namespace Aws