/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::CloudFormation::Model; using namespace Aws::Utils; DescribeChangeSetHooksRequest::DescribeChangeSetHooksRequest() : m_changeSetNameHasBeenSet(false), m_stackNameHasBeenSet(false), m_nextTokenHasBeenSet(false), m_logicalResourceIdHasBeenSet(false) { } Aws::String DescribeChangeSetHooksRequest::SerializePayload() const { Aws::StringStream ss; ss << "Action=DescribeChangeSetHooks&"; if(m_changeSetNameHasBeenSet) { ss << "ChangeSetName=" << StringUtils::URLEncode(m_changeSetName.c_str()) << "&"; } if(m_stackNameHasBeenSet) { ss << "StackName=" << StringUtils::URLEncode(m_stackName.c_str()) << "&"; } if(m_nextTokenHasBeenSet) { ss << "NextToken=" << StringUtils::URLEncode(m_nextToken.c_str()) << "&"; } if(m_logicalResourceIdHasBeenSet) { ss << "LogicalResourceId=" << StringUtils::URLEncode(m_logicalResourceId.c_str()) << "&"; } ss << "Version=2010-05-15"; return ss.str(); } void DescribeChangeSetHooksRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const { uri.SetQueryString(SerializePayload()); }