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>
21namespace IoTManagedIntegrations {
42 template <
typename IdT = Aws::String>
44 m_idHasBeenSet =
true;
45 m_id = std::forward<IdT>(value);
47 template <
typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
62 m_revisionHasBeenSet =
true;
77 template <
typename PublicIdT = Aws::String>
79 m_publicIdHasBeenSet =
true;
80 m_publicId = std::forward<PublicIdT>(value);
82 template <
typename PublicIdT = Aws::String>
96 template <
typename NameT = Aws::String>
98 m_nameHasBeenSet =
true;
99 m_name = std::forward<NameT>(value);
101 template <
typename NameT = Aws::String>
103 SetName(std::forward<NameT>(value));
115 template <
typename SpecVersionT = Aws::String>
117 m_specVersionHasBeenSet =
true;
118 m_specVersion = std::forward<SpecVersionT>(value);
120 template <
typename SpecVersionT = Aws::String>
133 template <
typename AttributesT = Aws::Vector<MatterCapabilityReportAttribute>>
135 m_attributesHasBeenSet =
true;
136 m_attributes = std::forward<AttributesT>(value);
138 template <
typename AttributesT = Aws::Vector<MatterCapabilityReportAttribute>>
143 template <
typename AttributesT = MatterCapabilityReportAttribute>
145 m_attributesHasBeenSet =
true;
146 m_attributes.emplace_back(std::forward<AttributesT>(value));
157 template <
typename CommandsT = Aws::Vector<Aws::String>>
159 m_commandsHasBeenSet =
true;
160 m_commands = std::forward<CommandsT>(value);
162 template <
typename CommandsT = Aws::Vector<Aws::String>>
167 template <
typename CommandsT = Aws::String>
169 m_commandsHasBeenSet =
true;
170 m_commands.emplace_back(std::forward<CommandsT>(value));
181 template <
typename EventsT = Aws::Vector<Aws::String>>
183 m_eventsHasBeenSet =
true;
184 m_events = std::forward<EventsT>(value);
186 template <
typename EventsT = Aws::Vector<Aws::String>>
191 template <
typename EventsT = Aws::String>
193 m_eventsHasBeenSet =
true;
194 m_events.emplace_back(std::forward<EventsT>(value));
206 m_featureMapHasBeenSet =
true;
207 m_featureMap = value;
221 template <
typename GeneratedCommandsT = Aws::Vector<Aws::String>>
223 m_generatedCommandsHasBeenSet =
true;
224 m_generatedCommands = std::forward<GeneratedCommandsT>(value);
226 template <
typename GeneratedCommandsT = Aws::Vector<Aws::String>>
231 template <
typename GeneratedCommandsT = Aws::String>
233 m_generatedCommandsHasBeenSet =
true;
234 m_generatedCommands.emplace_back(std::forward<GeneratedCommandsT>(value));
246 m_fabricIndexHasBeenSet =
true;
247 m_fabricIndex = value;
271 long long m_featureMap{0};
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;
MatterCapabilityReportCluster & WithFeatureMap(long long value)
MatterCapabilityReportCluster & WithAttributes(AttributesT &&value)
bool NameHasBeenSet() const
bool EventsHasBeenSet() const
const Aws::Vector< Aws::String > & GetGeneratedCommands() const
void SetFeatureMap(long long value)
bool FabricIndexHasBeenSet() const
bool SpecVersionHasBeenSet() const
void SetEvents(EventsT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportCluster & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRevision(int value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFabricIndex(int value)
MatterCapabilityReportCluster & WithGeneratedCommands(GeneratedCommandsT &&value)
const Aws::Vector< Aws::String > & GetCommands() const
void SetAttributes(AttributesT &&value)
bool GeneratedCommandsHasBeenSet() const
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportCluster()=default
MatterCapabilityReportCluster & WithId(IdT &&value)
const Aws::String & GetPublicId() const
void SetName(NameT &&value)
MatterCapabilityReportCluster & AddAttributes(AttributesT &&value)
int GetFabricIndex() const
bool IdHasBeenSet() const
void SetCommands(CommandsT &&value)
bool AttributesHasBeenSet() const
MatterCapabilityReportCluster & WithFabricIndex(int value)
const Aws::String & GetSpecVersion() const
MatterCapabilityReportCluster & WithName(NameT &&value)
MatterCapabilityReportCluster & AddGeneratedCommands(GeneratedCommandsT &&value)
MatterCapabilityReportCluster & WithEvents(EventsT &&value)
MatterCapabilityReportCluster & AddCommands(CommandsT &&value)
const Aws::Vector< Aws::String > & GetEvents() const
bool FeatureMapHasBeenSet() const
void SetPublicId(PublicIdT &&value)
MatterCapabilityReportCluster & WithSpecVersion(SpecVersionT &&value)
bool CommandsHasBeenSet() const
long long GetFeatureMap() const
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportCluster(Aws::Utils::Json::JsonView jsonValue)
bool PublicIdHasBeenSet() const
MatterCapabilityReportCluster & WithPublicId(PublicIdT &&value)
MatterCapabilityReportCluster & WithRevision(int value)
void SetGeneratedCommands(GeneratedCommandsT &&value)
MatterCapabilityReportCluster & AddEvents(EventsT &&value)
const Aws::String & GetName() const
void SetSpecVersion(SpecVersionT &&value)
const Aws::String & GetId() const
MatterCapabilityReportCluster & WithCommands(CommandsT &&value)
bool RevisionHasBeenSet() const
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