AWS SDK for C++  1.9.104
AWS SDK for C++
RemoveThingFromThingGroupRequest.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 "RemoveThingFromThingGroup"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetThingGroupName() const{ return m_thingGroupName; }
39 
43  inline bool ThingGroupNameHasBeenSet() const { return m_thingGroupNameHasBeenSet; }
44 
48  inline void SetThingGroupName(const Aws::String& value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName = value; }
49 
53  inline void SetThingGroupName(Aws::String&& value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName = std::move(value); }
54 
58  inline void SetThingGroupName(const char* value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName.assign(value); }
59 
63  inline RemoveThingFromThingGroupRequest& WithThingGroupName(const Aws::String& value) { SetThingGroupName(value); return *this;}
64 
68  inline RemoveThingFromThingGroupRequest& WithThingGroupName(Aws::String&& value) { SetThingGroupName(std::move(value)); return *this;}
69 
73  inline RemoveThingFromThingGroupRequest& WithThingGroupName(const char* value) { SetThingGroupName(value); return *this;}
74 
75 
79  inline const Aws::String& GetThingGroupArn() const{ return m_thingGroupArn; }
80 
84  inline bool ThingGroupArnHasBeenSet() const { return m_thingGroupArnHasBeenSet; }
85 
89  inline void SetThingGroupArn(const Aws::String& value) { m_thingGroupArnHasBeenSet = true; m_thingGroupArn = value; }
90 
94  inline void SetThingGroupArn(Aws::String&& value) { m_thingGroupArnHasBeenSet = true; m_thingGroupArn = std::move(value); }
95 
99  inline void SetThingGroupArn(const char* value) { m_thingGroupArnHasBeenSet = true; m_thingGroupArn.assign(value); }
100 
104  inline RemoveThingFromThingGroupRequest& WithThingGroupArn(const Aws::String& value) { SetThingGroupArn(value); return *this;}
105 
109  inline RemoveThingFromThingGroupRequest& WithThingGroupArn(Aws::String&& value) { SetThingGroupArn(std::move(value)); return *this;}
110 
114  inline RemoveThingFromThingGroupRequest& WithThingGroupArn(const char* value) { SetThingGroupArn(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 RemoveThingFromThingGroupRequest& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
146 
150  inline RemoveThingFromThingGroupRequest& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
151 
155  inline RemoveThingFromThingGroupRequest& 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 RemoveThingFromThingGroupRequest& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
187 
191  inline RemoveThingFromThingGroupRequest& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
192 
196  inline RemoveThingFromThingGroupRequest& WithThingArn(const char* value) { SetThingArn(value); return *this;}
197 
198  private:
199 
200  Aws::String m_thingGroupName;
201  bool m_thingGroupNameHasBeenSet;
202 
203  Aws::String m_thingGroupArn;
204  bool m_thingGroupArnHasBeenSet;
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::RemoveThingFromThingGroupRequest::WithThingGroupName
RemoveThingFromThingGroupRequest & WithThingGroupName(const char *value)
Definition: RemoveThingFromThingGroupRequest.h:73
Aws::IoT::Model::RemoveThingFromThingGroupRequest::GetThingGroupArn
const Aws::String & GetThingGroupArn() const
Definition: RemoveThingFromThingGroupRequest.h:79
Aws::IoT::Model::RemoveThingFromThingGroupRequest::GetThingGroupName
const Aws::String & GetThingGroupName() const
Definition: RemoveThingFromThingGroupRequest.h:38
Aws::IoT::Model::RemoveThingFromThingGroupRequest::WithThingName
RemoveThingFromThingGroupRequest & WithThingName(const char *value)
Definition: RemoveThingFromThingGroupRequest.h:155
Aws::IoT::Model::RemoveThingFromThingGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::RemoveThingFromThingGroupRequest::RemoveThingFromThingGroupRequest
RemoveThingFromThingGroupRequest()
Aws::IoT::Model::RemoveThingFromThingGroupRequest::WithThingGroupArn
RemoveThingFromThingGroupRequest & WithThingGroupArn(const char *value)
Definition: RemoveThingFromThingGroupRequest.h:114
Aws::IoT::Model::RemoveThingFromThingGroupRequest::SetThingName
void SetThingName(const char *value)
Definition: RemoveThingFromThingGroupRequest.h:140
Aws::IoT::Model::RemoveThingFromThingGroupRequest::SetThingArn
void SetThingArn(Aws::String &&value)
Definition: RemoveThingFromThingGroupRequest.h:176
Aws::IoT::Model::RemoveThingFromThingGroupRequest::SetThingArn
void SetThingArn(const char *value)
Definition: RemoveThingFromThingGroupRequest.h:181
Aws::IoT::Model::RemoveThingFromThingGroupRequest::ThingGroupArnHasBeenSet
bool ThingGroupArnHasBeenSet() const
Definition: RemoveThingFromThingGroupRequest.h:84
Aws::IoT::Model::RemoveThingFromThingGroupRequest::WithThingName
RemoveThingFromThingGroupRequest & WithThingName(const Aws::String &value)
Definition: RemoveThingFromThingGroupRequest.h:145
Aws::IoT::Model::RemoveThingFromThingGroupRequest::SetThingName
void SetThingName(Aws::String &&value)
Definition: RemoveThingFromThingGroupRequest.h:135
Aws::IoT::Model::RemoveThingFromThingGroupRequest::ThingArnHasBeenSet
bool ThingArnHasBeenSet() const
Definition: RemoveThingFromThingGroupRequest.h:166
Aws::IoT::Model::RemoveThingFromThingGroupRequest::WithThingGroupArn
RemoveThingFromThingGroupRequest & WithThingGroupArn(Aws::String &&value)
Definition: RemoveThingFromThingGroupRequest.h:109
Aws::IoT::Model::RemoveThingFromThingGroupRequest::SetThingGroupArn
void SetThingGroupArn(Aws::String &&value)
Definition: RemoveThingFromThingGroupRequest.h:94
Aws::IoT::Model::RemoveThingFromThingGroupRequest::SetThingGroupName
void SetThingGroupName(Aws::String &&value)
Definition: RemoveThingFromThingGroupRequest.h:53
Aws::IoT::Model::RemoveThingFromThingGroupRequest::SetThingName
void SetThingName(const Aws::String &value)
Definition: RemoveThingFromThingGroupRequest.h:130
Aws::IoT::Model::RemoveThingFromThingGroupRequest::GetThingName
const Aws::String & GetThingName() const
Definition: RemoveThingFromThingGroupRequest.h:120
Aws::IoT::Model::RemoveThingFromThingGroupRequest::WithThingName
RemoveThingFromThingGroupRequest & WithThingName(Aws::String &&value)
Definition: RemoveThingFromThingGroupRequest.h:150
AWSString.h
Aws::IoT::Model::RemoveThingFromThingGroupRequest::WithThingArn
RemoveThingFromThingGroupRequest & WithThingArn(Aws::String &&value)
Definition: RemoveThingFromThingGroupRequest.h:191
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::RemoveThingFromThingGroupRequest::ThingNameHasBeenSet
bool ThingNameHasBeenSet() const
Definition: RemoveThingFromThingGroupRequest.h:125
Aws::IoT::Model::RemoveThingFromThingGroupRequest::WithThingArn
RemoveThingFromThingGroupRequest & WithThingArn(const char *value)
Definition: RemoveThingFromThingGroupRequest.h:196
Aws::IoT::Model::RemoveThingFromThingGroupRequest::WithThingGroupArn
RemoveThingFromThingGroupRequest & WithThingGroupArn(const Aws::String &value)
Definition: RemoveThingFromThingGroupRequest.h:104
Aws::IoT::Model::RemoveThingFromThingGroupRequest::SetThingGroupArn
void SetThingGroupArn(const char *value)
Definition: RemoveThingFromThingGroupRequest.h:99
Aws::IoT::Model::RemoveThingFromThingGroupRequest::SetThingGroupName
void SetThingGroupName(const Aws::String &value)
Definition: RemoveThingFromThingGroupRequest.h:48
Aws::IoT::Model::RemoveThingFromThingGroupRequest::ThingGroupNameHasBeenSet
bool ThingGroupNameHasBeenSet() const
Definition: RemoveThingFromThingGroupRequest.h:43
Aws::IoT::Model::RemoveThingFromThingGroupRequest::WithThingArn
RemoveThingFromThingGroupRequest & WithThingArn(const Aws::String &value)
Definition: RemoveThingFromThingGroupRequest.h:186
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::RemoveThingFromThingGroupRequest::SetThingArn
void SetThingArn(const Aws::String &value)
Definition: RemoveThingFromThingGroupRequest.h:171
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::RemoveThingFromThingGroupRequest::GetThingArn
const Aws::String & GetThingArn() const
Definition: RemoveThingFromThingGroupRequest.h:161
Aws::IoT::Model::RemoveThingFromThingGroupRequest::SetThingGroupArn
void SetThingGroupArn(const Aws::String &value)
Definition: RemoveThingFromThingGroupRequest.h:89
Aws::IoT::Model::RemoveThingFromThingGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveThingFromThingGroupRequest.h:30
Aws::IoT::Model::RemoveThingFromThingGroupRequest
Definition: RemoveThingFromThingGroupRequest.h:22
Aws::IoT::Model::RemoveThingFromThingGroupRequest::SetThingGroupName
void SetThingGroupName(const char *value)
Definition: RemoveThingFromThingGroupRequest.h:58
Aws::IoT::Model::RemoveThingFromThingGroupRequest::WithThingGroupName
RemoveThingFromThingGroupRequest & WithThingGroupName(Aws::String &&value)
Definition: RemoveThingFromThingGroupRequest.h:68
IoTRequest.h
Aws::IoT::Model::RemoveThingFromThingGroupRequest::WithThingGroupName
RemoveThingFromThingGroupRequest & WithThingGroupName(const Aws::String &value)
Definition: RemoveThingFromThingGroupRequest.h:63
IoT_EXPORTS.h