/** * 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. To create a * gateway that runs on IoT Greengrass, you must add the IoT SiteWise connector to * a Greengrass group and deploy it. Your Greengrass group must also have * permissions to upload data to IoT SiteWise. For more information, see Ingesting * data using a gateway in the IoT SiteWise User Guide.

See * Also:

AWS * API Reference

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

The ARN * of the Greengrass group. For more information about how to find a group's ARN, * see ListGroups * and GetGroup * in the IoT Greengrass API Reference.

*/ inline const Aws::String& GetGroupArn() const{ return m_groupArn; } /** *

The ARN * of the Greengrass group. For more information about how to find a group's ARN, * see ListGroups * and GetGroup * in the IoT Greengrass API Reference.

*/ inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; } /** *

The ARN * of the Greengrass group. For more information about how to find a group's ARN, * see ListGroups * and GetGroup * in the IoT Greengrass API Reference.

*/ inline void SetGroupArn(const Aws::String& value) { m_groupArnHasBeenSet = true; m_groupArn = value; } /** *

The ARN * of the Greengrass group. For more information about how to find a group's ARN, * see ListGroups * and GetGroup * in the IoT Greengrass API Reference.

*/ inline void SetGroupArn(Aws::String&& value) { m_groupArnHasBeenSet = true; m_groupArn = std::move(value); } /** *

The ARN * of the Greengrass group. For more information about how to find a group's ARN, * see ListGroups * and GetGroup * in the IoT Greengrass API Reference.

*/ inline void SetGroupArn(const char* value) { m_groupArnHasBeenSet = true; m_groupArn.assign(value); } /** *

The ARN * of the Greengrass group. For more information about how to find a group's ARN, * see ListGroups * and GetGroup * in the IoT Greengrass API Reference.

*/ inline Greengrass& WithGroupArn(const Aws::String& value) { SetGroupArn(value); return *this;} /** *

The ARN * of the Greengrass group. For more information about how to find a group's ARN, * see ListGroups * and GetGroup * in the IoT Greengrass API Reference.

*/ inline Greengrass& WithGroupArn(Aws::String&& value) { SetGroupArn(std::move(value)); return *this;} /** *

The ARN * of the Greengrass group. For more information about how to find a group's ARN, * see ListGroups * and GetGroup * in the IoT Greengrass API Reference.

*/ inline Greengrass& WithGroupArn(const char* value) { SetGroupArn(value); return *this;} private: Aws::String m_groupArn; bool m_groupArnHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws