/** * 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 Neptune { namespace Model { /** */ class DeleteDBSubnetGroupRequest : public NeptuneRequest { public: AWS_NEPTUNE_API DeleteDBSubnetGroupRequest(); // 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 "DeleteDBSubnetGroup"; } AWS_NEPTUNE_API Aws::String SerializePayload() const override; protected: AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name of the database subnet group to delete.

You can't * delete the default subnet group.

Constraints:

Constraints: * Must match the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

*/ inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; } /** *

The name of the database subnet group to delete.

You can't * delete the default subnet group.

Constraints:

Constraints: * Must match the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

*/ inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; } /** *

The name of the database subnet group to delete.

You can't * delete the default subnet group.

Constraints:

Constraints: * Must match the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

*/ inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; } /** *

The name of the database subnet group to delete.

You can't * delete the default subnet group.

Constraints:

Constraints: * Must match the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

*/ inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); } /** *

The name of the database subnet group to delete.

You can't * delete the default subnet group.

Constraints:

Constraints: * Must match the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

*/ inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); } /** *

The name of the database subnet group to delete.

You can't * delete the default subnet group.

Constraints:

Constraints: * Must match the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

*/ inline DeleteDBSubnetGroupRequest& WithDBSubnetGroupName(const Aws::String& value) { SetDBSubnetGroupName(value); return *this;} /** *

The name of the database subnet group to delete.

You can't * delete the default subnet group.

Constraints:

Constraints: * Must match the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

*/ inline DeleteDBSubnetGroupRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;} /** *

The name of the database subnet group to delete.

You can't * delete the default subnet group.

Constraints:

Constraints: * Must match the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

*/ inline DeleteDBSubnetGroupRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;} private: Aws::String m_dBSubnetGroupName; bool m_dBSubnetGroupNameHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws