AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ManagedThingSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10#include <aws/iot-managed-integrations/model/ProvisioningStatus.h>
11#include <aws/iot-managed-integrations/model/Role.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTManagedIntegrations {
23namespace Model {
24
31 public:
32 AWS_IOTMANAGEDINTEGRATIONS_API ManagedThingSummary() = default;
33 AWS_IOTMANAGEDINTEGRATIONS_API ManagedThingSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTMANAGEDINTEGRATIONS_API ManagedThingSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetAdvertisedProductId() const { return m_advertisedProductId; }
78 inline bool AdvertisedProductIdHasBeenSet() const { return m_advertisedProductIdHasBeenSet; }
79 template <typename AdvertisedProductIdT = Aws::String>
80 void SetAdvertisedProductId(AdvertisedProductIdT&& value) {
81 m_advertisedProductIdHasBeenSet = true;
82 m_advertisedProductId = std::forward<AdvertisedProductIdT>(value);
83 }
84 template <typename AdvertisedProductIdT = Aws::String>
85 ManagedThingSummary& WithAdvertisedProductId(AdvertisedProductIdT&& value) {
86 SetAdvertisedProductId(std::forward<AdvertisedProductIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetBrand() const { return m_brand; }
96 inline bool BrandHasBeenSet() const { return m_brandHasBeenSet; }
97 template <typename BrandT = Aws::String>
98 void SetBrand(BrandT&& value) {
99 m_brandHasBeenSet = true;
100 m_brand = std::forward<BrandT>(value);
101 }
102 template <typename BrandT = Aws::String>
104 SetBrand(std::forward<BrandT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetClassification() const { return m_classification; }
114 inline bool ClassificationHasBeenSet() const { return m_classificationHasBeenSet; }
115 template <typename ClassificationT = Aws::String>
116 void SetClassification(ClassificationT&& value) {
117 m_classificationHasBeenSet = true;
118 m_classification = std::forward<ClassificationT>(value);
119 }
120 template <typename ClassificationT = Aws::String>
121 ManagedThingSummary& WithClassification(ClassificationT&& value) {
122 SetClassification(std::forward<ClassificationT>(value));
123 return *this;
124 }
126
128
133 inline const Aws::String& GetConnectorDeviceId() const { return m_connectorDeviceId; }
134 inline bool ConnectorDeviceIdHasBeenSet() const { return m_connectorDeviceIdHasBeenSet; }
135 template <typename ConnectorDeviceIdT = Aws::String>
136 void SetConnectorDeviceId(ConnectorDeviceIdT&& value) {
137 m_connectorDeviceIdHasBeenSet = true;
138 m_connectorDeviceId = std::forward<ConnectorDeviceIdT>(value);
139 }
140 template <typename ConnectorDeviceIdT = Aws::String>
141 ManagedThingSummary& WithConnectorDeviceId(ConnectorDeviceIdT&& value) {
142 SetConnectorDeviceId(std::forward<ConnectorDeviceIdT>(value));
143 return *this;
144 }
146
148
152 inline const Aws::String& GetConnectorDestinationId() const { return m_connectorDestinationId; }
153 inline bool ConnectorDestinationIdHasBeenSet() const { return m_connectorDestinationIdHasBeenSet; }
154 template <typename ConnectorDestinationIdT = Aws::String>
155 void SetConnectorDestinationId(ConnectorDestinationIdT&& value) {
156 m_connectorDestinationIdHasBeenSet = true;
157 m_connectorDestinationId = std::forward<ConnectorDestinationIdT>(value);
158 }
159 template <typename ConnectorDestinationIdT = Aws::String>
160 ManagedThingSummary& WithConnectorDestinationId(ConnectorDestinationIdT&& value) {
161 SetConnectorDestinationId(std::forward<ConnectorDestinationIdT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::String& GetModel() const { return m_model; }
171 inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; }
172 template <typename ModelT = Aws::String>
173 void SetModel(ModelT&& value) {
174 m_modelHasBeenSet = true;
175 m_model = std::forward<ModelT>(value);
176 }
177 template <typename ModelT = Aws::String>
179 SetModel(std::forward<ModelT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::String& GetName() const { return m_name; }
189 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
190 template <typename NameT = Aws::String>
191 void SetName(NameT&& value) {
192 m_nameHasBeenSet = true;
193 m_name = std::forward<NameT>(value);
194 }
195 template <typename NameT = Aws::String>
197 SetName(std::forward<NameT>(value));
198 return *this;
199 }
201
203
207 inline const Aws::String& GetOwner() const { return m_owner; }
208 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
209 template <typename OwnerT = Aws::String>
210 void SetOwner(OwnerT&& value) {
211 m_ownerHasBeenSet = true;
212 m_owner = std::forward<OwnerT>(value);
213 }
214 template <typename OwnerT = Aws::String>
216 SetOwner(std::forward<OwnerT>(value));
217 return *this;
218 }
220
222
225 inline const Aws::String& GetCredentialLockerId() const { return m_credentialLockerId; }
226 inline bool CredentialLockerIdHasBeenSet() const { return m_credentialLockerIdHasBeenSet; }
227 template <typename CredentialLockerIdT = Aws::String>
228 void SetCredentialLockerId(CredentialLockerIdT&& value) {
229 m_credentialLockerIdHasBeenSet = true;
230 m_credentialLockerId = std::forward<CredentialLockerIdT>(value);
231 }
232 template <typename CredentialLockerIdT = Aws::String>
233 ManagedThingSummary& WithCredentialLockerId(CredentialLockerIdT&& value) {
234 SetCredentialLockerId(std::forward<CredentialLockerIdT>(value));
235 return *this;
236 }
238
240
243 inline const Aws::String& GetParentControllerId() const { return m_parentControllerId; }
244 inline bool ParentControllerIdHasBeenSet() const { return m_parentControllerIdHasBeenSet; }
245 template <typename ParentControllerIdT = Aws::String>
246 void SetParentControllerId(ParentControllerIdT&& value) {
247 m_parentControllerIdHasBeenSet = true;
248 m_parentControllerId = std::forward<ParentControllerIdT>(value);
249 }
250 template <typename ParentControllerIdT = Aws::String>
251 ManagedThingSummary& WithParentControllerId(ParentControllerIdT&& value) {
252 SetParentControllerId(std::forward<ParentControllerIdT>(value));
253 return *this;
254 }
256
258
264 inline ProvisioningStatus GetProvisioningStatus() const { return m_provisioningStatus; }
265 inline bool ProvisioningStatusHasBeenSet() const { return m_provisioningStatusHasBeenSet; }
267 m_provisioningStatusHasBeenSet = true;
268 m_provisioningStatus = value;
269 }
272 return *this;
273 }
275
277
281 inline Role GetRole() const { return m_role; }
282 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
283 inline void SetRole(Role value) {
284 m_roleHasBeenSet = true;
285 m_role = value;
286 }
288 SetRole(value);
289 return *this;
290 }
292
294
297 inline const Aws::String& GetSerialNumber() const { return m_serialNumber; }
298 inline bool SerialNumberHasBeenSet() const { return m_serialNumberHasBeenSet; }
299 template <typename SerialNumberT = Aws::String>
300 void SetSerialNumber(SerialNumberT&& value) {
301 m_serialNumberHasBeenSet = true;
302 m_serialNumber = std::forward<SerialNumberT>(value);
303 }
304 template <typename SerialNumberT = Aws::String>
305 ManagedThingSummary& WithSerialNumber(SerialNumberT&& value) {
306 SetSerialNumber(std::forward<SerialNumberT>(value));
307 return *this;
308 }
310
312
315 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
316 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
317 template <typename CreatedAtT = Aws::Utils::DateTime>
318 void SetCreatedAt(CreatedAtT&& value) {
319 m_createdAtHasBeenSet = true;
320 m_createdAt = std::forward<CreatedAtT>(value);
321 }
322 template <typename CreatedAtT = Aws::Utils::DateTime>
323 ManagedThingSummary& WithCreatedAt(CreatedAtT&& value) {
324 SetCreatedAt(std::forward<CreatedAtT>(value));
325 return *this;
326 }
328
330
333 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
334 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
335 template <typename UpdatedAtT = Aws::Utils::DateTime>
336 void SetUpdatedAt(UpdatedAtT&& value) {
337 m_updatedAtHasBeenSet = true;
338 m_updatedAt = std::forward<UpdatedAtT>(value);
339 }
340 template <typename UpdatedAtT = Aws::Utils::DateTime>
341 ManagedThingSummary& WithUpdatedAt(UpdatedAtT&& value) {
342 SetUpdatedAt(std::forward<UpdatedAtT>(value));
343 return *this;
344 }
346
348
351 inline const Aws::Utils::DateTime& GetActivatedAt() const { return m_activatedAt; }
352 inline bool ActivatedAtHasBeenSet() const { return m_activatedAtHasBeenSet; }
353 template <typename ActivatedAtT = Aws::Utils::DateTime>
354 void SetActivatedAt(ActivatedAtT&& value) {
355 m_activatedAtHasBeenSet = true;
356 m_activatedAt = std::forward<ActivatedAtT>(value);
357 }
358 template <typename ActivatedAtT = Aws::Utils::DateTime>
359 ManagedThingSummary& WithActivatedAt(ActivatedAtT&& value) {
360 SetActivatedAt(std::forward<ActivatedAtT>(value));
361 return *this;
362 }
364 private:
365 Aws::String m_id;
366
367 Aws::String m_arn;
368
369 Aws::String m_advertisedProductId;
370
371 Aws::String m_brand;
372
373 Aws::String m_classification;
374
375 Aws::String m_connectorDeviceId;
376
377 Aws::String m_connectorDestinationId;
378
379 Aws::String m_model;
380
381 Aws::String m_name;
382
383 Aws::String m_owner;
384
385 Aws::String m_credentialLockerId;
386
387 Aws::String m_parentControllerId;
388
390
391 Role m_role{Role::NOT_SET};
392
393 Aws::String m_serialNumber;
394
395 Aws::Utils::DateTime m_createdAt{};
396
397 Aws::Utils::DateTime m_updatedAt{};
398
399 Aws::Utils::DateTime m_activatedAt{};
400 bool m_idHasBeenSet = false;
401 bool m_arnHasBeenSet = false;
402 bool m_advertisedProductIdHasBeenSet = false;
403 bool m_brandHasBeenSet = false;
404 bool m_classificationHasBeenSet = false;
405 bool m_connectorDeviceIdHasBeenSet = false;
406 bool m_connectorDestinationIdHasBeenSet = false;
407 bool m_modelHasBeenSet = false;
408 bool m_nameHasBeenSet = false;
409 bool m_ownerHasBeenSet = false;
410 bool m_credentialLockerIdHasBeenSet = false;
411 bool m_parentControllerIdHasBeenSet = false;
412 bool m_provisioningStatusHasBeenSet = false;
413 bool m_roleHasBeenSet = false;
414 bool m_serialNumberHasBeenSet = false;
415 bool m_createdAtHasBeenSet = false;
416 bool m_updatedAtHasBeenSet = false;
417 bool m_activatedAtHasBeenSet = false;
418};
419
420} // namespace Model
421} // namespace IoTManagedIntegrations
422} // namespace Aws
ManagedThingSummary & WithClassification(ClassificationT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTMANAGEDINTEGRATIONS_API ManagedThingSummary(Aws::Utils::Json::JsonView jsonValue)
ManagedThingSummary & WithParentControllerId(ParentControllerIdT &&value)
void SetConnectorDestinationId(ConnectorDestinationIdT &&value)
ManagedThingSummary & WithActivatedAt(ActivatedAtT &&value)
ManagedThingSummary & WithConnectorDestinationId(ConnectorDestinationIdT &&value)
ManagedThingSummary & WithConnectorDeviceId(ConnectorDeviceIdT &&value)
ManagedThingSummary & WithAdvertisedProductId(AdvertisedProductIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API ManagedThingSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedThingSummary & WithSerialNumber(SerialNumberT &&value)
ManagedThingSummary & WithProvisioningStatus(ProvisioningStatus value)
AWS_IOTMANAGEDINTEGRATIONS_API ManagedThingSummary()=default
ManagedThingSummary & WithCredentialLockerId(CredentialLockerIdT &&value)
ManagedThingSummary & WithCreatedAt(CreatedAtT &&value)
ManagedThingSummary & WithUpdatedAt(UpdatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue