/** * 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; DescribeStackSetOperationRequest::DescribeStackSetOperationRequest() : m_stackSetNameHasBeenSet(false), m_operationIdHasBeenSet(false), m_callAs(CallAs::NOT_SET), m_callAsHasBeenSet(false) { } Aws::String DescribeStackSetOperationRequest::SerializePayload() const { Aws::StringStream ss; ss << "Action=DescribeStackSetOperation&"; if(m_stackSetNameHasBeenSet) { ss << "StackSetName=" << StringUtils::URLEncode(m_stackSetName.c_str()) << "&"; } if(m_operationIdHasBeenSet) { ss << "OperationId=" << StringUtils::URLEncode(m_operationId.c_str()) << "&"; } if(m_callAsHasBeenSet) { ss << "CallAs=" << CallAsMapper::GetNameForCallAs(m_callAs) << "&"; } ss << "Version=2010-05-15"; return ss.str(); } void DescribeStackSetOperationRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const { uri.SetQueryString(SerializePayload()); }