/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::IoTThingsGraph::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; SearchFlowExecutionsRequest::SearchFlowExecutionsRequest() : m_systemInstanceIdHasBeenSet(false), m_flowExecutionIdHasBeenSet(false), m_startTimeHasBeenSet(false), m_endTimeHasBeenSet(false), m_nextTokenHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false) { } Aws::String SearchFlowExecutionsRequest::SerializePayload() const { JsonValue payload; if(m_systemInstanceIdHasBeenSet) { payload.WithString("systemInstanceId", m_systemInstanceId); } if(m_flowExecutionIdHasBeenSet) { payload.WithString("flowExecutionId", m_flowExecutionId); } if(m_startTimeHasBeenSet) { payload.WithDouble("startTime", m_startTime.SecondsWithMSPrecision()); } if(m_endTimeHasBeenSet) { payload.WithDouble("endTime", m_endTime.SecondsWithMSPrecision()); } if(m_nextTokenHasBeenSet) { payload.WithString("nextToken", m_nextToken); } if(m_maxResultsHasBeenSet) { payload.WithInteger("maxResults", m_maxResults); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection SearchFlowExecutionsRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "IotThingsGraphFrontEndService.SearchFlowExecutions")); return headers; }