/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::SimSpaceWeaver::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateSnapshotRequest::CreateSnapshotRequest() : m_destinationHasBeenSet(false), m_simulationHasBeenSet(false) { } Aws::String CreateSnapshotRequest::SerializePayload() const { JsonValue payload; if(m_destinationHasBeenSet) { payload.WithObject("Destination", m_destination.Jsonize()); } if(m_simulationHasBeenSet) { payload.WithString("Simulation", m_simulation); } return payload.View().WriteReadable(); }