7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Document.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
23namespace IoTManagedIntegrations
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename AttributesT = Aws::Utils::Document>
62 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
63 template<
typename AttributesT = Aws::Utils::Document>
74 template<
typename CommandsT = Aws::Map<Aws::String, Aws::Utils::Document>>
75 void SetCommands(CommandsT&& value) { m_commandsHasBeenSet =
true; m_commands = std::forward<CommandsT>(value); }
76 template<
typename CommandsT = Aws::Map<Aws::String, Aws::Utils::Document>>
78 template<
typename CommandsKeyT = Aws::String,
typename CommandsValueT = Aws::Utils::Document>
80 m_commandsHasBeenSet =
true; m_commands.emplace(std::forward<CommandsKeyT>(key), std::forward<CommandsValueT>(value));
return *
this;
91 template<
typename EventsT = Aws::Map<Aws::String, Aws::Utils::Document>>
92 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
93 template<
typename EventsT = Aws::Map<Aws::String, Aws::Utils::Document>>
95 template<
typename EventsKeyT = Aws::String,
typename EventsValueT = Aws::Utils::Document>
97 m_eventsHasBeenSet =
true; m_events.emplace(std::forward<EventsKeyT>(key), std::forward<EventsValueT>(value));
return *
this;
103 bool m_idHasBeenSet =
false;
106 bool m_attributesHasBeenSet =
false;
109 bool m_commandsHasBeenSet =
false;
112 bool m_eventsHasBeenSet =
false;
MatterCluster & WithEvents(EventsT &&value)
MatterCluster & AddEvents(EventsKeyT &&key, EventsValueT &&value)
bool EventsHasBeenSet() const
Aws::Utils::DocumentView GetAttributes() const
const Aws::Map< Aws::String, Aws::Utils::Document > & GetEvents() const
bool IdHasBeenSet() const
bool AttributesHasBeenSet() const
const Aws::Map< Aws::String, Aws::Utils::Document > & GetCommands() const
void SetEvents(EventsT &&value)
const Aws::String & GetId() const
AWS_IOTMANAGEDINTEGRATIONS_API MatterCluster(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API MatterCluster()=default
void SetCommands(CommandsT &&value)
MatterCluster & AddCommands(CommandsKeyT &&key, CommandsValueT &&value)
MatterCluster & WithAttributes(AttributesT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API MatterCluster & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributes(AttributesT &&value)
MatterCluster & WithCommands(CommandsT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
bool CommandsHasBeenSet() const
MatterCluster & WithId(IdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue