7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
21namespace IoTManagedIntegrations {
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
61 template <
typename AttributesT = Aws::Utils::Document>
63 m_attributesHasBeenSet =
true;
64 m_attributes = std::forward<AttributesT>(value);
66 template <
typename AttributesT = Aws::Utils::Document>
80 template <
typename CommandsT = Aws::Map<Aws::String, Aws::Utils::Document>>
82 m_commandsHasBeenSet =
true;
83 m_commands = std::forward<CommandsT>(value);
85 template <
typename CommandsT = Aws::Map<Aws::String, Aws::Utils::Document>>
90 template <
typename CommandsKeyT = Aws::String,
typename CommandsValueT = Aws::Utils::Document>
92 m_commandsHasBeenSet =
true;
93 m_commands.emplace(std::forward<CommandsKeyT>(key), std::forward<CommandsValueT>(value));
105 template <
typename EventsT = Aws::Map<Aws::String, Aws::Utils::Document>>
107 m_eventsHasBeenSet =
true;
108 m_events = std::forward<EventsT>(value);
110 template <
typename EventsT = Aws::Map<Aws::String, Aws::Utils::Document>>
115 template <
typename EventsKeyT = Aws::String,
typename EventsValueT = Aws::Utils::Document>
117 m_eventsHasBeenSet =
true;
118 m_events.emplace(std::forward<EventsKeyT>(key), std::forward<EventsValueT>(value));
130 bool m_idHasBeenSet =
false;
131 bool m_attributesHasBeenSet =
false;
132 bool m_commandsHasBeenSet =
false;
133 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