AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CapabilityReportCapability.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTManagedIntegrations {
21namespace Model {
22
29 public:
30 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReportCapability() = default;
31 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReportCapability(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReportCapability& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
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) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetVersion() const { return m_version; }
76 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
77 template <typename VersionT = Aws::String>
78 void SetVersion(VersionT&& value) {
79 m_versionHasBeenSet = true;
80 m_version = std::forward<VersionT>(value);
81 }
82 template <typename VersionT = Aws::String>
84 SetVersion(std::forward<VersionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Vector<Aws::String>& GetProperties() const { return m_properties; }
94 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
95 template <typename PropertiesT = Aws::Vector<Aws::String>>
96 void SetProperties(PropertiesT&& value) {
97 m_propertiesHasBeenSet = true;
98 m_properties = std::forward<PropertiesT>(value);
99 }
100 template <typename PropertiesT = Aws::Vector<Aws::String>>
102 SetProperties(std::forward<PropertiesT>(value));
103 return *this;
104 }
105 template <typename PropertiesT = Aws::String>
107 m_propertiesHasBeenSet = true;
108 m_properties.emplace_back(std::forward<PropertiesT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::Vector<Aws::String>& GetActions() const { return m_actions; }
118 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
119 template <typename ActionsT = Aws::Vector<Aws::String>>
120 void SetActions(ActionsT&& value) {
121 m_actionsHasBeenSet = true;
122 m_actions = std::forward<ActionsT>(value);
123 }
124 template <typename ActionsT = Aws::Vector<Aws::String>>
126 SetActions(std::forward<ActionsT>(value));
127 return *this;
128 }
129 template <typename ActionsT = Aws::String>
131 m_actionsHasBeenSet = true;
132 m_actions.emplace_back(std::forward<ActionsT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::Vector<Aws::String>& GetEvents() const { return m_events; }
142 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
143 template <typename EventsT = Aws::Vector<Aws::String>>
144 void SetEvents(EventsT&& value) {
145 m_eventsHasBeenSet = true;
146 m_events = std::forward<EventsT>(value);
147 }
148 template <typename EventsT = Aws::Vector<Aws::String>>
150 SetEvents(std::forward<EventsT>(value));
151 return *this;
152 }
153 template <typename EventsT = Aws::String>
155 m_eventsHasBeenSet = true;
156 m_events.emplace_back(std::forward<EventsT>(value));
157 return *this;
158 }
160 private:
161 Aws::String m_id;
162
163 Aws::String m_name;
164
165 Aws::String m_version;
166
167 Aws::Vector<Aws::String> m_properties;
168
169 Aws::Vector<Aws::String> m_actions;
170
172 bool m_idHasBeenSet = false;
173 bool m_nameHasBeenSet = false;
174 bool m_versionHasBeenSet = false;
175 bool m_propertiesHasBeenSet = false;
176 bool m_actionsHasBeenSet = false;
177 bool m_eventsHasBeenSet = false;
178};
179
180} // namespace Model
181} // namespace IoTManagedIntegrations
182} // 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