This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-redshift/source/model/DescribeClusterParametersRequest.cpp

55 lines
1.3 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/redshift/model/DescribeClusterParametersRequest.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
using namespace Aws::Redshift::Model;
using namespace Aws::Utils;
DescribeClusterParametersRequest::DescribeClusterParametersRequest() :
m_parameterGroupNameHasBeenSet(false),
m_sourceHasBeenSet(false),
m_maxRecords(0),
m_maxRecordsHasBeenSet(false),
m_markerHasBeenSet(false)
{
}
Aws::String DescribeClusterParametersRequest::SerializePayload() const
{
Aws::StringStream ss;
ss << "Action=DescribeClusterParameters&";
if(m_parameterGroupNameHasBeenSet)
{
ss << "ParameterGroupName=" << StringUtils::URLEncode(m_parameterGroupName.c_str()) << "&";
}
if(m_sourceHasBeenSet)
{
ss << "Source=" << StringUtils::URLEncode(m_source.c_str()) << "&";
}
if(m_maxRecordsHasBeenSet)
{
ss << "MaxRecords=" << m_maxRecords << "&";
}
if(m_markerHasBeenSet)
{
ss << "Marker=" << StringUtils::URLEncode(m_marker.c_str()) << "&";
}
ss << "Version=2012-12-01";
return ss.str();
}
void DescribeClusterParametersRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const
{
uri.SetQueryString(SerializePayload());
}