AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
MatterCapabilityReport.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/MatterCapabilityReportEndpoint.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 MatterCapabilityReport() = default;
37 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReport(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReport& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetVersion() const { return m_version; }
47 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
48 template<typename VersionT = Aws::String>
49 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
50 template<typename VersionT = Aws::String>
51 MatterCapabilityReport& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
53
55
58 inline const Aws::String& GetNodeId() const { return m_nodeId; }
59 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
60 template<typename NodeIdT = Aws::String>
61 void SetNodeId(NodeIdT&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::forward<NodeIdT>(value); }
62 template<typename NodeIdT = Aws::String>
63 MatterCapabilityReport& WithNodeId(NodeIdT&& value) { SetNodeId(std::forward<NodeIdT>(value)); return *this;}
65
67
70 inline const Aws::Vector<MatterCapabilityReportEndpoint>& GetEndpoints() const { return m_endpoints; }
71 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
72 template<typename EndpointsT = Aws::Vector<MatterCapabilityReportEndpoint>>
73 void SetEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::forward<EndpointsT>(value); }
74 template<typename EndpointsT = Aws::Vector<MatterCapabilityReportEndpoint>>
75 MatterCapabilityReport& WithEndpoints(EndpointsT&& value) { SetEndpoints(std::forward<EndpointsT>(value)); return *this;}
76 template<typename EndpointsT = MatterCapabilityReportEndpoint>
77 MatterCapabilityReport& AddEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace_back(std::forward<EndpointsT>(value)); return *this; }
79 private:
80
81 Aws::String m_version;
82 bool m_versionHasBeenSet = false;
83
84 Aws::String m_nodeId;
85 bool m_nodeIdHasBeenSet = false;
86
88 bool m_endpointsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace IoTManagedIntegrations
93} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReport()=default
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< MatterCapabilityReportEndpoint > & GetEndpoints() const
MatterCapabilityReport & AddEndpoints(EndpointsT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReport(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReport & operator=(Aws::Utils::Json::JsonView jsonValue)
MatterCapabilityReport & WithEndpoints(EndpointsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue