AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
MatterCapabilityReportCluster.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10#include <aws/iot-managed-integrations/model/MatterCapabilityReportAttribute.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTManagedIntegrations {
22namespace Model {
23
30 public:
31 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportCluster() = default;
32 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportCluster(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportCluster& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
59 inline int GetRevision() const { return m_revision; }
60 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
61 inline void SetRevision(int value) {
62 m_revisionHasBeenSet = true;
63 m_revision = value;
64 }
66 SetRevision(value);
67 return *this;
68 }
70
72
75 inline const Aws::String& GetPublicId() const { return m_publicId; }
76 inline bool PublicIdHasBeenSet() const { return m_publicIdHasBeenSet; }
77 template <typename PublicIdT = Aws::String>
78 void SetPublicId(PublicIdT&& value) {
79 m_publicIdHasBeenSet = true;
80 m_publicId = std::forward<PublicIdT>(value);
81 }
82 template <typename PublicIdT = Aws::String>
84 SetPublicId(std::forward<PublicIdT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetName() const { return m_name; }
95 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 template <typename NameT = Aws::String>
97 void SetName(NameT&& value) {
98 m_nameHasBeenSet = true;
99 m_name = std::forward<NameT>(value);
100 }
101 template <typename NameT = Aws::String>
103 SetName(std::forward<NameT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::String& GetSpecVersion() const { return m_specVersion; }
114 inline bool SpecVersionHasBeenSet() const { return m_specVersionHasBeenSet; }
115 template <typename SpecVersionT = Aws::String>
116 void SetSpecVersion(SpecVersionT&& value) {
117 m_specVersionHasBeenSet = true;
118 m_specVersion = std::forward<SpecVersionT>(value);
119 }
120 template <typename SpecVersionT = Aws::String>
122 SetSpecVersion(std::forward<SpecVersionT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Vector<MatterCapabilityReportAttribute>& GetAttributes() const { return m_attributes; }
132 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
133 template <typename AttributesT = Aws::Vector<MatterCapabilityReportAttribute>>
134 void SetAttributes(AttributesT&& value) {
135 m_attributesHasBeenSet = true;
136 m_attributes = std::forward<AttributesT>(value);
137 }
138 template <typename AttributesT = Aws::Vector<MatterCapabilityReportAttribute>>
140 SetAttributes(std::forward<AttributesT>(value));
141 return *this;
142 }
143 template <typename AttributesT = MatterCapabilityReportAttribute>
145 m_attributesHasBeenSet = true;
146 m_attributes.emplace_back(std::forward<AttributesT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::Vector<Aws::String>& GetCommands() const { return m_commands; }
156 inline bool CommandsHasBeenSet() const { return m_commandsHasBeenSet; }
157 template <typename CommandsT = Aws::Vector<Aws::String>>
158 void SetCommands(CommandsT&& value) {
159 m_commandsHasBeenSet = true;
160 m_commands = std::forward<CommandsT>(value);
161 }
162 template <typename CommandsT = Aws::Vector<Aws::String>>
164 SetCommands(std::forward<CommandsT>(value));
165 return *this;
166 }
167 template <typename CommandsT = Aws::String>
169 m_commandsHasBeenSet = true;
170 m_commands.emplace_back(std::forward<CommandsT>(value));
171 return *this;
172 }
174
176
179 inline const Aws::Vector<Aws::String>& GetEvents() const { return m_events; }
180 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
181 template <typename EventsT = Aws::Vector<Aws::String>>
182 void SetEvents(EventsT&& value) {
183 m_eventsHasBeenSet = true;
184 m_events = std::forward<EventsT>(value);
185 }
186 template <typename EventsT = Aws::Vector<Aws::String>>
188 SetEvents(std::forward<EventsT>(value));
189 return *this;
190 }
191 template <typename EventsT = Aws::String>
193 m_eventsHasBeenSet = true;
194 m_events.emplace_back(std::forward<EventsT>(value));
195 return *this;
196 }
198
200
203 inline long long GetFeatureMap() const { return m_featureMap; }
204 inline bool FeatureMapHasBeenSet() const { return m_featureMapHasBeenSet; }
205 inline void SetFeatureMap(long long value) {
206 m_featureMapHasBeenSet = true;
207 m_featureMap = value;
208 }
210 SetFeatureMap(value);
211 return *this;
212 }
214
216
219 inline const Aws::Vector<Aws::String>& GetGeneratedCommands() const { return m_generatedCommands; }
220 inline bool GeneratedCommandsHasBeenSet() const { return m_generatedCommandsHasBeenSet; }
221 template <typename GeneratedCommandsT = Aws::Vector<Aws::String>>
222 void SetGeneratedCommands(GeneratedCommandsT&& value) {
223 m_generatedCommandsHasBeenSet = true;
224 m_generatedCommands = std::forward<GeneratedCommandsT>(value);
225 }
226 template <typename GeneratedCommandsT = Aws::Vector<Aws::String>>
228 SetGeneratedCommands(std::forward<GeneratedCommandsT>(value));
229 return *this;
230 }
231 template <typename GeneratedCommandsT = Aws::String>
233 m_generatedCommandsHasBeenSet = true;
234 m_generatedCommands.emplace_back(std::forward<GeneratedCommandsT>(value));
235 return *this;
236 }
238
240
243 inline int GetFabricIndex() const { return m_fabricIndex; }
244 inline bool FabricIndexHasBeenSet() const { return m_fabricIndexHasBeenSet; }
245 inline void SetFabricIndex(int value) {
246 m_fabricIndexHasBeenSet = true;
247 m_fabricIndex = value;
248 }
250 SetFabricIndex(value);
251 return *this;
252 }
254 private:
255 Aws::String m_id;
256
257 int m_revision{0};
258
259 Aws::String m_publicId;
260
261 Aws::String m_name;
262
263 Aws::String m_specVersion;
264
266
267 Aws::Vector<Aws::String> m_commands;
268
270
271 long long m_featureMap{0};
272
273 Aws::Vector<Aws::String> m_generatedCommands;
274
275 int m_fabricIndex{0};
276 bool m_idHasBeenSet = false;
277 bool m_revisionHasBeenSet = false;
278 bool m_publicIdHasBeenSet = false;
279 bool m_nameHasBeenSet = false;
280 bool m_specVersionHasBeenSet = false;
281 bool m_attributesHasBeenSet = false;
282 bool m_commandsHasBeenSet = false;
283 bool m_eventsHasBeenSet = false;
284 bool m_featureMapHasBeenSet = false;
285 bool m_generatedCommandsHasBeenSet = false;
286 bool m_fabricIndexHasBeenSet = false;
287};
288
289} // namespace Model
290} // namespace IoTManagedIntegrations
291} // namespace Aws
MatterCapabilityReportCluster & WithAttributes(AttributesT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportCluster & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
MatterCapabilityReportCluster & WithGeneratedCommands(GeneratedCommandsT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportCluster()=default
MatterCapabilityReportCluster & AddAttributes(AttributesT &&value)
MatterCapabilityReportCluster & AddGeneratedCommands(GeneratedCommandsT &&value)
MatterCapabilityReportCluster & WithSpecVersion(SpecVersionT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportCluster(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MatterCapabilityReportAttribute > & GetAttributes() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue