AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
MatterCluster.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/Document.h>
10#include <aws/core/utils/memory/stl/AWSMap.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
35 {
36 public:
37 AWS_IOTMANAGEDINTEGRATIONS_API MatterCluster() = default;
38 AWS_IOTMANAGEDINTEGRATIONS_API MatterCluster(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTMANAGEDINTEGRATIONS_API MatterCluster& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
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>
52 MatterCluster& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline Aws::Utils::DocumentView GetAttributes() const { return m_attributes; }
60 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
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>
64 MatterCluster& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
66
68
72 inline const Aws::Map<Aws::String, Aws::Utils::Document>& GetCommands() const { return m_commands; }
73 inline bool CommandsHasBeenSet() const { return m_commandsHasBeenSet; }
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>>
77 MatterCluster& WithCommands(CommandsT&& value) { SetCommands(std::forward<CommandsT>(value)); return *this;}
78 template<typename CommandsKeyT = Aws::String, typename CommandsValueT = Aws::Utils::Document>
79 MatterCluster& AddCommands(CommandsKeyT&& key, CommandsValueT&& value) {
80 m_commandsHasBeenSet = true; m_commands.emplace(std::forward<CommandsKeyT>(key), std::forward<CommandsValueT>(value)); return *this;
81 }
83
85
89 inline const Aws::Map<Aws::String, Aws::Utils::Document>& GetEvents() const { return m_events; }
90 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
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>>
94 MatterCluster& WithEvents(EventsT&& value) { SetEvents(std::forward<EventsT>(value)); return *this;}
95 template<typename EventsKeyT = Aws::String, typename EventsValueT = Aws::Utils::Document>
96 MatterCluster& AddEvents(EventsKeyT&& key, EventsValueT&& value) {
97 m_eventsHasBeenSet = true; m_events.emplace(std::forward<EventsKeyT>(key), std::forward<EventsValueT>(value)); return *this;
98 }
100 private:
101
102 Aws::String m_id;
103 bool m_idHasBeenSet = false;
104
105 Aws::Utils::Document m_attributes;
106 bool m_attributesHasBeenSet = false;
107
109 bool m_commandsHasBeenSet = false;
110
112 bool m_eventsHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace IoTManagedIntegrations
117} // namespace Aws
MatterCluster & WithEvents(EventsT &&value)
MatterCluster & AddEvents(EventsKeyT &&key, EventsValueT &&value)
Aws::Utils::DocumentView GetAttributes() const
const Aws::Map< Aws::String, Aws::Utils::Document > & GetEvents() const
const Aws::Map< Aws::String, Aws::Utils::Document > & GetCommands() const
AWS_IOTMANAGEDINTEGRATIONS_API MatterCluster(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API MatterCluster()=default
MatterCluster & AddCommands(CommandsKeyT &&key, CommandsValueT &&value)
MatterCluster & WithAttributes(AttributesT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API MatterCluster & operator=(Aws::Utils::Json::JsonView jsonValue)
MatterCluster & WithCommands(CommandsT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
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