AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
MatterCapabilityReport.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/MatterCapabilityReportEndpoint.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 MatterCapabilityReport() = default;
32 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReport(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTMANAGEDINTEGRATIONS_API MatterCapabilityReport& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetVersion() const { return m_version; }
41 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
42 template <typename VersionT = Aws::String>
43 void SetVersion(VersionT&& value) {
44 m_versionHasBeenSet = true;
45 m_version = std::forward<VersionT>(value);
46 }
47 template <typename VersionT = Aws::String>
49 SetVersion(std::forward<VersionT>(value));
50 return *this;
51 }
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) {
62 m_nodeIdHasBeenSet = true;
63 m_nodeId = std::forward<NodeIdT>(value);
64 }
65 template <typename NodeIdT = Aws::String>
67 SetNodeId(std::forward<NodeIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Vector<MatterCapabilityReportEndpoint>& GetEndpoints() const { return m_endpoints; }
77 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
78 template <typename EndpointsT = Aws::Vector<MatterCapabilityReportEndpoint>>
79 void SetEndpoints(EndpointsT&& value) {
80 m_endpointsHasBeenSet = true;
81 m_endpoints = std::forward<EndpointsT>(value);
82 }
83 template <typename EndpointsT = Aws::Vector<MatterCapabilityReportEndpoint>>
85 SetEndpoints(std::forward<EndpointsT>(value));
86 return *this;
87 }
88 template <typename EndpointsT = MatterCapabilityReportEndpoint>
89 MatterCapabilityReport& AddEndpoints(EndpointsT&& value) {
90 m_endpointsHasBeenSet = true;
91 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_version;
97
98 Aws::String m_nodeId;
99
101 bool m_versionHasBeenSet = false;
102 bool m_nodeIdHasBeenSet = false;
103 bool m_endpointsHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace IoTManagedIntegrations
108} // 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