This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iotsitewise/include/aws/iotsitewise/model/CreateGatewayResult.h

151 lines
5.1 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
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<Aws::Utils::Json::JsonValue>& result);
CreateGatewayResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ID of the gateway device. You can use this ID when you call other AWS IoT
* SiteWise APIs.</p>
*/
inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
/**
* <p>The ID of the gateway device. You can use this ID when you call other AWS IoT
* SiteWise APIs.</p>
*/
inline void SetGatewayId(const Aws::String& value) { m_gatewayId = value; }
/**
* <p>The ID of the gateway device. You can use this ID when you call other AWS IoT
* SiteWise APIs.</p>
*/
inline void SetGatewayId(Aws::String&& value) { m_gatewayId = std::move(value); }
/**
* <p>The ID of the gateway device. You can use this ID when you call other AWS IoT
* SiteWise APIs.</p>
*/
inline void SetGatewayId(const char* value) { m_gatewayId.assign(value); }
/**
* <p>The ID of the gateway device. You can use this ID when you call other AWS IoT
* SiteWise APIs.</p>
*/
inline CreateGatewayResult& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
/**
* <p>The ID of the gateway device. You can use this ID when you call other AWS IoT
* SiteWise APIs.</p>
*/
inline CreateGatewayResult& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
/**
* <p>The ID of the gateway device. You can use this ID when you call other AWS IoT
* SiteWise APIs.</p>
*/
inline CreateGatewayResult& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
/**
* <p>The <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a>
* of the gateway, which has the following format.</p> <p>
* <code>arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}</code>
* </p>
*/
inline const Aws::String& GetGatewayArn() const{ return m_gatewayArn; }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a>
* of the gateway, which has the following format.</p> <p>
* <code>arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}</code>
* </p>
*/
inline void SetGatewayArn(const Aws::String& value) { m_gatewayArn = value; }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a>
* of the gateway, which has the following format.</p> <p>
* <code>arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}</code>
* </p>
*/
inline void SetGatewayArn(Aws::String&& value) { m_gatewayArn = std::move(value); }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a>
* of the gateway, which has the following format.</p> <p>
* <code>arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}</code>
* </p>
*/
inline void SetGatewayArn(const char* value) { m_gatewayArn.assign(value); }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a>
* of the gateway, which has the following format.</p> <p>
* <code>arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}</code>
* </p>
*/
inline CreateGatewayResult& WithGatewayArn(const Aws::String& value) { SetGatewayArn(value); return *this;}
/**
* <p>The <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a>
* of the gateway, which has the following format.</p> <p>
* <code>arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}</code>
* </p>
*/
inline CreateGatewayResult& WithGatewayArn(Aws::String&& value) { SetGatewayArn(std::move(value)); return *this;}
/**
* <p>The <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a>
* of the gateway, which has the following format.</p> <p>
* <code>arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}</code>
* </p>
*/
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