AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDynamicThingGroupRequest.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 <aws/iot/model/ThingGroupProperties.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoT
16{
17namespace 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_IOT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetThingGroupName() const{ return m_thingGroupName; }
41 inline bool ThingGroupNameHasBeenSet() const { return m_thingGroupNameHasBeenSet; }
42 inline void SetThingGroupName(const Aws::String& value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName = value; }
43 inline void SetThingGroupName(Aws::String&& value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName = std::move(value); }
44 inline void SetThingGroupName(const char* value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName.assign(value); }
46 inline UpdateDynamicThingGroupRequest& WithThingGroupName(Aws::String&& value) { SetThingGroupName(std::move(value)); return *this;}
47 inline UpdateDynamicThingGroupRequest& WithThingGroupName(const char* value) { SetThingGroupName(value); return *this;}
49
51
54 inline const ThingGroupProperties& GetThingGroupProperties() const{ return m_thingGroupProperties; }
55 inline bool ThingGroupPropertiesHasBeenSet() const { return m_thingGroupPropertiesHasBeenSet; }
56 inline void SetThingGroupProperties(const ThingGroupProperties& value) { m_thingGroupPropertiesHasBeenSet = true; m_thingGroupProperties = value; }
57 inline void SetThingGroupProperties(ThingGroupProperties&& value) { m_thingGroupPropertiesHasBeenSet = true; m_thingGroupProperties = std::move(value); }
61
63
66 inline long long GetExpectedVersion() const{ return m_expectedVersion; }
67 inline bool ExpectedVersionHasBeenSet() const { return m_expectedVersionHasBeenSet; }
68 inline void SetExpectedVersion(long long value) { m_expectedVersionHasBeenSet = true; m_expectedVersion = value; }
69 inline UpdateDynamicThingGroupRequest& WithExpectedVersion(long long value) { SetExpectedVersion(value); return *this;}
71
73
77 inline const Aws::String& GetIndexName() const{ return m_indexName; }
78 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
79 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
80 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
81 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
82 inline UpdateDynamicThingGroupRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
83 inline UpdateDynamicThingGroupRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
84 inline UpdateDynamicThingGroupRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;}
86
88
91 inline const Aws::String& GetQueryString() const{ return m_queryString; }
92 inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
93 inline void SetQueryString(const Aws::String& value) { m_queryStringHasBeenSet = true; m_queryString = value; }
94 inline void SetQueryString(Aws::String&& value) { m_queryStringHasBeenSet = true; m_queryString = std::move(value); }
95 inline void SetQueryString(const char* value) { m_queryStringHasBeenSet = true; m_queryString.assign(value); }
96 inline UpdateDynamicThingGroupRequest& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
97 inline UpdateDynamicThingGroupRequest& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
98 inline UpdateDynamicThingGroupRequest& WithQueryString(const char* value) { SetQueryString(value); return *this;}
100
102
107 inline const Aws::String& GetQueryVersion() const{ return m_queryVersion; }
108 inline bool QueryVersionHasBeenSet() const { return m_queryVersionHasBeenSet; }
109 inline void SetQueryVersion(const Aws::String& value) { m_queryVersionHasBeenSet = true; m_queryVersion = value; }
110 inline void SetQueryVersion(Aws::String&& value) { m_queryVersionHasBeenSet = true; m_queryVersion = std::move(value); }
111 inline void SetQueryVersion(const char* value) { m_queryVersionHasBeenSet = true; m_queryVersion.assign(value); }
112 inline UpdateDynamicThingGroupRequest& WithQueryVersion(const Aws::String& value) { SetQueryVersion(value); return *this;}
113 inline UpdateDynamicThingGroupRequest& WithQueryVersion(Aws::String&& value) { SetQueryVersion(std::move(value)); return *this;}
114 inline UpdateDynamicThingGroupRequest& WithQueryVersion(const char* value) { SetQueryVersion(value); return *this;}
116 private:
117
118 Aws::String m_thingGroupName;
119 bool m_thingGroupNameHasBeenSet = false;
120
121 ThingGroupProperties m_thingGroupProperties;
122 bool m_thingGroupPropertiesHasBeenSet = false;
123
124 long long m_expectedVersion;
125 bool m_expectedVersionHasBeenSet = false;
126
127 Aws::String m_indexName;
128 bool m_indexNameHasBeenSet = false;
129
130 Aws::String m_queryString;
131 bool m_queryStringHasBeenSet = false;
132
133 Aws::String m_queryVersion;
134 bool m_queryVersionHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace IoT
139} // namespace Aws
AWS_IOT_API Aws::String SerializePayload() const override
UpdateDynamicThingGroupRequest & WithQueryString(Aws::String &&value)
UpdateDynamicThingGroupRequest & WithThingGroupName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateDynamicThingGroupRequest & WithThingGroupProperties(ThingGroupProperties &&value)
UpdateDynamicThingGroupRequest & WithThingGroupName(Aws::String &&value)
UpdateDynamicThingGroupRequest & WithQueryString(const char *value)
void SetThingGroupProperties(const ThingGroupProperties &value)
UpdateDynamicThingGroupRequest & WithThingGroupName(const Aws::String &value)
UpdateDynamicThingGroupRequest & WithIndexName(const char *value)
UpdateDynamicThingGroupRequest & WithIndexName(const Aws::String &value)
UpdateDynamicThingGroupRequest & WithIndexName(Aws::String &&value)
UpdateDynamicThingGroupRequest & WithQueryString(const Aws::String &value)
UpdateDynamicThingGroupRequest & WithQueryVersion(const char *value)
UpdateDynamicThingGroupRequest & WithExpectedVersion(long long value)
UpdateDynamicThingGroupRequest & WithQueryVersion(const Aws::String &value)
UpdateDynamicThingGroupRequest & WithQueryVersion(Aws::String &&value)
UpdateDynamicThingGroupRequest & WithThingGroupProperties(const ThingGroupProperties &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String