AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
DiscoveredDeviceSummary.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/DiscoveryModification.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTManagedIntegrations
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IOTMANAGEDINTEGRATIONS_API DiscoveredDeviceSummary() = default;
39 AWS_IOTMANAGEDINTEGRATIONS_API DiscoveredDeviceSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTMANAGEDINTEGRATIONS_API DiscoveredDeviceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetConnectorDeviceId() const { return m_connectorDeviceId; }
50 inline bool ConnectorDeviceIdHasBeenSet() const { return m_connectorDeviceIdHasBeenSet; }
51 template<typename ConnectorDeviceIdT = Aws::String>
52 void SetConnectorDeviceId(ConnectorDeviceIdT&& value) { m_connectorDeviceIdHasBeenSet = true; m_connectorDeviceId = std::forward<ConnectorDeviceIdT>(value); }
53 template<typename ConnectorDeviceIdT = Aws::String>
54 DiscoveredDeviceSummary& WithConnectorDeviceId(ConnectorDeviceIdT&& value) { SetConnectorDeviceId(std::forward<ConnectorDeviceIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetConnectorDeviceName() const { return m_connectorDeviceName; }
62 inline bool ConnectorDeviceNameHasBeenSet() const { return m_connectorDeviceNameHasBeenSet; }
63 template<typename ConnectorDeviceNameT = Aws::String>
64 void SetConnectorDeviceName(ConnectorDeviceNameT&& value) { m_connectorDeviceNameHasBeenSet = true; m_connectorDeviceName = std::forward<ConnectorDeviceNameT>(value); }
65 template<typename ConnectorDeviceNameT = Aws::String>
66 DiscoveredDeviceSummary& WithConnectorDeviceName(ConnectorDeviceNameT&& value) { SetConnectorDeviceName(std::forward<ConnectorDeviceNameT>(value)); return *this;}
68
70
74 inline const Aws::Vector<Aws::String>& GetDeviceTypes() const { return m_deviceTypes; }
75 inline bool DeviceTypesHasBeenSet() const { return m_deviceTypesHasBeenSet; }
76 template<typename DeviceTypesT = Aws::Vector<Aws::String>>
77 void SetDeviceTypes(DeviceTypesT&& value) { m_deviceTypesHasBeenSet = true; m_deviceTypes = std::forward<DeviceTypesT>(value); }
78 template<typename DeviceTypesT = Aws::Vector<Aws::String>>
79 DiscoveredDeviceSummary& WithDeviceTypes(DeviceTypesT&& value) { SetDeviceTypes(std::forward<DeviceTypesT>(value)); return *this;}
80 template<typename DeviceTypesT = Aws::String>
81 DiscoveredDeviceSummary& AddDeviceTypes(DeviceTypesT&& value) { m_deviceTypesHasBeenSet = true; m_deviceTypes.emplace_back(std::forward<DeviceTypesT>(value)); return *this; }
83
85
89 inline const Aws::String& GetManagedThingId() const { return m_managedThingId; }
90 inline bool ManagedThingIdHasBeenSet() const { return m_managedThingIdHasBeenSet; }
91 template<typename ManagedThingIdT = Aws::String>
92 void SetManagedThingId(ManagedThingIdT&& value) { m_managedThingIdHasBeenSet = true; m_managedThingId = std::forward<ManagedThingIdT>(value); }
93 template<typename ManagedThingIdT = Aws::String>
94 DiscoveredDeviceSummary& WithManagedThingId(ManagedThingIdT&& value) { SetManagedThingId(std::forward<ManagedThingIdT>(value)); return *this;}
96
98
102 inline DiscoveryModification GetModification() const { return m_modification; }
103 inline bool ModificationHasBeenSet() const { return m_modificationHasBeenSet; }
104 inline void SetModification(DiscoveryModification value) { m_modificationHasBeenSet = true; m_modification = value; }
107
109
112 inline const Aws::Utils::DateTime& GetDiscoveredAt() const { return m_discoveredAt; }
113 inline bool DiscoveredAtHasBeenSet() const { return m_discoveredAtHasBeenSet; }
114 template<typename DiscoveredAtT = Aws::Utils::DateTime>
115 void SetDiscoveredAt(DiscoveredAtT&& value) { m_discoveredAtHasBeenSet = true; m_discoveredAt = std::forward<DiscoveredAtT>(value); }
116 template<typename DiscoveredAtT = Aws::Utils::DateTime>
117 DiscoveredDeviceSummary& WithDiscoveredAt(DiscoveredAtT&& value) { SetDiscoveredAt(std::forward<DiscoveredAtT>(value)); return *this;}
119
121
124 inline const Aws::String& GetBrand() const { return m_brand; }
125 inline bool BrandHasBeenSet() const { return m_brandHasBeenSet; }
126 template<typename BrandT = Aws::String>
127 void SetBrand(BrandT&& value) { m_brandHasBeenSet = true; m_brand = std::forward<BrandT>(value); }
128 template<typename BrandT = Aws::String>
129 DiscoveredDeviceSummary& WithBrand(BrandT&& value) { SetBrand(std::forward<BrandT>(value)); return *this;}
131
133
136 inline const Aws::String& GetModel() const { return m_model; }
137 inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; }
138 template<typename ModelT = Aws::String>
139 void SetModel(ModelT&& value) { m_modelHasBeenSet = true; m_model = std::forward<ModelT>(value); }
140 template<typename ModelT = Aws::String>
141 DiscoveredDeviceSummary& WithModel(ModelT&& value) { SetModel(std::forward<ModelT>(value)); return *this;}
143
145
149 inline const Aws::String& GetAuthenticationMaterial() const { return m_authenticationMaterial; }
150 inline bool AuthenticationMaterialHasBeenSet() const { return m_authenticationMaterialHasBeenSet; }
151 template<typename AuthenticationMaterialT = Aws::String>
152 void SetAuthenticationMaterial(AuthenticationMaterialT&& value) { m_authenticationMaterialHasBeenSet = true; m_authenticationMaterial = std::forward<AuthenticationMaterialT>(value); }
153 template<typename AuthenticationMaterialT = Aws::String>
154 DiscoveredDeviceSummary& WithAuthenticationMaterial(AuthenticationMaterialT&& value) { SetAuthenticationMaterial(std::forward<AuthenticationMaterialT>(value)); return *this;}
156 private:
157
158 Aws::String m_connectorDeviceId;
159 bool m_connectorDeviceIdHasBeenSet = false;
160
161 Aws::String m_connectorDeviceName;
162 bool m_connectorDeviceNameHasBeenSet = false;
163
164 Aws::Vector<Aws::String> m_deviceTypes;
165 bool m_deviceTypesHasBeenSet = false;
166
167 Aws::String m_managedThingId;
168 bool m_managedThingIdHasBeenSet = false;
169
171 bool m_modificationHasBeenSet = false;
172
173 Aws::Utils::DateTime m_discoveredAt{};
174 bool m_discoveredAtHasBeenSet = false;
175
176 Aws::String m_brand;
177 bool m_brandHasBeenSet = false;
178
179 Aws::String m_model;
180 bool m_modelHasBeenSet = false;
181
182 Aws::String m_authenticationMaterial;
183 bool m_authenticationMaterialHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace IoTManagedIntegrations
188} // namespace Aws
DiscoveredDeviceSummary & WithConnectorDeviceName(ConnectorDeviceNameT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API DiscoveredDeviceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DiscoveredDeviceSummary & WithModification(DiscoveryModification value)
AWS_IOTMANAGEDINTEGRATIONS_API DiscoveredDeviceSummary()=default
DiscoveredDeviceSummary & WithDeviceTypes(DeviceTypesT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API DiscoveredDeviceSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
DiscoveredDeviceSummary & AddDeviceTypes(DeviceTypesT &&value)
DiscoveredDeviceSummary & WithManagedThingId(ManagedThingIdT &&value)
DiscoveredDeviceSummary & WithAuthenticationMaterial(AuthenticationMaterialT &&value)
DiscoveredDeviceSummary & WithConnectorDeviceId(ConnectorDeviceIdT &&value)
DiscoveredDeviceSummary & WithDiscoveredAt(DiscoveredAtT &&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