AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemoveThingFromBillingGroupRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IoT
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "RemoveThingFromBillingGroup"; }
31
32 AWS_IOT_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetBillingGroupName() const{ return m_billingGroupName; }
40 inline bool BillingGroupNameHasBeenSet() const { return m_billingGroupNameHasBeenSet; }
41 inline void SetBillingGroupName(const Aws::String& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = value; }
42 inline void SetBillingGroupName(Aws::String&& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = std::move(value); }
43 inline void SetBillingGroupName(const char* value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName.assign(value); }
46 inline RemoveThingFromBillingGroupRequest& WithBillingGroupName(const char* value) { SetBillingGroupName(value); return *this;}
48
50
53 inline const Aws::String& GetBillingGroupArn() const{ return m_billingGroupArn; }
54 inline bool BillingGroupArnHasBeenSet() const { return m_billingGroupArnHasBeenSet; }
55 inline void SetBillingGroupArn(const Aws::String& value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn = value; }
56 inline void SetBillingGroupArn(Aws::String&& value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn = std::move(value); }
57 inline void SetBillingGroupArn(const char* value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn.assign(value); }
59 inline RemoveThingFromBillingGroupRequest& WithBillingGroupArn(Aws::String&& value) { SetBillingGroupArn(std::move(value)); return *this;}
60 inline RemoveThingFromBillingGroupRequest& WithBillingGroupArn(const char* value) { SetBillingGroupArn(value); return *this;}
62
64
67 inline const Aws::String& GetThingName() const{ return m_thingName; }
68 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
69 inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
70 inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
71 inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
72 inline RemoveThingFromBillingGroupRequest& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
73 inline RemoveThingFromBillingGroupRequest& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
74 inline RemoveThingFromBillingGroupRequest& WithThingName(const char* value) { SetThingName(value); return *this;}
76
78
81 inline const Aws::String& GetThingArn() const{ return m_thingArn; }
82 inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; }
83 inline void SetThingArn(const Aws::String& value) { m_thingArnHasBeenSet = true; m_thingArn = value; }
84 inline void SetThingArn(Aws::String&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::move(value); }
85 inline void SetThingArn(const char* value) { m_thingArnHasBeenSet = true; m_thingArn.assign(value); }
86 inline RemoveThingFromBillingGroupRequest& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
87 inline RemoveThingFromBillingGroupRequest& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
88 inline RemoveThingFromBillingGroupRequest& WithThingArn(const char* value) { SetThingArn(value); return *this;}
90 private:
91
92 Aws::String m_billingGroupName;
93 bool m_billingGroupNameHasBeenSet = false;
94
95 Aws::String m_billingGroupArn;
96 bool m_billingGroupArnHasBeenSet = false;
97
98 Aws::String m_thingName;
99 bool m_thingNameHasBeenSet = false;
100
101 Aws::String m_thingArn;
102 bool m_thingArnHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace IoT
107} // namespace Aws
AWS_IOT_API Aws::String SerializePayload() const override
RemoveThingFromBillingGroupRequest & WithBillingGroupArn(Aws::String &&value)
RemoveThingFromBillingGroupRequest & WithThingName(const char *value)
RemoveThingFromBillingGroupRequest & WithBillingGroupName(const Aws::String &value)
RemoveThingFromBillingGroupRequest & WithBillingGroupName(Aws::String &&value)
RemoveThingFromBillingGroupRequest & WithThingArn(Aws::String &&value)
RemoveThingFromBillingGroupRequest & WithThingName(const Aws::String &value)
RemoveThingFromBillingGroupRequest & WithThingName(Aws::String &&value)
RemoveThingFromBillingGroupRequest & WithThingArn(const Aws::String &value)
RemoveThingFromBillingGroupRequest & WithThingArn(const char *value)
RemoveThingFromBillingGroupRequest & WithBillingGroupName(const char *value)
RemoveThingFromBillingGroupRequest & WithBillingGroupArn(const char *value)
RemoveThingFromBillingGroupRequest & WithBillingGroupArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String