/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTSiteWise { namespace Model { class AWS_IOTSITEWISE_API CreateGatewayResult { public: CreateGatewayResult(); CreateGatewayResult(const Aws::AmazonWebServiceResult& result); CreateGatewayResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the gateway device. You can use this ID when you call other AWS IoT * SiteWise APIs.

*/ inline const Aws::String& GetGatewayId() const{ return m_gatewayId; } /** *

The ID of the gateway device. You can use this ID when you call other AWS IoT * SiteWise APIs.

*/ inline void SetGatewayId(const Aws::String& value) { m_gatewayId = value; } /** *

The ID of the gateway device. You can use this ID when you call other AWS IoT * SiteWise APIs.

*/ inline void SetGatewayId(Aws::String&& value) { m_gatewayId = std::move(value); } /** *

The ID of the gateway device. You can use this ID when you call other AWS IoT * SiteWise APIs.

*/ inline void SetGatewayId(const char* value) { m_gatewayId.assign(value); } /** *

The ID of the gateway device. You can use this ID when you call other AWS IoT * SiteWise APIs.

*/ inline CreateGatewayResult& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;} /** *

The ID of the gateway device. You can use this ID when you call other AWS IoT * SiteWise APIs.

*/ inline CreateGatewayResult& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;} /** *

The ID of the gateway device. You can use this ID when you call other AWS IoT * SiteWise APIs.

*/ inline CreateGatewayResult& WithGatewayId(const char* value) { SetGatewayId(value); return *this;} /** *

The ARN * of the gateway, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId} *

*/ inline const Aws::String& GetGatewayArn() const{ return m_gatewayArn; } /** *

The ARN * of the gateway, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId} *

*/ inline void SetGatewayArn(const Aws::String& value) { m_gatewayArn = value; } /** *

The ARN * of the gateway, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId} *

*/ inline void SetGatewayArn(Aws::String&& value) { m_gatewayArn = std::move(value); } /** *

The ARN * of the gateway, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId} *

*/ inline void SetGatewayArn(const char* value) { m_gatewayArn.assign(value); } /** *

The ARN * of the gateway, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId} *

*/ inline CreateGatewayResult& WithGatewayArn(const Aws::String& value) { SetGatewayArn(value); return *this;} /** *

The ARN * of the gateway, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId} *

*/ inline CreateGatewayResult& WithGatewayArn(Aws::String&& value) { SetGatewayArn(std::move(value)); return *this;} /** *

The ARN * of the gateway, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId} *

*/ inline CreateGatewayResult& WithGatewayArn(const char* value) { SetGatewayArn(value); return *this;} private: Aws::String m_gatewayId; Aws::String m_gatewayArn; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws