/** * 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; CountPendingDecisionTasksRequest::CountPendingDecisionTasksRequest() : m_domainHasBeenSet(false), m_taskListHasBeenSet(false) { } Aws::String CountPendingDecisionTasksRequest::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 CountPendingDecisionTasksRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "SimpleWorkflowService.CountPendingDecisionTasks")); return headers; }