/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a Greengrass core device, which is an IoT thing
* that runs the IoT Greengrass Core software.See Also:
AWS
* API Reference
The name of the core device. This is also the name of the IoT thing.
*/ inline const Aws::String& GetCoreDeviceThingName() const{ return m_coreDeviceThingName; } /** *The name of the core device. This is also the name of the IoT thing.
*/ inline bool CoreDeviceThingNameHasBeenSet() const { return m_coreDeviceThingNameHasBeenSet; } /** *The name of the core device. This is also the name of the IoT thing.
*/ inline void SetCoreDeviceThingName(const Aws::String& value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName = value; } /** *The name of the core device. This is also the name of the IoT thing.
*/ inline void SetCoreDeviceThingName(Aws::String&& value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName = std::move(value); } /** *The name of the core device. This is also the name of the IoT thing.
*/ inline void SetCoreDeviceThingName(const char* value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName.assign(value); } /** *The name of the core device. This is also the name of the IoT thing.
*/ inline CoreDevice& WithCoreDeviceThingName(const Aws::String& value) { SetCoreDeviceThingName(value); return *this;} /** *The name of the core device. This is also the name of the IoT thing.
*/ inline CoreDevice& WithCoreDeviceThingName(Aws::String&& value) { SetCoreDeviceThingName(std::move(value)); return *this;} /** *The name of the core device. This is also the name of the IoT thing.
*/ inline CoreDevice& WithCoreDeviceThingName(const char* value) { SetCoreDeviceThingName(value); return *this;} /** *The status of the core device. Core devices can have the following * statuses:
HEALTHY
– The IoT Greengrass Core
* software and all components run on the core device without issue.
UNHEALTHY
– The IoT Greengrass Core software or a component is
* in a failed state on the core device.
The status of the core device. Core devices can have the following * statuses:
HEALTHY
– The IoT Greengrass Core
* software and all components run on the core device without issue.
UNHEALTHY
– The IoT Greengrass Core software or a component is
* in a failed state on the core device.
The status of the core device. Core devices can have the following * statuses:
HEALTHY
– The IoT Greengrass Core
* software and all components run on the core device without issue.
UNHEALTHY
– The IoT Greengrass Core software or a component is
* in a failed state on the core device.
The status of the core device. Core devices can have the following * statuses:
HEALTHY
– The IoT Greengrass Core
* software and all components run on the core device without issue.
UNHEALTHY
– The IoT Greengrass Core software or a component is
* in a failed state on the core device.
The status of the core device. Core devices can have the following * statuses:
HEALTHY
– The IoT Greengrass Core
* software and all components run on the core device without issue.
UNHEALTHY
– The IoT Greengrass Core software or a component is
* in a failed state on the core device.
The status of the core device. Core devices can have the following * statuses:
HEALTHY
– The IoT Greengrass Core
* software and all components run on the core device without issue.
UNHEALTHY
– The IoT Greengrass Core software or a component is
* in a failed state on the core device.
The time at which the core device's status last updated, expressed in ISO * 8601 format.
*/ inline const Aws::Utils::DateTime& GetLastStatusUpdateTimestamp() const{ return m_lastStatusUpdateTimestamp; } /** *The time at which the core device's status last updated, expressed in ISO * 8601 format.
*/ inline bool LastStatusUpdateTimestampHasBeenSet() const { return m_lastStatusUpdateTimestampHasBeenSet; } /** *The time at which the core device's status last updated, expressed in ISO * 8601 format.
*/ inline void SetLastStatusUpdateTimestamp(const Aws::Utils::DateTime& value) { m_lastStatusUpdateTimestampHasBeenSet = true; m_lastStatusUpdateTimestamp = value; } /** *The time at which the core device's status last updated, expressed in ISO * 8601 format.
*/ inline void SetLastStatusUpdateTimestamp(Aws::Utils::DateTime&& value) { m_lastStatusUpdateTimestampHasBeenSet = true; m_lastStatusUpdateTimestamp = std::move(value); } /** *The time at which the core device's status last updated, expressed in ISO * 8601 format.
*/ inline CoreDevice& WithLastStatusUpdateTimestamp(const Aws::Utils::DateTime& value) { SetLastStatusUpdateTimestamp(value); return *this;} /** *The time at which the core device's status last updated, expressed in ISO * 8601 format.
*/ inline CoreDevice& WithLastStatusUpdateTimestamp(Aws::Utils::DateTime&& value) { SetLastStatusUpdateTimestamp(std::move(value)); return *this;} private: Aws::String m_coreDeviceThingName; bool m_coreDeviceThingNameHasBeenSet = false; CoreDeviceStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_lastStatusUpdateTimestamp; bool m_lastStatusUpdateTimestampHasBeenSet = false; }; } // namespace Model } // namespace GreengrassV2 } // namespace Aws