AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
MatterEndpoint.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/MatterCluster.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 MatterEndpoint() = default;
37 AWS_IOTMANAGEDINTEGRATIONS_API MatterEndpoint(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API MatterEndpoint& 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 MatterEndpoint& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
58 inline const Aws::Vector<MatterCluster>& GetClusters() const { return m_clusters; }
59 inline bool ClustersHasBeenSet() const { return m_clustersHasBeenSet; }
60 template<typename ClustersT = Aws::Vector<MatterCluster>>
61 void SetClusters(ClustersT&& value) { m_clustersHasBeenSet = true; m_clusters = std::forward<ClustersT>(value); }
62 template<typename ClustersT = Aws::Vector<MatterCluster>>
63 MatterEndpoint& WithClusters(ClustersT&& value) { SetClusters(std::forward<ClustersT>(value)); return *this;}
64 template<typename ClustersT = MatterCluster>
65 MatterEndpoint& AddClusters(ClustersT&& value) { m_clustersHasBeenSet = true; m_clusters.emplace_back(std::forward<ClustersT>(value)); return *this; }
67 private:
68
69 Aws::String m_id;
70 bool m_idHasBeenSet = false;
71
73 bool m_clustersHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoTManagedIntegrations
78} // namespace Aws
MatterEndpoint & AddClusters(ClustersT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API MatterEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MatterCluster > & GetClusters() const
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
MatterEndpoint & WithClusters(ClustersT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API MatterEndpoint(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API MatterEndpoint()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue