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