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

Contains information about a client device that is associated to a core * device for cloud discovery.

See Also:

AWS * API Reference

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

The name of the IoT thing that represents the associated client device.

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

The name of the IoT thing that represents the associated client device.

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

The name of the IoT thing that represents the associated client device.

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

The name of the IoT thing that represents the associated client device.

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

The name of the IoT thing that represents the associated client device.

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

The name of the IoT thing that represents the associated client device.

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

The name of the IoT thing that represents the associated client device.

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

The name of the IoT thing that represents the associated client device.

*/ inline AssociatedClientDevice& WithThingName(const char* value) { SetThingName(value); return *this;} /** *

The time that the client device was associated, expressed in ISO 8601 * format.

*/ inline const Aws::Utils::DateTime& GetAssociationTimestamp() const{ return m_associationTimestamp; } /** *

The time that the client device was associated, expressed in ISO 8601 * format.

*/ inline bool AssociationTimestampHasBeenSet() const { return m_associationTimestampHasBeenSet; } /** *

The time that the client device was associated, expressed in ISO 8601 * format.

*/ inline void SetAssociationTimestamp(const Aws::Utils::DateTime& value) { m_associationTimestampHasBeenSet = true; m_associationTimestamp = value; } /** *

The time that the client device was associated, expressed in ISO 8601 * format.

*/ inline void SetAssociationTimestamp(Aws::Utils::DateTime&& value) { m_associationTimestampHasBeenSet = true; m_associationTimestamp = std::move(value); } /** *

The time that the client device was associated, expressed in ISO 8601 * format.

*/ inline AssociatedClientDevice& WithAssociationTimestamp(const Aws::Utils::DateTime& value) { SetAssociationTimestamp(value); return *this;} /** *

The time that the client device was associated, expressed in ISO 8601 * format.

*/ inline AssociatedClientDevice& WithAssociationTimestamp(Aws::Utils::DateTime&& value) { SetAssociationTimestamp(std::move(value)); return *this;} private: Aws::String m_thingName; bool m_thingNameHasBeenSet = false; Aws::Utils::DateTime m_associationTimestamp; bool m_associationTimestampHasBeenSet = false; }; } // namespace Model } // namespace GreengrassV2 } // namespace Aws