AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
MatterCapabilityReportEndpoint.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 <aws/iot-managed-integrations/model/MatterCapabilityReportCluster.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
34 {
35 public:
36 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportEndpoint() = default;
37 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportEndpoint(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReportEndpoint& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 MatterCapabilityReportEndpoint& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_deviceTypesHasBeenSet = true; m_deviceTypes = std::forward<DeviceTypesT>(value); }
62 template<typename DeviceTypesT = Aws::Vector<Aws::String>>
63 MatterCapabilityReportEndpoint& WithDeviceTypes(DeviceTypesT&& value) { SetDeviceTypes(std::forward<DeviceTypesT>(value)); return *this;}
64 template<typename DeviceTypesT = Aws::String>
65 MatterCapabilityReportEndpoint& AddDeviceTypes(DeviceTypesT&& value) { m_deviceTypesHasBeenSet = true; m_deviceTypes.emplace_back(std::forward<DeviceTypesT>(value)); return *this; }
67
69
72 inline const Aws::Vector<MatterCapabilityReportCluster>& GetClusters() const { return m_clusters; }
73 inline bool ClustersHasBeenSet() const { return m_clustersHasBeenSet; }
74 template<typename ClustersT = Aws::Vector<MatterCapabilityReportCluster>>
75 void SetClusters(ClustersT&& value) { m_clustersHasBeenSet = true; m_clusters = std::forward<ClustersT>(value); }
76 template<typename ClustersT = Aws::Vector<MatterCapabilityReportCluster>>
77 MatterCapabilityReportEndpoint& WithClusters(ClustersT&& value) { SetClusters(std::forward<ClustersT>(value)); return *this;}
78 template<typename ClustersT = MatterCapabilityReportCluster>
79 MatterCapabilityReportEndpoint& AddClusters(ClustersT&& value) { m_clustersHasBeenSet = true; m_clusters.emplace_back(std::forward<ClustersT>(value)); return *this; }
81
83
86 inline const Aws::Vector<Aws::String>& GetParts() const { return m_parts; }
87 inline bool PartsHasBeenSet() const { return m_partsHasBeenSet; }
88 template<typename PartsT = Aws::Vector<Aws::String>>
89 void SetParts(PartsT&& value) { m_partsHasBeenSet = true; m_parts = std::forward<PartsT>(value); }
90 template<typename PartsT = Aws::Vector<Aws::String>>
91 MatterCapabilityReportEndpoint& WithParts(PartsT&& value) { SetParts(std::forward<PartsT>(value)); return *this;}
92 template<typename PartsT = Aws::String>
93 MatterCapabilityReportEndpoint& AddParts(PartsT&& value) { m_partsHasBeenSet = true; m_parts.emplace_back(std::forward<PartsT>(value)); return *this; }
95
97
100 inline const Aws::Vector<Aws::String>& GetSemanticTags() const { return m_semanticTags; }
101 inline bool SemanticTagsHasBeenSet() const { return m_semanticTagsHasBeenSet; }
102 template<typename SemanticTagsT = Aws::Vector<Aws::String>>
103 void SetSemanticTags(SemanticTagsT&& value) { m_semanticTagsHasBeenSet = true; m_semanticTags = std::forward<SemanticTagsT>(value); }
104 template<typename SemanticTagsT = Aws::Vector<Aws::String>>
105 MatterCapabilityReportEndpoint& WithSemanticTags(SemanticTagsT&& value) { SetSemanticTags(std::forward<SemanticTagsT>(value)); return *this;}
106 template<typename SemanticTagsT = Aws::String>
107 MatterCapabilityReportEndpoint& AddSemanticTags(SemanticTagsT&& value) { m_semanticTagsHasBeenSet = true; m_semanticTags.emplace_back(std::forward<SemanticTagsT>(value)); return *this; }
109
111
114 inline const Aws::Vector<Aws::String>& GetClientClusters() const { return m_clientClusters; }
115 inline bool ClientClustersHasBeenSet() const { return m_clientClustersHasBeenSet; }
116 template<typename ClientClustersT = Aws::Vector<Aws::String>>
117 void SetClientClusters(ClientClustersT&& value) { m_clientClustersHasBeenSet = true; m_clientClusters = std::forward<ClientClustersT>(value); }
118 template<typename ClientClustersT = Aws::Vector<Aws::String>>
119 MatterCapabilityReportEndpoint& WithClientClusters(ClientClustersT&& value) { SetClientClusters(std::forward<ClientClustersT>(value)); return *this;}
120 template<typename ClientClustersT = Aws::String>
121 MatterCapabilityReportEndpoint& AddClientClusters(ClientClustersT&& value) { m_clientClustersHasBeenSet = true; m_clientClusters.emplace_back(std::forward<ClientClustersT>(value)); return *this; }
123 private:
124
125 Aws::String m_id;
126 bool m_idHasBeenSet = false;
127
128 Aws::Vector<Aws::String> m_deviceTypes;
129 bool m_deviceTypesHasBeenSet = false;
130
132 bool m_clustersHasBeenSet = false;
133
135 bool m_partsHasBeenSet = false;
136
137 Aws::Vector<Aws::String> m_semanticTags;
138 bool m_semanticTagsHasBeenSet = false;
139
140 Aws::Vector<Aws::String> m_clientClusters;
141 bool m_clientClustersHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace IoTManagedIntegrations
146} // 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