/** * 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 GreengrassV2 { namespace Model { DisassociateClientDeviceFromCoreDeviceEntry::DisassociateClientDeviceFromCoreDeviceEntry() : m_thingNameHasBeenSet(false) { } DisassociateClientDeviceFromCoreDeviceEntry::DisassociateClientDeviceFromCoreDeviceEntry(JsonView jsonValue) : m_thingNameHasBeenSet(false) { *this = jsonValue; } DisassociateClientDeviceFromCoreDeviceEntry& DisassociateClientDeviceFromCoreDeviceEntry::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("thingName")) { m_thingName = jsonValue.GetString("thingName"); m_thingNameHasBeenSet = true; } return *this; } JsonValue DisassociateClientDeviceFromCoreDeviceEntry::Jsonize() const { JsonValue payload; if(m_thingNameHasBeenSet) { payload.WithString("thingName", m_thingName); } return payload; } } // namespace Model } // namespace GreengrassV2 } // namespace Aws