/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::CodeDeploy::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; GetDeploymentGroupRequest::GetDeploymentGroupRequest() : m_applicationNameHasBeenSet(false), m_deploymentGroupNameHasBeenSet(false) { } Aws::String GetDeploymentGroupRequest::SerializePayload() const { JsonValue payload; if(m_applicationNameHasBeenSet) { payload.WithString("applicationName", m_applicationName); } if(m_deploymentGroupNameHasBeenSet) { payload.WithString("deploymentGroupName", m_deploymentGroupName); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection GetDeploymentGroupRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "CodeDeploy_20141006.GetDeploymentGroup")); return headers; }