/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Proton::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; CancelEnvironmentDeploymentRequest::CancelEnvironmentDeploymentRequest() : m_environmentNameHasBeenSet(false) { } Aws::String CancelEnvironmentDeploymentRequest::SerializePayload() const { JsonValue payload; if(m_environmentNameHasBeenSet) { payload.WithString("environmentName", m_environmentName); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection CancelEnvironmentDeploymentRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AwsProton20200720.CancelEnvironmentDeployment")); return headers; }