/** * 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 Redshift { namespace Model { /** *

See Also:

AWS * API Reference

*/ class DeleteClusterSecurityGroupRequest : public RedshiftRequest { public: AWS_REDSHIFT_API DeleteClusterSecurityGroupRequest(); // 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 "DeleteClusterSecurityGroup"; } AWS_REDSHIFT_API Aws::String SerializePayload() const override; protected: AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name of the cluster security group to be deleted.

*/ inline const Aws::String& GetClusterSecurityGroupName() const{ return m_clusterSecurityGroupName; } /** *

The name of the cluster security group to be deleted.

*/ inline bool ClusterSecurityGroupNameHasBeenSet() const { return m_clusterSecurityGroupNameHasBeenSet; } /** *

The name of the cluster security group to be deleted.

*/ inline void SetClusterSecurityGroupName(const Aws::String& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = value; } /** *

The name of the cluster security group to be deleted.

*/ inline void SetClusterSecurityGroupName(Aws::String&& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = std::move(value); } /** *

The name of the cluster security group to be deleted.

*/ inline void SetClusterSecurityGroupName(const char* value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName.assign(value); } /** *

The name of the cluster security group to be deleted.

*/ inline DeleteClusterSecurityGroupRequest& WithClusterSecurityGroupName(const Aws::String& value) { SetClusterSecurityGroupName(value); return *this;} /** *

The name of the cluster security group to be deleted.

*/ inline DeleteClusterSecurityGroupRequest& WithClusterSecurityGroupName(Aws::String&& value) { SetClusterSecurityGroupName(std::move(value)); return *this;} /** *

The name of the cluster security group to be deleted.

*/ inline DeleteClusterSecurityGroupRequest& WithClusterSecurityGroupName(const char* value) { SetClusterSecurityGroupName(value); return *this;} private: Aws::String m_clusterSecurityGroupName; bool m_clusterSecurityGroupNameHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws