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