AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
MatterCapabilityReportEndpoint.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#include <aws/iot-managed-integrations/model/MatterCapabilityReportCluster.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTManagedIntegrations {
22namespace Model {
23
30 public:
31 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportEndpoint() = default;
32 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportEndpoint(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportEndpoint& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetDeviceTypes() const { return m_deviceTypes; }
59 inline bool DeviceTypesHasBeenSet() const { return m_deviceTypesHasBeenSet; }
60 template <typename DeviceTypesT = Aws::Vector<Aws::String>>
61 void SetDeviceTypes(DeviceTypesT&& value) {
62 m_deviceTypesHasBeenSet = true;
63 m_deviceTypes = std::forward<DeviceTypesT>(value);
64 }
65 template <typename DeviceTypesT = Aws::Vector<Aws::String>>
67 SetDeviceTypes(std::forward<DeviceTypesT>(value));
68 return *this;
69 }
70 template <typename DeviceTypesT = Aws::String>
72 m_deviceTypesHasBeenSet = true;
73 m_deviceTypes.emplace_back(std::forward<DeviceTypesT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::Vector<MatterCapabilityReportCluster>& GetClusters() const { return m_clusters; }
83 inline bool ClustersHasBeenSet() const { return m_clustersHasBeenSet; }
84 template <typename ClustersT = Aws::Vector<MatterCapabilityReportCluster>>
85 void SetClusters(ClustersT&& value) {
86 m_clustersHasBeenSet = true;
87 m_clusters = std::forward<ClustersT>(value);
88 }
89 template <typename ClustersT = Aws::Vector<MatterCapabilityReportCluster>>
91 SetClusters(std::forward<ClustersT>(value));
92 return *this;
93 }
94 template <typename ClustersT = MatterCapabilityReportCluster>
96 m_clustersHasBeenSet = true;
97 m_clusters.emplace_back(std::forward<ClustersT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::Vector<Aws::String>& GetParts() const { return m_parts; }
107 inline bool PartsHasBeenSet() const { return m_partsHasBeenSet; }
108 template <typename PartsT = Aws::Vector<Aws::String>>
109 void SetParts(PartsT&& value) {
110 m_partsHasBeenSet = true;
111 m_parts = std::forward<PartsT>(value);
112 }
113 template <typename PartsT = Aws::Vector<Aws::String>>
115 SetParts(std::forward<PartsT>(value));
116 return *this;
117 }
118 template <typename PartsT = Aws::String>
120 m_partsHasBeenSet = true;
121 m_parts.emplace_back(std::forward<PartsT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Vector<Aws::String>& GetSemanticTags() const { return m_semanticTags; }
131 inline bool SemanticTagsHasBeenSet() const { return m_semanticTagsHasBeenSet; }
132 template <typename SemanticTagsT = Aws::Vector<Aws::String>>
133 void SetSemanticTags(SemanticTagsT&& value) {
134 m_semanticTagsHasBeenSet = true;
135 m_semanticTags = std::forward<SemanticTagsT>(value);
136 }
137 template <typename SemanticTagsT = Aws::Vector<Aws::String>>
139 SetSemanticTags(std::forward<SemanticTagsT>(value));
140 return *this;
141 }
142 template <typename SemanticTagsT = Aws::String>
144 m_semanticTagsHasBeenSet = true;
145 m_semanticTags.emplace_back(std::forward<SemanticTagsT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::Vector<Aws::String>& GetClientClusters() const { return m_clientClusters; }
155 inline bool ClientClustersHasBeenSet() const { return m_clientClustersHasBeenSet; }
156 template <typename ClientClustersT = Aws::Vector<Aws::String>>
157 void SetClientClusters(ClientClustersT&& value) {
158 m_clientClustersHasBeenSet = true;
159 m_clientClusters = std::forward<ClientClustersT>(value);
160 }
161 template <typename ClientClustersT = Aws::Vector<Aws::String>>
163 SetClientClusters(std::forward<ClientClustersT>(value));
164 return *this;
165 }
166 template <typename ClientClustersT = Aws::String>
168 m_clientClustersHasBeenSet = true;
169 m_clientClusters.emplace_back(std::forward<ClientClustersT>(value));
170 return *this;
171 }
173 private:
174 Aws::String m_id;
175
176 Aws::Vector<Aws::String> m_deviceTypes;
177
179
181
182 Aws::Vector<Aws::String> m_semanticTags;
183
184 Aws::Vector<Aws::String> m_clientClusters;
185 bool m_idHasBeenSet = false;
186 bool m_deviceTypesHasBeenSet = false;
187 bool m_clustersHasBeenSet = false;
188 bool m_partsHasBeenSet = false;
189 bool m_semanticTagsHasBeenSet = false;
190 bool m_clientClustersHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace IoTManagedIntegrations
195} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportEndpoint(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportEndpoint()=default
MatterCapabilityReportEndpoint & AddDeviceTypes(DeviceTypesT &&value)
MatterCapabilityReportEndpoint & WithClientClusters(ClientClustersT &&value)
const Aws::Vector< MatterCapabilityReportCluster > & GetClusters() const
MatterCapabilityReportEndpoint & AddSemanticTags(SemanticTagsT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
MatterCapabilityReportEndpoint & WithSemanticTags(SemanticTagsT &&value)
MatterCapabilityReportEndpoint & AddClientClusters(ClientClustersT &&value)
MatterCapabilityReportEndpoint & WithDeviceTypes(DeviceTypesT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue