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>
23namespace IoTManagedIntegrations
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>
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>>
64 template<
typename ClustersT = MatterCluster>
65 MatterEndpoint&
AddClusters(ClustersT&& value) { m_clustersHasBeenSet =
true; m_clusters.emplace_back(std::forward<ClustersT>(value));
return *
this; }
70 bool m_idHasBeenSet =
false;
73 bool m_clustersHasBeenSet =
false;
void SetClusters(ClustersT &&value)
MatterEndpoint & AddClusters(ClustersT &&value)
bool IdHasBeenSet() const
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)
bool ClustersHasBeenSet() const
const Aws::String & GetId() const
MatterEndpoint & WithId(IdT &&value)
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