/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::SSMIncidents::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteTimelineEventRequest::DeleteTimelineEventRequest() : m_eventIdHasBeenSet(false), m_incidentRecordArnHasBeenSet(false) { } Aws::String DeleteTimelineEventRequest::SerializePayload() const { JsonValue payload; if(m_eventIdHasBeenSet) { payload.WithString("eventId", m_eventId); } if(m_incidentRecordArnHasBeenSet) { payload.WithString("incidentRecordArn", m_incidentRecordArn); } return payload.View().WriteReadable(); }