/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::XRay::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; GetInsightImpactGraphRequest::GetInsightImpactGraphRequest() : m_insightIdHasBeenSet(false), m_startTimeHasBeenSet(false), m_endTimeHasBeenSet(false), m_nextTokenHasBeenSet(false) { } Aws::String GetInsightImpactGraphRequest::SerializePayload() const { JsonValue payload; if(m_insightIdHasBeenSet) { payload.WithString("InsightId", m_insightId); } 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); } return payload.View().WriteReadable(); }