/** * 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 IoTWireless { namespace Model { /** */ class AssociateWirelessGatewayWithThingRequest : public IoTWirelessRequest { public: AWS_IOTWIRELESS_API AssociateWirelessGatewayWithThingRequest(); // 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 "AssociateWirelessGatewayWithThing"; } AWS_IOTWIRELESS_API Aws::String SerializePayload() const override; /** *

The ID of the resource to update.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of the resource to update.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID of the resource to update.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The ID of the resource to update.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The ID of the resource to update.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The ID of the resource to update.

*/ inline AssociateWirelessGatewayWithThingRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of the resource to update.

*/ inline AssociateWirelessGatewayWithThingRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID of the resource to update.

*/ inline AssociateWirelessGatewayWithThingRequest& WithId(const char* value) { SetId(value); return *this;} /** *

The ARN of the thing to associate with the wireless gateway.

*/ inline const Aws::String& GetThingArn() const{ return m_thingArn; } /** *

The ARN of the thing to associate with the wireless gateway.

*/ inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; } /** *

The ARN of the thing to associate with the wireless gateway.

*/ inline void SetThingArn(const Aws::String& value) { m_thingArnHasBeenSet = true; m_thingArn = value; } /** *

The ARN of the thing to associate with the wireless gateway.

*/ inline void SetThingArn(Aws::String&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::move(value); } /** *

The ARN of the thing to associate with the wireless gateway.

*/ inline void SetThingArn(const char* value) { m_thingArnHasBeenSet = true; m_thingArn.assign(value); } /** *

The ARN of the thing to associate with the wireless gateway.

*/ inline AssociateWirelessGatewayWithThingRequest& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;} /** *

The ARN of the thing to associate with the wireless gateway.

*/ inline AssociateWirelessGatewayWithThingRequest& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;} /** *

The ARN of the thing to associate with the wireless gateway.

*/ inline AssociateWirelessGatewayWithThingRequest& WithThingArn(const char* value) { SetThingArn(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_thingArn; bool m_thingArnHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws