36 lines
944 B
C++
36 lines
944 B
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#include <aws/redshift/model/DeleteClusterSubnetGroupRequest.h>
|
|
#include <aws/core/utils/StringUtils.h>
|
|
#include <aws/core/utils/memory/stl/AWSStringStream.h>
|
|
|
|
using namespace Aws::Redshift::Model;
|
|
using namespace Aws::Utils;
|
|
|
|
DeleteClusterSubnetGroupRequest::DeleteClusterSubnetGroupRequest() :
|
|
m_clusterSubnetGroupNameHasBeenSet(false)
|
|
{
|
|
}
|
|
|
|
Aws::String DeleteClusterSubnetGroupRequest::SerializePayload() const
|
|
{
|
|
Aws::StringStream ss;
|
|
ss << "Action=DeleteClusterSubnetGroup&";
|
|
if(m_clusterSubnetGroupNameHasBeenSet)
|
|
{
|
|
ss << "ClusterSubnetGroupName=" << StringUtils::URLEncode(m_clusterSubnetGroupName.c_str()) << "&";
|
|
}
|
|
|
|
ss << "Version=2012-12-01";
|
|
return ss.str();
|
|
}
|
|
|
|
|
|
void DeleteClusterSubnetGroupRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const
|
|
{
|
|
uri.SetQueryString(SerializePayload());
|
|
}
|