/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::IoTAnalytics::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; StartPipelineReprocessingRequest::StartPipelineReprocessingRequest() : m_pipelineNameHasBeenSet(false), m_startTimeHasBeenSet(false), m_endTimeHasBeenSet(false), m_channelMessagesHasBeenSet(false) { } Aws::String StartPipelineReprocessingRequest::SerializePayload() const { JsonValue payload; if(m_startTimeHasBeenSet) { payload.WithDouble("startTime", m_startTime.SecondsWithMSPrecision()); } if(m_endTimeHasBeenSet) { payload.WithDouble("endTime", m_endTime.SecondsWithMSPrecision()); } if(m_channelMessagesHasBeenSet) { payload.WithObject("channelMessages", m_channelMessages.Jsonize()); } return payload.View().WriteReadable(); }