7#include <aws/core/utils/Document.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/IoTManagedIntegrations_EXPORTS.h>
11#include <aws/iot-managed-integrations/model/CapabilitySchemaItem.h>
12#include <aws/iot-managed-integrations/model/MatterCapabilityReport.h>
23namespace IoTManagedIntegrations {
34 AWS_IOTMANAGEDINTEGRATIONS_API
Device() =
default;
46 template <
typename ConnectorDeviceIdT = Aws::String>
48 m_connectorDeviceIdHasBeenSet =
true;
49 m_connectorDeviceId = std::forward<ConnectorDeviceIdT>(value);
51 template <
typename ConnectorDeviceIdT = Aws::String>
64 template <
typename ConnectorDeviceNameT = Aws::String>
66 m_connectorDeviceNameHasBeenSet =
true;
67 m_connectorDeviceName = std::forward<ConnectorDeviceNameT>(value);
69 template <
typename ConnectorDeviceNameT = Aws::String>
82 template <
typename CapabilityReportT = MatterCapabilityReport>
84 m_capabilityReportHasBeenSet =
true;
85 m_capabilityReport = std::forward<CapabilityReportT>(value);
87 template <
typename CapabilityReportT = MatterCapabilityReport>
100 template <
typename CapabilitySchemasT = Aws::Vector<CapabilitySchemaItem>>
102 m_capabilitySchemasHasBeenSet =
true;
103 m_capabilitySchemas = std::forward<CapabilitySchemasT>(value);
105 template <
typename CapabilitySchemasT = Aws::Vector<CapabilitySchemaItem>>
110 template <
typename CapabilitySchemasT = CapabilitySchemaItem>
112 m_capabilitySchemasHasBeenSet =
true;
113 m_capabilitySchemas.emplace_back(std::forward<CapabilitySchemasT>(value));
124 template <
typename DeviceMetadataT = Aws::Utils::Document>
126 m_deviceMetadataHasBeenSet =
true;
127 m_deviceMetadata = std::forward<DeviceMetadataT>(value);
129 template <
typename DeviceMetadataT = Aws::Utils::Document>
145 bool m_connectorDeviceIdHasBeenSet =
false;
146 bool m_connectorDeviceNameHasBeenSet =
false;
147 bool m_capabilityReportHasBeenSet =
false;
148 bool m_capabilitySchemasHasBeenSet =
false;
149 bool m_deviceMetadataHasBeenSet =
false;
Device & WithConnectorDeviceName(ConnectorDeviceNameT &&value)
Device & AddCapabilitySchemas(CapabilitySchemasT &&value)
const Aws::String & GetConnectorDeviceId() const
void SetConnectorDeviceName(ConnectorDeviceNameT &&value)
void SetDeviceMetadata(DeviceMetadataT &&value)
Device & WithDeviceMetadata(DeviceMetadataT &&value)
bool ConnectorDeviceNameHasBeenSet() const
void SetCapabilitySchemas(CapabilitySchemasT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Device()=default
Device & WithCapabilityReport(CapabilityReportT &&value)
bool CapabilitySchemasHasBeenSet() const
AWS_IOTMANAGEDINTEGRATIONS_API Device(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< CapabilitySchemaItem > & GetCapabilitySchemas() const
const Aws::String & GetConnectorDeviceName() const
const MatterCapabilityReport & GetCapabilityReport() const
Device & WithCapabilitySchemas(CapabilitySchemasT &&value)
Device & WithConnectorDeviceId(ConnectorDeviceIdT &&value)
void SetConnectorDeviceId(ConnectorDeviceIdT &&value)
bool ConnectorDeviceIdHasBeenSet() const
void SetCapabilityReport(CapabilityReportT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Device & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DeviceMetadataHasBeenSet() const
bool CapabilityReportHasBeenSet() const
Aws::Utils::DocumentView GetDeviceMetadata() 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