AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CapabilityReport.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/CapabilityReportEndpoint.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
31 public:
32 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReport() = default;
33 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReport(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReport& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetVersion() const { return m_version; }
42 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
43 template <typename VersionT = Aws::String>
44 void SetVersion(VersionT&& value) {
45 m_versionHasBeenSet = true;
46 m_version = std::forward<VersionT>(value);
47 }
48 template <typename VersionT = Aws::String>
49 CapabilityReport& WithVersion(VersionT&& value) {
50 SetVersion(std::forward<VersionT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetNodeId() const { return m_nodeId; }
60 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
61 template <typename NodeIdT = Aws::String>
62 void SetNodeId(NodeIdT&& value) {
63 m_nodeIdHasBeenSet = true;
64 m_nodeId = std::forward<NodeIdT>(value);
65 }
66 template <typename NodeIdT = Aws::String>
67 CapabilityReport& WithNodeId(NodeIdT&& value) {
68 SetNodeId(std::forward<NodeIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Vector<CapabilityReportEndpoint>& GetEndpoints() const { return m_endpoints; }
78 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
79 template <typename EndpointsT = Aws::Vector<CapabilityReportEndpoint>>
80 void SetEndpoints(EndpointsT&& value) {
81 m_endpointsHasBeenSet = true;
82 m_endpoints = std::forward<EndpointsT>(value);
83 }
84 template <typename EndpointsT = Aws::Vector<CapabilityReportEndpoint>>
85 CapabilityReport& WithEndpoints(EndpointsT&& value) {
86 SetEndpoints(std::forward<EndpointsT>(value));
87 return *this;
88 }
89 template <typename EndpointsT = CapabilityReportEndpoint>
90 CapabilityReport& AddEndpoints(EndpointsT&& value) {
91 m_endpointsHasBeenSet = true;
92 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_version;
98
99 Aws::String m_nodeId;
100
102 bool m_versionHasBeenSet = false;
103 bool m_nodeIdHasBeenSet = false;
104 bool m_endpointsHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace IoTManagedIntegrations
109} // namespace Aws
CapabilityReport & WithNodeId(NodeIdT &&value)
CapabilityReport & WithEndpoints(EndpointsT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReport()=default
CapabilityReport & AddEndpoints(EndpointsT &&value)
CapabilityReport & WithVersion(VersionT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReport(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReport & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< CapabilityReportEndpoint > & GetEndpoints() 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