AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
MatterCapabilityReportCluster.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iot-managed-integrations/model/MatterCapabilityReportAttribute.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTManagedIntegrations
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportCluster() = default;
37 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportCluster(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportCluster& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 MatterCapabilityReportCluster& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
59 inline int GetRevision() const { return m_revision; }
60 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
61 inline void SetRevision(int value) { m_revisionHasBeenSet = true; m_revision = value; }
62 inline MatterCapabilityReportCluster& WithRevision(int value) { SetRevision(value); return *this;}
64
66
69 inline const Aws::String& GetPublicId() const { return m_publicId; }
70 inline bool PublicIdHasBeenSet() const { return m_publicIdHasBeenSet; }
71 template<typename PublicIdT = Aws::String>
72 void SetPublicId(PublicIdT&& value) { m_publicIdHasBeenSet = true; m_publicId = std::forward<PublicIdT>(value); }
73 template<typename PublicIdT = Aws::String>
74 MatterCapabilityReportCluster& WithPublicId(PublicIdT&& value) { SetPublicId(std::forward<PublicIdT>(value)); return *this;}
76
78
82 inline const Aws::String& GetName() const { return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 template<typename NameT = Aws::String>
85 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
86 template<typename NameT = Aws::String>
87 MatterCapabilityReportCluster& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
89
91
95 inline const Aws::String& GetSpecVersion() const { return m_specVersion; }
96 inline bool SpecVersionHasBeenSet() const { return m_specVersionHasBeenSet; }
97 template<typename SpecVersionT = Aws::String>
98 void SetSpecVersion(SpecVersionT&& value) { m_specVersionHasBeenSet = true; m_specVersion = std::forward<SpecVersionT>(value); }
99 template<typename SpecVersionT = Aws::String>
100 MatterCapabilityReportCluster& WithSpecVersion(SpecVersionT&& value) { SetSpecVersion(std::forward<SpecVersionT>(value)); return *this;}
102
104
107 inline const Aws::Vector<MatterCapabilityReportAttribute>& GetAttributes() const { return m_attributes; }
108 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
109 template<typename AttributesT = Aws::Vector<MatterCapabilityReportAttribute>>
110 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
111 template<typename AttributesT = Aws::Vector<MatterCapabilityReportAttribute>>
112 MatterCapabilityReportCluster& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
113 template<typename AttributesT = MatterCapabilityReportAttribute>
114 MatterCapabilityReportCluster& AddAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes.emplace_back(std::forward<AttributesT>(value)); return *this; }
116
118
121 inline const Aws::Vector<Aws::String>& GetCommands() const { return m_commands; }
122 inline bool CommandsHasBeenSet() const { return m_commandsHasBeenSet; }
123 template<typename CommandsT = Aws::Vector<Aws::String>>
124 void SetCommands(CommandsT&& value) { m_commandsHasBeenSet = true; m_commands = std::forward<CommandsT>(value); }
125 template<typename CommandsT = Aws::Vector<Aws::String>>
126 MatterCapabilityReportCluster& WithCommands(CommandsT&& value) { SetCommands(std::forward<CommandsT>(value)); return *this;}
127 template<typename CommandsT = Aws::String>
128 MatterCapabilityReportCluster& AddCommands(CommandsT&& value) { m_commandsHasBeenSet = true; m_commands.emplace_back(std::forward<CommandsT>(value)); return *this; }
130
132
135 inline const Aws::Vector<Aws::String>& GetEvents() const { return m_events; }
136 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
137 template<typename EventsT = Aws::Vector<Aws::String>>
138 void SetEvents(EventsT&& value) { m_eventsHasBeenSet = true; m_events = std::forward<EventsT>(value); }
139 template<typename EventsT = Aws::Vector<Aws::String>>
140 MatterCapabilityReportCluster& WithEvents(EventsT&& value) { SetEvents(std::forward<EventsT>(value)); return *this;}
141 template<typename EventsT = Aws::String>
142 MatterCapabilityReportCluster& AddEvents(EventsT&& value) { m_eventsHasBeenSet = true; m_events.emplace_back(std::forward<EventsT>(value)); return *this; }
144
146
149 inline long long GetFeatureMap() const { return m_featureMap; }
150 inline bool FeatureMapHasBeenSet() const { return m_featureMapHasBeenSet; }
151 inline void SetFeatureMap(long long value) { m_featureMapHasBeenSet = true; m_featureMap = value; }
152 inline MatterCapabilityReportCluster& WithFeatureMap(long long value) { SetFeatureMap(value); return *this;}
154
156
159 inline const Aws::Vector<Aws::String>& GetGeneratedCommands() const { return m_generatedCommands; }
160 inline bool GeneratedCommandsHasBeenSet() const { return m_generatedCommandsHasBeenSet; }
161 template<typename GeneratedCommandsT = Aws::Vector<Aws::String>>
162 void SetGeneratedCommands(GeneratedCommandsT&& value) { m_generatedCommandsHasBeenSet = true; m_generatedCommands = std::forward<GeneratedCommandsT>(value); }
163 template<typename GeneratedCommandsT = Aws::Vector<Aws::String>>
164 MatterCapabilityReportCluster& WithGeneratedCommands(GeneratedCommandsT&& value) { SetGeneratedCommands(std::forward<GeneratedCommandsT>(value)); return *this;}
165 template<typename GeneratedCommandsT = Aws::String>
166 MatterCapabilityReportCluster& AddGeneratedCommands(GeneratedCommandsT&& value) { m_generatedCommandsHasBeenSet = true; m_generatedCommands.emplace_back(std::forward<GeneratedCommandsT>(value)); return *this; }
168
170
173 inline int GetFabricIndex() const { return m_fabricIndex; }
174 inline bool FabricIndexHasBeenSet() const { return m_fabricIndexHasBeenSet; }
175 inline void SetFabricIndex(int value) { m_fabricIndexHasBeenSet = true; m_fabricIndex = value; }
176 inline MatterCapabilityReportCluster& WithFabricIndex(int value) { SetFabricIndex(value); return *this;}
178 private:
179
180 Aws::String m_id;
181 bool m_idHasBeenSet = false;
182
183 int m_revision{0};
184 bool m_revisionHasBeenSet = false;
185
186 Aws::String m_publicId;
187 bool m_publicIdHasBeenSet = false;
188
189 Aws::String m_name;
190 bool m_nameHasBeenSet = false;
191
192 Aws::String m_specVersion;
193 bool m_specVersionHasBeenSet = false;
194
196 bool m_attributesHasBeenSet = false;
197
198 Aws::Vector<Aws::String> m_commands;
199 bool m_commandsHasBeenSet = false;
200
202 bool m_eventsHasBeenSet = false;
203
204 long long m_featureMap{0};
205 bool m_featureMapHasBeenSet = false;
206
207 Aws::Vector<Aws::String> m_generatedCommands;
208 bool m_generatedCommandsHasBeenSet = false;
209
210 int m_fabricIndex{0};
211 bool m_fabricIndexHasBeenSet = false;
212 };
213
214} // namespace Model
215} // namespace IoTManagedIntegrations
216} // 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