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