AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
CapabilityReportCapability.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/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTManagedIntegrations
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReportCapability() = default;
36 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReportCapability(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReportCapability& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 CapabilityReportCapability& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template<typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
61 template<typename NameT = Aws::String>
62 CapabilityReportCapability& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetVersion() const { return m_version; }
70 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
71 template<typename VersionT = Aws::String>
72 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
73 template<typename VersionT = Aws::String>
74 CapabilityReportCapability& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
76
78
81 inline const Aws::Vector<Aws::String>& GetProperties() const { return m_properties; }
82 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
83 template<typename PropertiesT = Aws::Vector<Aws::String>>
84 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet = true; m_properties = std::forward<PropertiesT>(value); }
85 template<typename PropertiesT = Aws::Vector<Aws::String>>
86 CapabilityReportCapability& WithProperties(PropertiesT&& value) { SetProperties(std::forward<PropertiesT>(value)); return *this;}
87 template<typename PropertiesT = Aws::String>
88 CapabilityReportCapability& AddProperties(PropertiesT&& value) { m_propertiesHasBeenSet = true; m_properties.emplace_back(std::forward<PropertiesT>(value)); return *this; }
90
92
95 inline const Aws::Vector<Aws::String>& GetActions() const { return m_actions; }
96 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
97 template<typename ActionsT = Aws::Vector<Aws::String>>
98 void SetActions(ActionsT&& value) { m_actionsHasBeenSet = true; m_actions = std::forward<ActionsT>(value); }
99 template<typename ActionsT = Aws::Vector<Aws::String>>
100 CapabilityReportCapability& WithActions(ActionsT&& value) { SetActions(std::forward<ActionsT>(value)); return *this;}
101 template<typename ActionsT = Aws::String>
102 CapabilityReportCapability& AddActions(ActionsT&& value) { m_actionsHasBeenSet = true; m_actions.emplace_back(std::forward<ActionsT>(value)); return *this; }
104
106
109 inline const Aws::Vector<Aws::String>& GetEvents() const { return m_events; }
110 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
111 template<typename EventsT = Aws::Vector<Aws::String>>
112 void SetEvents(EventsT&& value) { m_eventsHasBeenSet = true; m_events = std::forward<EventsT>(value); }
113 template<typename EventsT = Aws::Vector<Aws::String>>
114 CapabilityReportCapability& WithEvents(EventsT&& value) { SetEvents(std::forward<EventsT>(value)); return *this;}
115 template<typename EventsT = Aws::String>
116 CapabilityReportCapability& AddEvents(EventsT&& value) { m_eventsHasBeenSet = true; m_events.emplace_back(std::forward<EventsT>(value)); return *this; }
118 private:
119
120 Aws::String m_id;
121 bool m_idHasBeenSet = false;
122
123 Aws::String m_name;
124 bool m_nameHasBeenSet = false;
125
126 Aws::String m_version;
127 bool m_versionHasBeenSet = false;
128
129 Aws::Vector<Aws::String> m_properties;
130 bool m_propertiesHasBeenSet = false;
131
132 Aws::Vector<Aws::String> m_actions;
133 bool m_actionsHasBeenSet = false;
134
136 bool m_eventsHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace IoTManagedIntegrations
141} // namespace Aws
CapabilityReportCapability & AddProperties(PropertiesT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReportCapability(Aws::Utils::Json::JsonView jsonValue)
CapabilityReportCapability & WithProperties(PropertiesT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReportCapability()=default
AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReportCapability & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue