AWS SDK for C++  1.9.109
AWS SDK for C++
RemoveThingFromBillingGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoT
15 {
16 namespace 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::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetBillingGroupName() const{ return m_billingGroupName; }
39 
43  inline bool BillingGroupNameHasBeenSet() const { return m_billingGroupNameHasBeenSet; }
44 
48  inline void SetBillingGroupName(const Aws::String& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = value; }
49 
53  inline void SetBillingGroupName(Aws::String&& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = std::move(value); }
54 
58  inline void SetBillingGroupName(const char* value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName.assign(value); }
59 
63  inline RemoveThingFromBillingGroupRequest& WithBillingGroupName(const Aws::String& value) { SetBillingGroupName(value); return *this;}
64 
68  inline RemoveThingFromBillingGroupRequest& WithBillingGroupName(Aws::String&& value) { SetBillingGroupName(std::move(value)); return *this;}
69 
73  inline RemoveThingFromBillingGroupRequest& WithBillingGroupName(const char* value) { SetBillingGroupName(value); return *this;}
74 
75 
79  inline const Aws::String& GetBillingGroupArn() const{ return m_billingGroupArn; }
80 
84  inline bool BillingGroupArnHasBeenSet() const { return m_billingGroupArnHasBeenSet; }
85 
89  inline void SetBillingGroupArn(const Aws::String& value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn = value; }
90 
94  inline void SetBillingGroupArn(Aws::String&& value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn = std::move(value); }
95 
99  inline void SetBillingGroupArn(const char* value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn.assign(value); }
100 
104  inline RemoveThingFromBillingGroupRequest& WithBillingGroupArn(const Aws::String& value) { SetBillingGroupArn(value); return *this;}
105 
109  inline RemoveThingFromBillingGroupRequest& WithBillingGroupArn(Aws::String&& value) { SetBillingGroupArn(std::move(value)); return *this;}
110 
114  inline RemoveThingFromBillingGroupRequest& WithBillingGroupArn(const char* value) { SetBillingGroupArn(value); return *this;}
115 
116 
120  inline const Aws::String& GetThingName() const{ return m_thingName; }
121 
125  inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
126 
130  inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
131 
135  inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
136 
140  inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
141 
145  inline RemoveThingFromBillingGroupRequest& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
146 
150  inline RemoveThingFromBillingGroupRequest& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
151 
155  inline RemoveThingFromBillingGroupRequest& WithThingName(const char* value) { SetThingName(value); return *this;}
156 
157 
161  inline const Aws::String& GetThingArn() const{ return m_thingArn; }
162 
166  inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; }
167 
171  inline void SetThingArn(const Aws::String& value) { m_thingArnHasBeenSet = true; m_thingArn = value; }
172 
176  inline void SetThingArn(Aws::String&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::move(value); }
177 
181  inline void SetThingArn(const char* value) { m_thingArnHasBeenSet = true; m_thingArn.assign(value); }
182 
186  inline RemoveThingFromBillingGroupRequest& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
187 
191  inline RemoveThingFromBillingGroupRequest& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
192 
196  inline RemoveThingFromBillingGroupRequest& WithThingArn(const char* value) { SetThingArn(value); return *this;}
197 
198  private:
199 
200  Aws::String m_billingGroupName;
201  bool m_billingGroupNameHasBeenSet;
202 
203  Aws::String m_billingGroupArn;
204  bool m_billingGroupArnHasBeenSet;
205 
206  Aws::String m_thingName;
207  bool m_thingNameHasBeenSet;
208 
209  Aws::String m_thingArn;
210  bool m_thingArnHasBeenSet;
211  };
212 
213 } // namespace Model
214 } // namespace IoT
215 } // namespace Aws
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::SetBillingGroupArn
void SetBillingGroupArn(const Aws::String &value)
Definition: RemoveThingFromBillingGroupRequest.h:89
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::SetBillingGroupArn
void SetBillingGroupArn(Aws::String &&value)
Definition: RemoveThingFromBillingGroupRequest.h:94
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::WithThingArn
RemoveThingFromBillingGroupRequest & WithThingArn(const Aws::String &value)
Definition: RemoveThingFromBillingGroupRequest.h:186
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::WithBillingGroupName
RemoveThingFromBillingGroupRequest & WithBillingGroupName(Aws::String &&value)
Definition: RemoveThingFromBillingGroupRequest.h:68
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::ThingArnHasBeenSet
bool ThingArnHasBeenSet() const
Definition: RemoveThingFromBillingGroupRequest.h:166
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::BillingGroupNameHasBeenSet
bool BillingGroupNameHasBeenSet() const
Definition: RemoveThingFromBillingGroupRequest.h:43
Aws::IoT::Model::RemoveThingFromBillingGroupRequest
Definition: RemoveThingFromBillingGroupRequest.h:22
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::WithThingName
RemoveThingFromBillingGroupRequest & WithThingName(const char *value)
Definition: RemoveThingFromBillingGroupRequest.h:155
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::WithThingName
RemoveThingFromBillingGroupRequest & WithThingName(const Aws::String &value)
Definition: RemoveThingFromBillingGroupRequest.h:145
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::SetThingName
void SetThingName(Aws::String &&value)
Definition: RemoveThingFromBillingGroupRequest.h:135
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::GetBillingGroupArn
const Aws::String & GetBillingGroupArn() const
Definition: RemoveThingFromBillingGroupRequest.h:79
AWSString.h
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::BillingGroupArnHasBeenSet
bool BillingGroupArnHasBeenSet() const
Definition: RemoveThingFromBillingGroupRequest.h:84
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::ThingNameHasBeenSet
bool ThingNameHasBeenSet() const
Definition: RemoveThingFromBillingGroupRequest.h:125
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::SetBillingGroupName
void SetBillingGroupName(const char *value)
Definition: RemoveThingFromBillingGroupRequest.h:58
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::WithThingArn
RemoveThingFromBillingGroupRequest & WithThingArn(Aws::String &&value)
Definition: RemoveThingFromBillingGroupRequest.h:191
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::SetThingName
void SetThingName(const char *value)
Definition: RemoveThingFromBillingGroupRequest.h:140
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::GetBillingGroupName
const Aws::String & GetBillingGroupName() const
Definition: RemoveThingFromBillingGroupRequest.h:38
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::SetBillingGroupName
void SetBillingGroupName(Aws::String &&value)
Definition: RemoveThingFromBillingGroupRequest.h:53
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::SetThingName
void SetThingName(const Aws::String &value)
Definition: RemoveThingFromBillingGroupRequest.h:130
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::WithBillingGroupName
RemoveThingFromBillingGroupRequest & WithBillingGroupName(const Aws::String &value)
Definition: RemoveThingFromBillingGroupRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::SetThingArn
void SetThingArn(Aws::String &&value)
Definition: RemoveThingFromBillingGroupRequest.h:176
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::WithThingArn
RemoveThingFromBillingGroupRequest & WithThingArn(const char *value)
Definition: RemoveThingFromBillingGroupRequest.h:196
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::WithBillingGroupArn
RemoveThingFromBillingGroupRequest & WithBillingGroupArn(const Aws::String &value)
Definition: RemoveThingFromBillingGroupRequest.h:104
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::RemoveThingFromBillingGroupRequest
RemoveThingFromBillingGroupRequest()
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::SetBillingGroupName
void SetBillingGroupName(const Aws::String &value)
Definition: RemoveThingFromBillingGroupRequest.h:48
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::WithBillingGroupArn
RemoveThingFromBillingGroupRequest & WithBillingGroupArn(const char *value)
Definition: RemoveThingFromBillingGroupRequest.h:114
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::SetThingArn
void SetThingArn(const char *value)
Definition: RemoveThingFromBillingGroupRequest.h:181
IoTRequest.h
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::GetThingArn
const Aws::String & GetThingArn() const
Definition: RemoveThingFromBillingGroupRequest.h:161
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::SetBillingGroupArn
void SetBillingGroupArn(const char *value)
Definition: RemoveThingFromBillingGroupRequest.h:99
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::WithBillingGroupArn
RemoveThingFromBillingGroupRequest & WithBillingGroupArn(Aws::String &&value)
Definition: RemoveThingFromBillingGroupRequest.h:109
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::WithThingName
RemoveThingFromBillingGroupRequest & WithThingName(Aws::String &&value)
Definition: RemoveThingFromBillingGroupRequest.h:150
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::SetThingArn
void SetThingArn(const Aws::String &value)
Definition: RemoveThingFromBillingGroupRequest.h:171
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::GetThingName
const Aws::String & GetThingName() const
Definition: RemoveThingFromBillingGroupRequest.h:120
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::WithBillingGroupName
RemoveThingFromBillingGroupRequest & WithBillingGroupName(const char *value)
Definition: RemoveThingFromBillingGroupRequest.h:73
Aws::IoT::Model::RemoveThingFromBillingGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveThingFromBillingGroupRequest.h:30
IoT_EXPORTS.h