/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace IoTSiteWise { namespace Model { /** */ class UpdateGatewayRequest : public IoTSiteWiseRequest { public: AWS_IOTSITEWISE_API UpdateGatewayRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateGateway"; } AWS_IOTSITEWISE_API Aws::String SerializePayload() const override; /** *

The ID of the gateway to update.

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

The ID of the gateway to update.

*/ inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; } /** *

The ID of the gateway to update.

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

The ID of the gateway to update.

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

The ID of the gateway to update.

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

The ID of the gateway to update.

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

The ID of the gateway to update.

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

The ID of the gateway to update.

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

A unique, friendly name for the gateway.

*/ inline const Aws::String& GetGatewayName() const{ return m_gatewayName; } /** *

A unique, friendly name for the gateway.

*/ inline bool GatewayNameHasBeenSet() const { return m_gatewayNameHasBeenSet; } /** *

A unique, friendly name for the gateway.

*/ inline void SetGatewayName(const Aws::String& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = value; } /** *

A unique, friendly name for the gateway.

*/ inline void SetGatewayName(Aws::String&& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = std::move(value); } /** *

A unique, friendly name for the gateway.

*/ inline void SetGatewayName(const char* value) { m_gatewayNameHasBeenSet = true; m_gatewayName.assign(value); } /** *

A unique, friendly name for the gateway.

*/ inline UpdateGatewayRequest& WithGatewayName(const Aws::String& value) { SetGatewayName(value); return *this;} /** *

A unique, friendly name for the gateway.

*/ inline UpdateGatewayRequest& WithGatewayName(Aws::String&& value) { SetGatewayName(std::move(value)); return *this;} /** *

A unique, friendly name for the gateway.

*/ inline UpdateGatewayRequest& WithGatewayName(const char* value) { SetGatewayName(value); return *this;} private: Aws::String m_gatewayId; bool m_gatewayIdHasBeenSet = false; Aws::String m_gatewayName; bool m_gatewayNameHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws