/** * 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 RemoveThingFromBillingGroupRequest : public IoTRequest { public: AWS_IOT_API RemoveThingFromBillingGroupRequest(); // 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 "RemoveThingFromBillingGroup"; } AWS_IOT_API Aws::String SerializePayload() const override; /** *

The name of the billing group.

*/ inline const Aws::String& GetBillingGroupName() const{ return m_billingGroupName; } /** *

The name of the billing group.

*/ inline bool BillingGroupNameHasBeenSet() const { return m_billingGroupNameHasBeenSet; } /** *

The name of the billing group.

*/ inline void SetBillingGroupName(const Aws::String& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = value; } /** *

The name of the billing group.

*/ inline void SetBillingGroupName(Aws::String&& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = std::move(value); } /** *

The name of the billing group.

*/ inline void SetBillingGroupName(const char* value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName.assign(value); } /** *

The name of the billing group.

*/ inline RemoveThingFromBillingGroupRequest& WithBillingGroupName(const Aws::String& value) { SetBillingGroupName(value); return *this;} /** *

The name of the billing group.

*/ inline RemoveThingFromBillingGroupRequest& WithBillingGroupName(Aws::String&& value) { SetBillingGroupName(std::move(value)); return *this;} /** *

The name of the billing group.

*/ inline RemoveThingFromBillingGroupRequest& WithBillingGroupName(const char* value) { SetBillingGroupName(value); return *this;} /** *

The ARN of the billing group.

*/ inline const Aws::String& GetBillingGroupArn() const{ return m_billingGroupArn; } /** *

The ARN of the billing group.

*/ inline bool BillingGroupArnHasBeenSet() const { return m_billingGroupArnHasBeenSet; } /** *

The ARN of the billing group.

*/ inline void SetBillingGroupArn(const Aws::String& value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn = value; } /** *

The ARN of the billing group.

*/ inline void SetBillingGroupArn(Aws::String&& value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn = std::move(value); } /** *

The ARN of the billing group.

*/ inline void SetBillingGroupArn(const char* value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn.assign(value); } /** *

The ARN of the billing group.

*/ inline RemoveThingFromBillingGroupRequest& WithBillingGroupArn(const Aws::String& value) { SetBillingGroupArn(value); return *this;} /** *

The ARN of the billing group.

*/ inline RemoveThingFromBillingGroupRequest& WithBillingGroupArn(Aws::String&& value) { SetBillingGroupArn(std::move(value)); return *this;} /** *

The ARN of the billing group.

*/ inline RemoveThingFromBillingGroupRequest& WithBillingGroupArn(const char* value) { SetBillingGroupArn(value); return *this;} /** *

The name of the thing to be removed from the billing group.

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

The name of the thing to be removed from the billing group.

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

The name of the thing to be removed from the billing group.

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

The name of the thing to be removed from the billing group.

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

The name of the thing to be removed from the billing group.

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

The name of the thing to be removed from the billing group.

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

The name of the thing to be removed from the billing group.

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

The name of the thing to be removed from the billing group.

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

The ARN of the thing to be removed from the billing group.

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

The ARN of the thing to be removed from the billing group.

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

The ARN of the thing to be removed from the billing group.

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

The ARN of the thing to be removed from the billing group.

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

The ARN of the thing to be removed from the billing group.

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

The ARN of the thing to be removed from the billing group.

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

The ARN of the thing to be removed from the billing group.

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

The ARN of the thing to be removed from the billing group.

*/ inline RemoveThingFromBillingGroupRequest& WithThingArn(const char* value) { SetThingArn(value); return *this;} private: Aws::String m_billingGroupName; bool m_billingGroupNameHasBeenSet = false; Aws::String m_billingGroupArn; bool m_billingGroupArnHasBeenSet = false; Aws::String m_thingName; bool m_thingNameHasBeenSet = false; Aws::String m_thingArn; bool m_thingArnHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws