AWS SDK for C++  1.9.123
AWS SDK for C++
UpdateDynamicThingGroupRequest.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>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace IoT
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateDynamicThingGroup"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetThingGroupName() const{ return m_thingGroupName; }
40 
44  inline bool ThingGroupNameHasBeenSet() const { return m_thingGroupNameHasBeenSet; }
45 
49  inline void SetThingGroupName(const Aws::String& value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName = value; }
50 
54  inline void SetThingGroupName(Aws::String&& value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName = std::move(value); }
55 
59  inline void SetThingGroupName(const char* value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName.assign(value); }
60 
64  inline UpdateDynamicThingGroupRequest& WithThingGroupName(const Aws::String& value) { SetThingGroupName(value); return *this;}
65 
69  inline UpdateDynamicThingGroupRequest& WithThingGroupName(Aws::String&& value) { SetThingGroupName(std::move(value)); return *this;}
70 
74  inline UpdateDynamicThingGroupRequest& WithThingGroupName(const char* value) { SetThingGroupName(value); return *this;}
75 
76 
80  inline const ThingGroupProperties& GetThingGroupProperties() const{ return m_thingGroupProperties; }
81 
85  inline bool ThingGroupPropertiesHasBeenSet() const { return m_thingGroupPropertiesHasBeenSet; }
86 
90  inline void SetThingGroupProperties(const ThingGroupProperties& value) { m_thingGroupPropertiesHasBeenSet = true; m_thingGroupProperties = value; }
91 
95  inline void SetThingGroupProperties(ThingGroupProperties&& value) { m_thingGroupPropertiesHasBeenSet = true; m_thingGroupProperties = std::move(value); }
96 
100  inline UpdateDynamicThingGroupRequest& WithThingGroupProperties(const ThingGroupProperties& value) { SetThingGroupProperties(value); return *this;}
101 
105  inline UpdateDynamicThingGroupRequest& WithThingGroupProperties(ThingGroupProperties&& value) { SetThingGroupProperties(std::move(value)); return *this;}
106 
107 
111  inline long long GetExpectedVersion() const{ return m_expectedVersion; }
112 
116  inline bool ExpectedVersionHasBeenSet() const { return m_expectedVersionHasBeenSet; }
117 
121  inline void SetExpectedVersion(long long value) { m_expectedVersionHasBeenSet = true; m_expectedVersion = value; }
122 
126  inline UpdateDynamicThingGroupRequest& WithExpectedVersion(long long value) { SetExpectedVersion(value); return *this;}
127 
128 
133  inline const Aws::String& GetIndexName() const{ return m_indexName; }
134 
139  inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
140 
145  inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
146 
151  inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
152 
157  inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
158 
163  inline UpdateDynamicThingGroupRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
164 
169  inline UpdateDynamicThingGroupRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
170 
175  inline UpdateDynamicThingGroupRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;}
176 
177 
181  inline const Aws::String& GetQueryString() const{ return m_queryString; }
182 
186  inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
187 
191  inline void SetQueryString(const Aws::String& value) { m_queryStringHasBeenSet = true; m_queryString = value; }
192 
196  inline void SetQueryString(Aws::String&& value) { m_queryStringHasBeenSet = true; m_queryString = std::move(value); }
197 
201  inline void SetQueryString(const char* value) { m_queryStringHasBeenSet = true; m_queryString.assign(value); }
202 
206  inline UpdateDynamicThingGroupRequest& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
207 
211  inline UpdateDynamicThingGroupRequest& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
212 
216  inline UpdateDynamicThingGroupRequest& WithQueryString(const char* value) { SetQueryString(value); return *this;}
217 
218 
224  inline const Aws::String& GetQueryVersion() const{ return m_queryVersion; }
225 
231  inline bool QueryVersionHasBeenSet() const { return m_queryVersionHasBeenSet; }
232 
238  inline void SetQueryVersion(const Aws::String& value) { m_queryVersionHasBeenSet = true; m_queryVersion = value; }
239 
245  inline void SetQueryVersion(Aws::String&& value) { m_queryVersionHasBeenSet = true; m_queryVersion = std::move(value); }
246 
252  inline void SetQueryVersion(const char* value) { m_queryVersionHasBeenSet = true; m_queryVersion.assign(value); }
253 
259  inline UpdateDynamicThingGroupRequest& WithQueryVersion(const Aws::String& value) { SetQueryVersion(value); return *this;}
260 
266  inline UpdateDynamicThingGroupRequest& WithQueryVersion(Aws::String&& value) { SetQueryVersion(std::move(value)); return *this;}
267 
273  inline UpdateDynamicThingGroupRequest& WithQueryVersion(const char* value) { SetQueryVersion(value); return *this;}
274 
275  private:
276 
277  Aws::String m_thingGroupName;
278  bool m_thingGroupNameHasBeenSet;
279 
280  ThingGroupProperties m_thingGroupProperties;
281  bool m_thingGroupPropertiesHasBeenSet;
282 
283  long long m_expectedVersion;
284  bool m_expectedVersionHasBeenSet;
285 
286  Aws::String m_indexName;
287  bool m_indexNameHasBeenSet;
288 
289  Aws::String m_queryString;
290  bool m_queryStringHasBeenSet;
291 
292  Aws::String m_queryVersion;
293  bool m_queryVersionHasBeenSet;
294  };
295 
296 } // namespace Model
297 } // namespace IoT
298 } // namespace Aws
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetQueryString
void SetQueryString(const Aws::String &value)
Definition: UpdateDynamicThingGroupRequest.h:191
Aws::IoT::Model::UpdateDynamicThingGroupRequest::GetThingGroupProperties
const ThingGroupProperties & GetThingGroupProperties() const
Definition: UpdateDynamicThingGroupRequest.h:80
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetQueryString
void SetQueryString(const char *value)
Definition: UpdateDynamicThingGroupRequest.h:201
Aws::IoT::Model::UpdateDynamicThingGroupRequest::QueryStringHasBeenSet
bool QueryStringHasBeenSet() const
Definition: UpdateDynamicThingGroupRequest.h:186
Aws::IoT::Model::UpdateDynamicThingGroupRequest::GetQueryString
const Aws::String & GetQueryString() const
Definition: UpdateDynamicThingGroupRequest.h:181
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithThingGroupProperties
UpdateDynamicThingGroupRequest & WithThingGroupProperties(const ThingGroupProperties &value)
Definition: UpdateDynamicThingGroupRequest.h:100
Aws::IoT::Model::UpdateDynamicThingGroupRequest::GetThingGroupName
const Aws::String & GetThingGroupName() const
Definition: UpdateDynamicThingGroupRequest.h:39
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetThingGroupName
void SetThingGroupName(const Aws::String &value)
Definition: UpdateDynamicThingGroupRequest.h:49
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetThingGroupName
void SetThingGroupName(const char *value)
Definition: UpdateDynamicThingGroupRequest.h:59
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithIndexName
UpdateDynamicThingGroupRequest & WithIndexName(const Aws::String &value)
Definition: UpdateDynamicThingGroupRequest.h:163
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetIndexName
void SetIndexName(const char *value)
Definition: UpdateDynamicThingGroupRequest.h:157
Aws::IoT::Model::UpdateDynamicThingGroupRequest::QueryVersionHasBeenSet
bool QueryVersionHasBeenSet() const
Definition: UpdateDynamicThingGroupRequest.h:231
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetThingGroupProperties
void SetThingGroupProperties(ThingGroupProperties &&value)
Definition: UpdateDynamicThingGroupRequest.h:95
Aws::IoT::Model::UpdateDynamicThingGroupRequest::ExpectedVersionHasBeenSet
bool ExpectedVersionHasBeenSet() const
Definition: UpdateDynamicThingGroupRequest.h:116
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithThingGroupName
UpdateDynamicThingGroupRequest & WithThingGroupName(const char *value)
Definition: UpdateDynamicThingGroupRequest.h:74
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithThingGroupName
UpdateDynamicThingGroupRequest & WithThingGroupName(Aws::String &&value)
Definition: UpdateDynamicThingGroupRequest.h:69
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetQueryVersion
void SetQueryVersion(const char *value)
Definition: UpdateDynamicThingGroupRequest.h:252
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::UpdateDynamicThingGroupRequest::GetQueryVersion
const Aws::String & GetQueryVersion() const
Definition: UpdateDynamicThingGroupRequest.h:224
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithIndexName
UpdateDynamicThingGroupRequest & WithIndexName(Aws::String &&value)
Definition: UpdateDynamicThingGroupRequest.h:169
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithThingGroupName
UpdateDynamicThingGroupRequest & WithThingGroupName(const Aws::String &value)
Definition: UpdateDynamicThingGroupRequest.h:64
Aws::IoT::Model::UpdateDynamicThingGroupRequest::GetExpectedVersion
long long GetExpectedVersion() const
Definition: UpdateDynamicThingGroupRequest.h:111
Aws::IoT::Model::UpdateDynamicThingGroupRequest::ThingGroupPropertiesHasBeenSet
bool ThingGroupPropertiesHasBeenSet() const
Definition: UpdateDynamicThingGroupRequest.h:85
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithIndexName
UpdateDynamicThingGroupRequest & WithIndexName(const char *value)
Definition: UpdateDynamicThingGroupRequest.h:175
Aws::IoT::Model::UpdateDynamicThingGroupRequest
Definition: UpdateDynamicThingGroupRequest.h:23
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithExpectedVersion
UpdateDynamicThingGroupRequest & WithExpectedVersion(long long value)
Definition: UpdateDynamicThingGroupRequest.h:126
Aws::IoT::Model::UpdateDynamicThingGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDynamicThingGroupRequest.h:31
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetExpectedVersion
void SetExpectedVersion(long long value)
Definition: UpdateDynamicThingGroupRequest.h:121
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetThingGroupProperties
void SetThingGroupProperties(const ThingGroupProperties &value)
Definition: UpdateDynamicThingGroupRequest.h:90
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithQueryVersion
UpdateDynamicThingGroupRequest & WithQueryVersion(Aws::String &&value)
Definition: UpdateDynamicThingGroupRequest.h:266
Aws::IoT::Model::UpdateDynamicThingGroupRequest::ThingGroupNameHasBeenSet
bool ThingGroupNameHasBeenSet() const
Definition: UpdateDynamicThingGroupRequest.h:44
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithQueryString
UpdateDynamicThingGroupRequest & WithQueryString(const Aws::String &value)
Definition: UpdateDynamicThingGroupRequest.h:206
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetIndexName
void SetIndexName(Aws::String &&value)
Definition: UpdateDynamicThingGroupRequest.h:151
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetThingGroupName
void SetThingGroupName(Aws::String &&value)
Definition: UpdateDynamicThingGroupRequest.h:54
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithQueryString
UpdateDynamicThingGroupRequest & WithQueryString(const char *value)
Definition: UpdateDynamicThingGroupRequest.h:216
AWSString.h
ThingGroupProperties.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ThingGroupProperties
Definition: ThingGroupProperties.h:33
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetIndexName
void SetIndexName(const Aws::String &value)
Definition: UpdateDynamicThingGroupRequest.h:145
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetQueryString
void SetQueryString(Aws::String &&value)
Definition: UpdateDynamicThingGroupRequest.h:196
Aws::IoT::Model::UpdateDynamicThingGroupRequest::GetIndexName
const Aws::String & GetIndexName() const
Definition: UpdateDynamicThingGroupRequest.h:133
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithQueryVersion
UpdateDynamicThingGroupRequest & WithQueryVersion(const Aws::String &value)
Definition: UpdateDynamicThingGroupRequest.h:259
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetQueryVersion
void SetQueryVersion(const Aws::String &value)
Definition: UpdateDynamicThingGroupRequest.h:238
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithQueryVersion
UpdateDynamicThingGroupRequest & WithQueryVersion(const char *value)
Definition: UpdateDynamicThingGroupRequest.h:273
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::UpdateDynamicThingGroupRequest::SetQueryVersion
void SetQueryVersion(Aws::String &&value)
Definition: UpdateDynamicThingGroupRequest.h:245
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithQueryString
UpdateDynamicThingGroupRequest & WithQueryString(Aws::String &&value)
Definition: UpdateDynamicThingGroupRequest.h:211
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::UpdateDynamicThingGroupRequest::IndexNameHasBeenSet
bool IndexNameHasBeenSet() const
Definition: UpdateDynamicThingGroupRequest.h:139
Aws::IoT::Model::UpdateDynamicThingGroupRequest::WithThingGroupProperties
UpdateDynamicThingGroupRequest & WithThingGroupProperties(ThingGroupProperties &&value)
Definition: UpdateDynamicThingGroupRequest.h:105
IoTRequest.h
Aws::IoT::Model::UpdateDynamicThingGroupRequest::UpdateDynamicThingGroupRequest
UpdateDynamicThingGroupRequest()
IoT_EXPORTS.h