/** * 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 associate a client device with a core device. The BatchAssociateClientDeviceWithCoreDevice * operation consumes a list of these requests.

See Also:

AWS * API Reference

*/ class AssociateClientDeviceWithCoreDeviceEntry { public: AWS_GREENGRASSV2_API AssociateClientDeviceWithCoreDeviceEntry(); AWS_GREENGRASSV2_API AssociateClientDeviceWithCoreDeviceEntry(Aws::Utils::Json::JsonView jsonValue); AWS_GREENGRASSV2_API AssociateClientDeviceWithCoreDeviceEntry& 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 associate.

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

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

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

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

*/ 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 associate.

*/ 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 associate.

*/ 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 associate.

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

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

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

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

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