/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::SWF::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; CountPendingActivityTasksRequest::CountPendingActivityTasksRequest() : m_domainHasBeenSet(false), m_taskListHasBeenSet(false) { } Aws::String CountPendingActivityTasksRequest::SerializePayload() const { JsonValue payload; if(m_domainHasBeenSet) { payload.WithString("domain", m_domain); } if(m_taskListHasBeenSet) { payload.WithObject("taskList", m_taskList.Jsonize()); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection CountPendingActivityTasksRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "SimpleWorkflowService.CountPendingActivityTasks")); return headers; }