AWS SDK for C++

AWS SDK for C++ Version 1.11.687

Loading...
Searching...
No Matches
UpdateDynamicThingGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/ThingGroupProperties.h>
11
12#include <utility>
13
14namespace Aws {
15namespace IoT {
16namespace Model {
17
21 public:
22 AWS_IOT_API UpdateDynamicThingGroupRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateDynamicThingGroup"; }
29
30 AWS_IOT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetThingGroupName() const { return m_thingGroupName; }
37 inline bool ThingGroupNameHasBeenSet() const { return m_thingGroupNameHasBeenSet; }
38 template <typename ThingGroupNameT = Aws::String>
39 void SetThingGroupName(ThingGroupNameT&& value) {
40 m_thingGroupNameHasBeenSet = true;
41 m_thingGroupName = std::forward<ThingGroupNameT>(value);
42 }
43 template <typename ThingGroupNameT = Aws::String>
45 SetThingGroupName(std::forward<ThingGroupNameT>(value));
46 return *this;
47 }
49
51
54 inline const ThingGroupProperties& GetThingGroupProperties() const { return m_thingGroupProperties; }
55 inline bool ThingGroupPropertiesHasBeenSet() const { return m_thingGroupPropertiesHasBeenSet; }
56 template <typename ThingGroupPropertiesT = ThingGroupProperties>
57 void SetThingGroupProperties(ThingGroupPropertiesT&& value) {
58 m_thingGroupPropertiesHasBeenSet = true;
59 m_thingGroupProperties = std::forward<ThingGroupPropertiesT>(value);
60 }
61 template <typename ThingGroupPropertiesT = ThingGroupProperties>
63 SetThingGroupProperties(std::forward<ThingGroupPropertiesT>(value));
64 return *this;
65 }
67
69
72 inline long long GetExpectedVersion() const { return m_expectedVersion; }
73 inline bool ExpectedVersionHasBeenSet() const { return m_expectedVersionHasBeenSet; }
74 inline void SetExpectedVersion(long long value) {
75 m_expectedVersionHasBeenSet = true;
76 m_expectedVersion = value;
77 }
79 SetExpectedVersion(value);
80 return *this;
81 }
83
85
89 inline const Aws::String& GetIndexName() const { return m_indexName; }
90 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
91 template <typename IndexNameT = Aws::String>
92 void SetIndexName(IndexNameT&& value) {
93 m_indexNameHasBeenSet = true;
94 m_indexName = std::forward<IndexNameT>(value);
95 }
96 template <typename IndexNameT = Aws::String>
98 SetIndexName(std::forward<IndexNameT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetQueryString() const { return m_queryString; }
108 inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
109 template <typename QueryStringT = Aws::String>
110 void SetQueryString(QueryStringT&& value) {
111 m_queryStringHasBeenSet = true;
112 m_queryString = std::forward<QueryStringT>(value);
113 }
114 template <typename QueryStringT = Aws::String>
116 SetQueryString(std::forward<QueryStringT>(value));
117 return *this;
118 }
120
122
127 inline const Aws::String& GetQueryVersion() const { return m_queryVersion; }
128 inline bool QueryVersionHasBeenSet() const { return m_queryVersionHasBeenSet; }
129 template <typename QueryVersionT = Aws::String>
130 void SetQueryVersion(QueryVersionT&& value) {
131 m_queryVersionHasBeenSet = true;
132 m_queryVersion = std::forward<QueryVersionT>(value);
133 }
134 template <typename QueryVersionT = Aws::String>
136 SetQueryVersion(std::forward<QueryVersionT>(value));
137 return *this;
138 }
140 private:
141 Aws::String m_thingGroupName;
142 bool m_thingGroupNameHasBeenSet = false;
143
144 ThingGroupProperties m_thingGroupProperties;
145 bool m_thingGroupPropertiesHasBeenSet = false;
146
147 long long m_expectedVersion{0};
148 bool m_expectedVersionHasBeenSet = false;
149
150 Aws::String m_indexName;
151 bool m_indexNameHasBeenSet = false;
152
153 Aws::String m_queryString;
154 bool m_queryStringHasBeenSet = false;
155
156 Aws::String m_queryVersion;
157 bool m_queryVersionHasBeenSet = false;
158};
159
160} // namespace Model
161} // namespace IoT
162} // namespace Aws
AWS_IOT_API Aws::String SerializePayload() const override
UpdateDynamicThingGroupRequest & WithThingGroupProperties(ThingGroupPropertiesT &&value)
virtual const char * GetServiceRequestName() const override
UpdateDynamicThingGroupRequest & WithQueryVersion(QueryVersionT &&value)
UpdateDynamicThingGroupRequest & WithIndexName(IndexNameT &&value)
UpdateDynamicThingGroupRequest & WithThingGroupName(ThingGroupNameT &&value)
UpdateDynamicThingGroupRequest & WithQueryString(QueryStringT &&value)
UpdateDynamicThingGroupRequest & WithExpectedVersion(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String