/** * 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 IoT { namespace Model { /** */ class RemoveThingFromThingGroupRequest : public IoTRequest { public: AWS_IOT_API RemoveThingFromThingGroupRequest(); // 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 "RemoveThingFromThingGroup"; } AWS_IOT_API Aws::String SerializePayload() const override; /** *

The group name.

*/ inline const Aws::String& GetThingGroupName() const{ return m_thingGroupName; } /** *

The group name.

*/ inline bool ThingGroupNameHasBeenSet() const { return m_thingGroupNameHasBeenSet; } /** *

The group name.

*/ inline void SetThingGroupName(const Aws::String& value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName = value; } /** *

The group name.

*/ inline void SetThingGroupName(Aws::String&& value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName = std::move(value); } /** *

The group name.

*/ inline void SetThingGroupName(const char* value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName.assign(value); } /** *

The group name.

*/ inline RemoveThingFromThingGroupRequest& WithThingGroupName(const Aws::String& value) { SetThingGroupName(value); return *this;} /** *

The group name.

*/ inline RemoveThingFromThingGroupRequest& WithThingGroupName(Aws::String&& value) { SetThingGroupName(std::move(value)); return *this;} /** *

The group name.

*/ inline RemoveThingFromThingGroupRequest& WithThingGroupName(const char* value) { SetThingGroupName(value); return *this;} /** *

The group ARN.

*/ inline const Aws::String& GetThingGroupArn() const{ return m_thingGroupArn; } /** *

The group ARN.

*/ inline bool ThingGroupArnHasBeenSet() const { return m_thingGroupArnHasBeenSet; } /** *

The group ARN.

*/ inline void SetThingGroupArn(const Aws::String& value) { m_thingGroupArnHasBeenSet = true; m_thingGroupArn = value; } /** *

The group ARN.

*/ inline void SetThingGroupArn(Aws::String&& value) { m_thingGroupArnHasBeenSet = true; m_thingGroupArn = std::move(value); } /** *

The group ARN.

*/ inline void SetThingGroupArn(const char* value) { m_thingGroupArnHasBeenSet = true; m_thingGroupArn.assign(value); } /** *

The group ARN.

*/ inline RemoveThingFromThingGroupRequest& WithThingGroupArn(const Aws::String& value) { SetThingGroupArn(value); return *this;} /** *

The group ARN.

*/ inline RemoveThingFromThingGroupRequest& WithThingGroupArn(Aws::String&& value) { SetThingGroupArn(std::move(value)); return *this;} /** *

The group ARN.

*/ inline RemoveThingFromThingGroupRequest& WithThingGroupArn(const char* value) { SetThingGroupArn(value); return *this;} /** *

The name of the thing to remove from the group.

*/ inline const Aws::String& GetThingName() const{ return m_thingName; } /** *

The name of the thing to remove from the group.

*/ inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; } /** *

The name of the thing to remove from the group.

*/ inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; } /** *

The name of the thing to remove from the group.

*/ inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); } /** *

The name of the thing to remove from the group.

*/ inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); } /** *

The name of the thing to remove from the group.

*/ inline RemoveThingFromThingGroupRequest& WithThingName(const Aws::String& value) { SetThingName(value); return *this;} /** *

The name of the thing to remove from the group.

*/ inline RemoveThingFromThingGroupRequest& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;} /** *

The name of the thing to remove from the group.

*/ inline RemoveThingFromThingGroupRequest& WithThingName(const char* value) { SetThingName(value); return *this;} /** *

The ARN of the thing to remove from the group.

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

The ARN of the thing to remove from the group.

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

The ARN of the thing to remove from the group.

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

The ARN of the thing to remove from the group.

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

The ARN of the thing to remove from the group.

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

The ARN of the thing to remove from the group.

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

The ARN of the thing to remove from the group.

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

The ARN of the thing to remove from the group.

*/ inline RemoveThingFromThingGroupRequest& WithThingArn(const char* value) { SetThingArn(value); return *this;} private: Aws::String m_thingGroupName; bool m_thingGroupNameHasBeenSet = false; Aws::String m_thingGroupArn; bool m_thingGroupArnHasBeenSet = false; Aws::String m_thingName; bool m_thingNameHasBeenSet = false; Aws::String m_thingArn; bool m_thingArnHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws