216 lines
7.3 KiB
C++
216 lines
7.3 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/iot/IoT_EXPORTS.h>
|
|
#include <aws/iot/IoTRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace IoT
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_IOT_API RemoveThingFromBillingGroupRequest : public IoTRequest
|
|
{
|
|
public:
|
|
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::String SerializePayload() const override;
|
|
|
|
|
|
/**
|
|
* <p>The name of the billing group.</p>
|
|
*/
|
|
inline const Aws::String& GetBillingGroupName() const{ return m_billingGroupName; }
|
|
|
|
/**
|
|
* <p>The name of the billing group.</p>
|
|
*/
|
|
inline bool BillingGroupNameHasBeenSet() const { return m_billingGroupNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the billing group.</p>
|
|
*/
|
|
inline void SetBillingGroupName(const Aws::String& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = value; }
|
|
|
|
/**
|
|
* <p>The name of the billing group.</p>
|
|
*/
|
|
inline void SetBillingGroupName(Aws::String&& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the billing group.</p>
|
|
*/
|
|
inline void SetBillingGroupName(const char* value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the billing group.</p>
|
|
*/
|
|
inline RemoveThingFromBillingGroupRequest& WithBillingGroupName(const Aws::String& value) { SetBillingGroupName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the billing group.</p>
|
|
*/
|
|
inline RemoveThingFromBillingGroupRequest& WithBillingGroupName(Aws::String&& value) { SetBillingGroupName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the billing group.</p>
|
|
*/
|
|
inline RemoveThingFromBillingGroupRequest& WithBillingGroupName(const char* value) { SetBillingGroupName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ARN of the billing group.</p>
|
|
*/
|
|
inline const Aws::String& GetBillingGroupArn() const{ return m_billingGroupArn; }
|
|
|
|
/**
|
|
* <p>The ARN of the billing group.</p>
|
|
*/
|
|
inline bool BillingGroupArnHasBeenSet() const { return m_billingGroupArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ARN of the billing group.</p>
|
|
*/
|
|
inline void SetBillingGroupArn(const Aws::String& value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn = value; }
|
|
|
|
/**
|
|
* <p>The ARN of the billing group.</p>
|
|
*/
|
|
inline void SetBillingGroupArn(Aws::String&& value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the billing group.</p>
|
|
*/
|
|
inline void SetBillingGroupArn(const char* value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the billing group.</p>
|
|
*/
|
|
inline RemoveThingFromBillingGroupRequest& WithBillingGroupArn(const Aws::String& value) { SetBillingGroupArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the billing group.</p>
|
|
*/
|
|
inline RemoveThingFromBillingGroupRequest& WithBillingGroupArn(Aws::String&& value) { SetBillingGroupArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the billing group.</p>
|
|
*/
|
|
inline RemoveThingFromBillingGroupRequest& WithBillingGroupArn(const char* value) { SetBillingGroupArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The name of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline const Aws::String& GetThingName() const{ return m_thingName; }
|
|
|
|
/**
|
|
* <p>The name of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
|
|
|
|
/**
|
|
* <p>The name of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline RemoveThingFromBillingGroupRequest& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline RemoveThingFromBillingGroupRequest& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline RemoveThingFromBillingGroupRequest& WithThingName(const char* value) { SetThingName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ARN of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline const Aws::String& GetThingArn() const{ return m_thingArn; }
|
|
|
|
/**
|
|
* <p>The ARN of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ARN of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline void SetThingArn(const Aws::String& value) { m_thingArnHasBeenSet = true; m_thingArn = value; }
|
|
|
|
/**
|
|
* <p>The ARN of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline void SetThingArn(Aws::String&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline void SetThingArn(const char* value) { m_thingArnHasBeenSet = true; m_thingArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline RemoveThingFromBillingGroupRequest& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline RemoveThingFromBillingGroupRequest& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the thing to be removed from the billing group.</p>
|
|
*/
|
|
inline RemoveThingFromBillingGroupRequest& WithThingArn(const char* value) { SetThingArn(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_billingGroupName;
|
|
bool m_billingGroupNameHasBeenSet;
|
|
|
|
Aws::String m_billingGroupArn;
|
|
bool m_billingGroupArnHasBeenSet;
|
|
|
|
Aws::String m_thingName;
|
|
bool m_thingNameHasBeenSet;
|
|
|
|
Aws::String m_thingArn;
|
|
bool m_thingArnHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace IoT
|
|
} // namespace Aws
|