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>
23namespace IoTManagedIntegrations
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>
61 inline void SetRevision(
int value) { m_revisionHasBeenSet =
true; m_revision = value; }
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>
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>
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>
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>>
113 template<
typename AttributesT = MatterCapabilityReportAttribute>
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>>
127 template<
typename CommandsT = Aws::String>
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>>
141 template<
typename EventsT = Aws::String>
151 inline void SetFeatureMap(
long long value) { m_featureMapHasBeenSet =
true; m_featureMap = value; }
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>>
165 template<
typename GeneratedCommandsT = Aws::String>
175 inline void SetFabricIndex(
int value) { m_fabricIndexHasBeenSet =
true; m_fabricIndex = value; }
181 bool m_idHasBeenSet =
false;
184 bool m_revisionHasBeenSet =
false;
187 bool m_publicIdHasBeenSet =
false;
190 bool m_nameHasBeenSet =
false;
193 bool m_specVersionHasBeenSet =
false;
196 bool m_attributesHasBeenSet =
false;
199 bool m_commandsHasBeenSet =
false;
202 bool m_eventsHasBeenSet =
false;
204 long long m_featureMap{0};
205 bool m_featureMapHasBeenSet =
false;
208 bool m_generatedCommandsHasBeenSet =
false;
210 int m_fabricIndex{0};
211 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