/** * 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 IoTSiteWise { namespace Model { /** *

Contains details for a gateway that runs on IoT Greengrass V2. To create a * gateway that runs on IoT Greengrass V2, you must deploy the IoT SiteWise Edge * component to your gateway device. Your Greengrass * device role must use the AWSIoTSiteWiseEdgeAccess policy. For * more information, see Using * IoT SiteWise at the edge in the IoT SiteWise User * Guide.

See Also:

AWS * API Reference

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

The name of the IoT thing for your IoT Greengrass V2 core device.

*/ inline const Aws::String& GetCoreDeviceThingName() const{ return m_coreDeviceThingName; } /** *

The name of the IoT thing for your IoT Greengrass V2 core device.

*/ inline bool CoreDeviceThingNameHasBeenSet() const { return m_coreDeviceThingNameHasBeenSet; } /** *

The name of the IoT thing for your IoT Greengrass V2 core device.

*/ inline void SetCoreDeviceThingName(const Aws::String& value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName = value; } /** *

The name of the IoT thing for your IoT Greengrass V2 core device.

*/ inline void SetCoreDeviceThingName(Aws::String&& value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName = std::move(value); } /** *

The name of the IoT thing for your IoT Greengrass V2 core device.

*/ inline void SetCoreDeviceThingName(const char* value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName.assign(value); } /** *

The name of the IoT thing for your IoT Greengrass V2 core device.

*/ inline GreengrassV2& WithCoreDeviceThingName(const Aws::String& value) { SetCoreDeviceThingName(value); return *this;} /** *

The name of the IoT thing for your IoT Greengrass V2 core device.

*/ inline GreengrassV2& WithCoreDeviceThingName(Aws::String&& value) { SetCoreDeviceThingName(std::move(value)); return *this;} /** *

The name of the IoT thing for your IoT Greengrass V2 core device.

*/ inline GreengrassV2& WithCoreDeviceThingName(const char* value) { SetCoreDeviceThingName(value); return *this;} private: Aws::String m_coreDeviceThingName; bool m_coreDeviceThingNameHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws