/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GreengrassV2 { namespace Model { /** *

Contains a request to disassociate a client device from a core device. The BatchDisassociateClientDeviceWithCoreDevice * operation consumes a list of these requests.

See Also:

AWS * API Reference

*/ class DisassociateClientDeviceFromCoreDeviceEntry { public: AWS_GREENGRASSV2_API DisassociateClientDeviceFromCoreDeviceEntry(); AWS_GREENGRASSV2_API DisassociateClientDeviceFromCoreDeviceEntry(Aws::Utils::Json::JsonView jsonValue); AWS_GREENGRASSV2_API DisassociateClientDeviceFromCoreDeviceEntry& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the IoT thing that represents the client device to * disassociate.

*/ inline const Aws::String& GetThingName() const{ return m_thingName; } /** *

The name of the IoT thing that represents the client device to * disassociate.

*/ inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; } /** *

The name of the IoT thing that represents the client device to * disassociate.

*/ inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; } /** *

The name of the IoT thing that represents the client device to * disassociate.

*/ inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); } /** *

The name of the IoT thing that represents the client device to * disassociate.

*/ inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); } /** *

The name of the IoT thing that represents the client device to * disassociate.

*/ inline DisassociateClientDeviceFromCoreDeviceEntry& WithThingName(const Aws::String& value) { SetThingName(value); return *this;} /** *

The name of the IoT thing that represents the client device to * disassociate.

*/ inline DisassociateClientDeviceFromCoreDeviceEntry& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;} /** *

The name of the IoT thing that represents the client device to * disassociate.

*/ inline DisassociateClientDeviceFromCoreDeviceEntry& WithThingName(const char* value) { SetThingName(value); return *this;} private: Aws::String m_thingName; bool m_thingNameHasBeenSet = false; }; } // namespace Model } // namespace GreengrassV2 } // namespace Aws