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-cloudformation/source/model/DescribeStacksRequest.cpp

42 lines
993 B
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/cloudformation/model/DescribeStacksRequest.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
using namespace Aws::CloudFormation::Model;
using namespace Aws::Utils;
DescribeStacksRequest::DescribeStacksRequest() :
m_stackNameHasBeenSet(false),
m_nextTokenHasBeenSet(false)
{
}
Aws::String DescribeStacksRequest::SerializePayload() const
{
Aws::StringStream ss;
ss << "Action=DescribeStacks&";
if(m_stackNameHasBeenSet)
{
ss << "StackName=" << StringUtils::URLEncode(m_stackName.c_str()) << "&";
}
if(m_nextTokenHasBeenSet)
{
ss << "NextToken=" << StringUtils::URLEncode(m_nextToken.c_str()) << "&";
}
ss << "Version=2010-05-15";
return ss.str();
}
void DescribeStacksRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const
{
uri.SetQueryString(SerializePayload());
}