42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#include <aws/elasticbeanstalk/model/DeleteConfigurationTemplateRequest.h>
|
|||
|
|
#include <aws/core/utils/StringUtils.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSStringStream.h>
|
|||
|
|
|
|||
|
|
using namespace Aws::ElasticBeanstalk::Model;
|
|||
|
|
using namespace Aws::Utils;
|
|||
|
|
|
|||
|
|
DeleteConfigurationTemplateRequest::DeleteConfigurationTemplateRequest() :
|
|||
|
|
m_applicationNameHasBeenSet(false),
|
|||
|
|
m_templateNameHasBeenSet(false)
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
Aws::String DeleteConfigurationTemplateRequest::SerializePayload() const
|
|||
|
|
{
|
|||
|
|
Aws::StringStream ss;
|
|||
|
|
ss << "Action=DeleteConfigurationTemplate&";
|
|||
|
|
if(m_applicationNameHasBeenSet)
|
|||
|
|
{
|
|||
|
|
ss << "ApplicationName=" << StringUtils::URLEncode(m_applicationName.c_str()) << "&";
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
if(m_templateNameHasBeenSet)
|
|||
|
|
{
|
|||
|
|
ss << "TemplateName=" << StringUtils::URLEncode(m_templateName.c_str()) << "&";
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
ss << "Version=2010-12-01";
|
|||
|
|
return ss.str();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
void DeleteConfigurationTemplateRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const
|
|||
|
|
{
|
|||
|
|
uri.SetQueryString(SerializePayload());
|
|||
|
|
}
|