AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CapabilityReport.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/CapabilityReportEndpoint.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
35 {
36 public:
37 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReport() = default;
38 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReport(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTMANAGEDINTEGRATIONS_API CapabilityReport& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetVersion() const { return m_version; }
48 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
49 template<typename VersionT = Aws::String>
50 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
51 template<typename VersionT = Aws::String>
52 CapabilityReport& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
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) { m_nodeIdHasBeenSet = true; m_nodeId = std::forward<NodeIdT>(value); }
63 template<typename NodeIdT = Aws::String>
64 CapabilityReport& WithNodeId(NodeIdT&& value) { SetNodeId(std::forward<NodeIdT>(value)); return *this;}
66
68
71 inline const Aws::Vector<CapabilityReportEndpoint>& GetEndpoints() const { return m_endpoints; }
72 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
73 template<typename EndpointsT = Aws::Vector<CapabilityReportEndpoint>>
74 void SetEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::forward<EndpointsT>(value); }
75 template<typename EndpointsT = Aws::Vector<CapabilityReportEndpoint>>
76 CapabilityReport& WithEndpoints(EndpointsT&& value) { SetEndpoints(std::forward<EndpointsT>(value)); return *this;}
77 template<typename EndpointsT = CapabilityReportEndpoint>
78 CapabilityReport& AddEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace_back(std::forward<EndpointsT>(value)); return *this; }
80 private:
81
82 Aws::String m_version;
83 bool m_versionHasBeenSet = false;
84
85 Aws::String m_nodeId;
86 bool m_nodeIdHasBeenSet = false;
87
89 bool m_endpointsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace IoTManagedIntegrations
94} // 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