/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace IoTWireless { namespace Model { PositionSolverDetails::PositionSolverDetails() : m_semtechGnssHasBeenSet(false) { } PositionSolverDetails::PositionSolverDetails(JsonView jsonValue) : m_semtechGnssHasBeenSet(false) { *this = jsonValue; } PositionSolverDetails& PositionSolverDetails::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("SemtechGnss")) { m_semtechGnss = jsonValue.GetObject("SemtechGnss"); m_semtechGnssHasBeenSet = true; } return *this; } JsonValue PositionSolverDetails::Jsonize() const { JsonValue payload; if(m_semtechGnssHasBeenSet) { payload.WithObject("SemtechGnss", m_semtechGnss.Jsonize()); } return payload; } } // namespace Model } // namespace IoTWireless } // namespace Aws