aws-sdk-iotmanagedintegrations 1.43.0

AWS SDK for Managed integrations for AWS IoT Device Management
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq)]
pub struct GetManagedThingOutput {
    /// <p>The id of the managed thing.</p>
    pub id: ::std::option::Option<::std::string::String>,
    /// <p>The Amazon Resource Name (ARN) of the managed thing.</p>
    pub arn: ::std::option::Option<::std::string::String>,
    /// <p>Owner of the device, usually an indication of whom the device belongs to. This value should not contain personal identifiable information.</p>
    pub owner: ::std::option::Option<::std::string::String>,
    /// <p>The identifier of the credential locker for the managed thing.</p>
    pub credential_locker_id: ::std::option::Option<::std::string::String>,
    /// <p>The id of the advertised product.</p>
    pub advertised_product_id: ::std::option::Option<::std::string::String>,
    /// <p>The type of device used. This will be the Amazon Web Services hub controller, cloud device, or IoT device.</p>
    pub role: ::std::option::Option<crate::types::Role>,
    /// <p>The provisioning status of the device in the provisioning workflow for onboarding to IoT managed integrations. For more information, see <a href="https://docs.aws.amazon.com/iot-mi/latest/devguide/device-provisioning.html">Device Provisioning</a>.</p>
    pub provisioning_status: ::std::option::Option<crate::types::ProvisioningStatus>,
    /// <p>The name of the managed thing representing the physical device.</p>
    pub name: ::std::option::Option<::std::string::String>,
    /// <p>The model of the device.</p>
    pub model: ::std::option::Option<::std::string::String>,
    /// <p>The brand of the device.</p>
    pub brand: ::std::option::Option<::std::string::String>,
    /// <p>The serial number of the device.</p>
    pub serial_number: ::std::option::Option<::std::string::String>,
    /// <p>The universal product code (UPC) of the device model. The UPC is typically used in the United States of America and Canada.</p>
    pub universal_product_code: ::std::option::Option<::std::string::String>,
    /// <p>The unique 13 digit number that identifies the managed thing.</p>
    pub international_article_number: ::std::option::Option<::std::string::String>,
    /// <p>The id of the connector policy.</p><note>
    /// <p>This parameter is used for cloud-to-cloud devices only.</p>
    /// </note>
    #[deprecated(note = "ConnectorPolicyId is deprecated", since = "2025-06-25")]
    pub connector_policy_id: ::std::option::Option<::std::string::String>,
    /// <p>The identifier of the connector destination associated with this managed thing.</p>
    pub connector_destination_id: ::std::option::Option<::std::string::String>,
    /// <p>The third-party device id as defined by the connector. This device id must not contain personal identifiable information (PII).</p><note>
    /// <p>This parameter is used for cloud-to-cloud devices only.</p>
    /// </note>
    pub connector_device_id: ::std::option::Option<::std::string::String>,
    /// <p>A Zwave device-specific key used during device activation.</p><note>
    /// <p>This parameter is used for Zwave devices only.</p>
    /// </note>
    pub device_specific_key: ::std::option::Option<::std::string::String>,
    /// <p>The media access control (MAC) address for the device represented by the managed thing.</p><note>
    /// <p>This parameter is used for Zigbee devices only.</p>
    /// </note>
    pub mac_address: ::std::option::Option<::std::string::String>,
    /// <p>Id of the controller device used for the discovery job.</p>
    pub parent_controller_id: ::std::option::Option<::std::string::String>,
    /// <p>The classification of the managed thing such as light bulb or thermostat.</p>
    pub classification: ::std::option::Option<::std::string::String>,
    /// <p>The timestamp value of when the device creation request occurred.</p>
    pub created_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The timestamp value of when the managed thing was last updated at.</p>
    pub updated_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The timestampe value of when the device was activated.</p>
    pub activated_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>The network mode for the hub-connected device.</p>
    pub hub_network_mode: ::std::option::Option<crate::types::HubNetworkMode>,
    /// <p>The metadata for the managed thing.</p>
    pub meta_data: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    /// <p>A set of key/value pairs that are used to manage the managed thing.</p>
    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    /// <p>The Wi-Fi Simple Setup configuration for the managed thing, which defines provisioning capabilities and timeout settings.</p>
    pub wi_fi_simple_setup_configuration: ::std::option::Option<crate::types::WiFiSimpleSetupConfiguration>,
    _request_id: Option<String>,
}
impl GetManagedThingOutput {
    /// <p>The id of the managed thing.</p>
    pub fn id(&self) -> ::std::option::Option<&str> {
        self.id.as_deref()
    }
    /// <p>The Amazon Resource Name (ARN) of the managed thing.</p>
    pub fn arn(&self) -> ::std::option::Option<&str> {
        self.arn.as_deref()
    }
    /// <p>Owner of the device, usually an indication of whom the device belongs to. This value should not contain personal identifiable information.</p>
    pub fn owner(&self) -> ::std::option::Option<&str> {
        self.owner.as_deref()
    }
    /// <p>The identifier of the credential locker for the managed thing.</p>
    pub fn credential_locker_id(&self) -> ::std::option::Option<&str> {
        self.credential_locker_id.as_deref()
    }
    /// <p>The id of the advertised product.</p>
    pub fn advertised_product_id(&self) -> ::std::option::Option<&str> {
        self.advertised_product_id.as_deref()
    }
    /// <p>The type of device used. This will be the Amazon Web Services hub controller, cloud device, or IoT device.</p>
    pub fn role(&self) -> ::std::option::Option<&crate::types::Role> {
        self.role.as_ref()
    }
    /// <p>The provisioning status of the device in the provisioning workflow for onboarding to IoT managed integrations. For more information, see <a href="https://docs.aws.amazon.com/iot-mi/latest/devguide/device-provisioning.html">Device Provisioning</a>.</p>
    pub fn provisioning_status(&self) -> ::std::option::Option<&crate::types::ProvisioningStatus> {
        self.provisioning_status.as_ref()
    }
    /// <p>The name of the managed thing representing the physical device.</p>
    pub fn name(&self) -> ::std::option::Option<&str> {
        self.name.as_deref()
    }
    /// <p>The model of the device.</p>
    pub fn model(&self) -> ::std::option::Option<&str> {
        self.model.as_deref()
    }
    /// <p>The brand of the device.</p>
    pub fn brand(&self) -> ::std::option::Option<&str> {
        self.brand.as_deref()
    }
    /// <p>The serial number of the device.</p>
    pub fn serial_number(&self) -> ::std::option::Option<&str> {
        self.serial_number.as_deref()
    }
    /// <p>The universal product code (UPC) of the device model. The UPC is typically used in the United States of America and Canada.</p>
    pub fn universal_product_code(&self) -> ::std::option::Option<&str> {
        self.universal_product_code.as_deref()
    }
    /// <p>The unique 13 digit number that identifies the managed thing.</p>
    pub fn international_article_number(&self) -> ::std::option::Option<&str> {
        self.international_article_number.as_deref()
    }
    /// <p>The id of the connector policy.</p><note>
    /// <p>This parameter is used for cloud-to-cloud devices only.</p>
    /// </note>
    #[deprecated(note = "ConnectorPolicyId is deprecated", since = "2025-06-25")]
    pub fn connector_policy_id(&self) -> ::std::option::Option<&str> {
        self.connector_policy_id.as_deref()
    }
    /// <p>The identifier of the connector destination associated with this managed thing.</p>
    pub fn connector_destination_id(&self) -> ::std::option::Option<&str> {
        self.connector_destination_id.as_deref()
    }
    /// <p>The third-party device id as defined by the connector. This device id must not contain personal identifiable information (PII).</p><note>
    /// <p>This parameter is used for cloud-to-cloud devices only.</p>
    /// </note>
    pub fn connector_device_id(&self) -> ::std::option::Option<&str> {
        self.connector_device_id.as_deref()
    }
    /// <p>A Zwave device-specific key used during device activation.</p><note>
    /// <p>This parameter is used for Zwave devices only.</p>
    /// </note>
    pub fn device_specific_key(&self) -> ::std::option::Option<&str> {
        self.device_specific_key.as_deref()
    }
    /// <p>The media access control (MAC) address for the device represented by the managed thing.</p><note>
    /// <p>This parameter is used for Zigbee devices only.</p>
    /// </note>
    pub fn mac_address(&self) -> ::std::option::Option<&str> {
        self.mac_address.as_deref()
    }
    /// <p>Id of the controller device used for the discovery job.</p>
    pub fn parent_controller_id(&self) -> ::std::option::Option<&str> {
        self.parent_controller_id.as_deref()
    }
    /// <p>The classification of the managed thing such as light bulb or thermostat.</p>
    pub fn classification(&self) -> ::std::option::Option<&str> {
        self.classification.as_deref()
    }
    /// <p>The timestamp value of when the device creation request occurred.</p>
    pub fn created_at(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.created_at.as_ref()
    }
    /// <p>The timestamp value of when the managed thing was last updated at.</p>
    pub fn updated_at(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.updated_at.as_ref()
    }
    /// <p>The timestampe value of when the device was activated.</p>
    pub fn activated_at(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.activated_at.as_ref()
    }
    /// <p>The network mode for the hub-connected device.</p>
    pub fn hub_network_mode(&self) -> ::std::option::Option<&crate::types::HubNetworkMode> {
        self.hub_network_mode.as_ref()
    }
    /// <p>The metadata for the managed thing.</p>
    pub fn meta_data(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        self.meta_data.as_ref()
    }
    /// <p>A set of key/value pairs that are used to manage the managed thing.</p>
    pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        self.tags.as_ref()
    }
    /// <p>The Wi-Fi Simple Setup configuration for the managed thing, which defines provisioning capabilities and timeout settings.</p>
    pub fn wi_fi_simple_setup_configuration(&self) -> ::std::option::Option<&crate::types::WiFiSimpleSetupConfiguration> {
        self.wi_fi_simple_setup_configuration.as_ref()
    }
}
impl ::std::fmt::Debug for GetManagedThingOutput {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        let mut formatter = f.debug_struct("GetManagedThingOutput");
        formatter.field("id", &self.id);
        formatter.field("arn", &self.arn);
        formatter.field("owner", &"*** Sensitive Data Redacted ***");
        formatter.field("credential_locker_id", &self.credential_locker_id);
        formatter.field("advertised_product_id", &self.advertised_product_id);
        formatter.field("role", &self.role);
        formatter.field("provisioning_status", &self.provisioning_status);
        formatter.field("name", &self.name);
        formatter.field("model", &"*** Sensitive Data Redacted ***");
        formatter.field("brand", &"*** Sensitive Data Redacted ***");
        formatter.field("serial_number", &"*** Sensitive Data Redacted ***");
        formatter.field("universal_product_code", &"*** Sensitive Data Redacted ***");
        formatter.field("international_article_number", &"*** Sensitive Data Redacted ***");
        formatter.field("connector_policy_id", &self.connector_policy_id);
        formatter.field("connector_destination_id", &self.connector_destination_id);
        formatter.field("connector_device_id", &"*** Sensitive Data Redacted ***");
        formatter.field("device_specific_key", &"*** Sensitive Data Redacted ***");
        formatter.field("mac_address", &"*** Sensitive Data Redacted ***");
        formatter.field("parent_controller_id", &self.parent_controller_id);
        formatter.field("classification", &"*** Sensitive Data Redacted ***");
        formatter.field("created_at", &self.created_at);
        formatter.field("updated_at", &self.updated_at);
        formatter.field("activated_at", &self.activated_at);
        formatter.field("hub_network_mode", &self.hub_network_mode);
        formatter.field("meta_data", &self.meta_data);
        formatter.field("tags", &"*** Sensitive Data Redacted ***");
        formatter.field("wi_fi_simple_setup_configuration", &self.wi_fi_simple_setup_configuration);
        formatter.field("_request_id", &self._request_id);
        formatter.finish()
    }
}
impl ::aws_types::request_id::RequestId for GetManagedThingOutput {
    fn request_id(&self) -> Option<&str> {
        self._request_id.as_deref()
    }
}
impl GetManagedThingOutput {
    /// Creates a new builder-style object to manufacture [`GetManagedThingOutput`](crate::operation::get_managed_thing::GetManagedThingOutput).
    pub fn builder() -> crate::operation::get_managed_thing::builders::GetManagedThingOutputBuilder {
        crate::operation::get_managed_thing::builders::GetManagedThingOutputBuilder::default()
    }
}

/// A builder for [`GetManagedThingOutput`](crate::operation::get_managed_thing::GetManagedThingOutput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default)]
#[non_exhaustive]
pub struct GetManagedThingOutputBuilder {
    pub(crate) id: ::std::option::Option<::std::string::String>,
    pub(crate) arn: ::std::option::Option<::std::string::String>,
    pub(crate) owner: ::std::option::Option<::std::string::String>,
    pub(crate) credential_locker_id: ::std::option::Option<::std::string::String>,
    pub(crate) advertised_product_id: ::std::option::Option<::std::string::String>,
    pub(crate) role: ::std::option::Option<crate::types::Role>,
    pub(crate) provisioning_status: ::std::option::Option<crate::types::ProvisioningStatus>,
    pub(crate) name: ::std::option::Option<::std::string::String>,
    pub(crate) model: ::std::option::Option<::std::string::String>,
    pub(crate) brand: ::std::option::Option<::std::string::String>,
    pub(crate) serial_number: ::std::option::Option<::std::string::String>,
    pub(crate) universal_product_code: ::std::option::Option<::std::string::String>,
    pub(crate) international_article_number: ::std::option::Option<::std::string::String>,
    pub(crate) connector_policy_id: ::std::option::Option<::std::string::String>,
    pub(crate) connector_destination_id: ::std::option::Option<::std::string::String>,
    pub(crate) connector_device_id: ::std::option::Option<::std::string::String>,
    pub(crate) device_specific_key: ::std::option::Option<::std::string::String>,
    pub(crate) mac_address: ::std::option::Option<::std::string::String>,
    pub(crate) parent_controller_id: ::std::option::Option<::std::string::String>,
    pub(crate) classification: ::std::option::Option<::std::string::String>,
    pub(crate) created_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) updated_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) activated_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) hub_network_mode: ::std::option::Option<crate::types::HubNetworkMode>,
    pub(crate) meta_data: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    pub(crate) wi_fi_simple_setup_configuration: ::std::option::Option<crate::types::WiFiSimpleSetupConfiguration>,
    _request_id: Option<String>,
}
impl GetManagedThingOutputBuilder {
    /// <p>The id of the managed thing.</p>
    pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The id of the managed thing.</p>
    pub fn set_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.id = input;
        self
    }
    /// <p>The id of the managed thing.</p>
    pub fn get_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.id
    }
    /// <p>The Amazon Resource Name (ARN) of the managed thing.</p>
    pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the managed thing.</p>
    pub fn set_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.arn = input;
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the managed thing.</p>
    pub fn get_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.arn
    }
    /// <p>Owner of the device, usually an indication of whom the device belongs to. This value should not contain personal identifiable information.</p>
    pub fn owner(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.owner = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>Owner of the device, usually an indication of whom the device belongs to. This value should not contain personal identifiable information.</p>
    pub fn set_owner(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.owner = input;
        self
    }
    /// <p>Owner of the device, usually an indication of whom the device belongs to. This value should not contain personal identifiable information.</p>
    pub fn get_owner(&self) -> &::std::option::Option<::std::string::String> {
        &self.owner
    }
    /// <p>The identifier of the credential locker for the managed thing.</p>
    pub fn credential_locker_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.credential_locker_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The identifier of the credential locker for the managed thing.</p>
    pub fn set_credential_locker_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.credential_locker_id = input;
        self
    }
    /// <p>The identifier of the credential locker for the managed thing.</p>
    pub fn get_credential_locker_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.credential_locker_id
    }
    /// <p>The id of the advertised product.</p>
    pub fn advertised_product_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.advertised_product_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The id of the advertised product.</p>
    pub fn set_advertised_product_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.advertised_product_id = input;
        self
    }
    /// <p>The id of the advertised product.</p>
    pub fn get_advertised_product_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.advertised_product_id
    }
    /// <p>The type of device used. This will be the Amazon Web Services hub controller, cloud device, or IoT device.</p>
    pub fn role(mut self, input: crate::types::Role) -> Self {
        self.role = ::std::option::Option::Some(input);
        self
    }
    /// <p>The type of device used. This will be the Amazon Web Services hub controller, cloud device, or IoT device.</p>
    pub fn set_role(mut self, input: ::std::option::Option<crate::types::Role>) -> Self {
        self.role = input;
        self
    }
    /// <p>The type of device used. This will be the Amazon Web Services hub controller, cloud device, or IoT device.</p>
    pub fn get_role(&self) -> &::std::option::Option<crate::types::Role> {
        &self.role
    }
    /// <p>The provisioning status of the device in the provisioning workflow for onboarding to IoT managed integrations. For more information, see <a href="https://docs.aws.amazon.com/iot-mi/latest/devguide/device-provisioning.html">Device Provisioning</a>.</p>
    pub fn provisioning_status(mut self, input: crate::types::ProvisioningStatus) -> Self {
        self.provisioning_status = ::std::option::Option::Some(input);
        self
    }
    /// <p>The provisioning status of the device in the provisioning workflow for onboarding to IoT managed integrations. For more information, see <a href="https://docs.aws.amazon.com/iot-mi/latest/devguide/device-provisioning.html">Device Provisioning</a>.</p>
    pub fn set_provisioning_status(mut self, input: ::std::option::Option<crate::types::ProvisioningStatus>) -> Self {
        self.provisioning_status = input;
        self
    }
    /// <p>The provisioning status of the device in the provisioning workflow for onboarding to IoT managed integrations. For more information, see <a href="https://docs.aws.amazon.com/iot-mi/latest/devguide/device-provisioning.html">Device Provisioning</a>.</p>
    pub fn get_provisioning_status(&self) -> &::std::option::Option<crate::types::ProvisioningStatus> {
        &self.provisioning_status
    }
    /// <p>The name of the managed thing representing the physical device.</p>
    pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The name of the managed thing representing the physical device.</p>
    pub fn set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.name = input;
        self
    }
    /// <p>The name of the managed thing representing the physical device.</p>
    pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.name
    }
    /// <p>The model of the device.</p>
    pub fn model(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.model = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The model of the device.</p>
    pub fn set_model(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.model = input;
        self
    }
    /// <p>The model of the device.</p>
    pub fn get_model(&self) -> &::std::option::Option<::std::string::String> {
        &self.model
    }
    /// <p>The brand of the device.</p>
    pub fn brand(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.brand = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The brand of the device.</p>
    pub fn set_brand(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.brand = input;
        self
    }
    /// <p>The brand of the device.</p>
    pub fn get_brand(&self) -> &::std::option::Option<::std::string::String> {
        &self.brand
    }
    /// <p>The serial number of the device.</p>
    pub fn serial_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.serial_number = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The serial number of the device.</p>
    pub fn set_serial_number(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.serial_number = input;
        self
    }
    /// <p>The serial number of the device.</p>
    pub fn get_serial_number(&self) -> &::std::option::Option<::std::string::String> {
        &self.serial_number
    }
    /// <p>The universal product code (UPC) of the device model. The UPC is typically used in the United States of America and Canada.</p>
    pub fn universal_product_code(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.universal_product_code = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The universal product code (UPC) of the device model. The UPC is typically used in the United States of America and Canada.</p>
    pub fn set_universal_product_code(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.universal_product_code = input;
        self
    }
    /// <p>The universal product code (UPC) of the device model. The UPC is typically used in the United States of America and Canada.</p>
    pub fn get_universal_product_code(&self) -> &::std::option::Option<::std::string::String> {
        &self.universal_product_code
    }
    /// <p>The unique 13 digit number that identifies the managed thing.</p>
    pub fn international_article_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.international_article_number = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The unique 13 digit number that identifies the managed thing.</p>
    pub fn set_international_article_number(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.international_article_number = input;
        self
    }
    /// <p>The unique 13 digit number that identifies the managed thing.</p>
    pub fn get_international_article_number(&self) -> &::std::option::Option<::std::string::String> {
        &self.international_article_number
    }
    /// <p>The id of the connector policy.</p><note>
    /// <p>This parameter is used for cloud-to-cloud devices only.</p>
    /// </note>
    #[deprecated(note = "ConnectorPolicyId is deprecated", since = "2025-06-25")]
    pub fn connector_policy_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.connector_policy_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The id of the connector policy.</p><note>
    /// <p>This parameter is used for cloud-to-cloud devices only.</p>
    /// </note>
    #[deprecated(note = "ConnectorPolicyId is deprecated", since = "2025-06-25")]
    pub fn set_connector_policy_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.connector_policy_id = input;
        self
    }
    /// <p>The id of the connector policy.</p><note>
    /// <p>This parameter is used for cloud-to-cloud devices only.</p>
    /// </note>
    #[deprecated(note = "ConnectorPolicyId is deprecated", since = "2025-06-25")]
    pub fn get_connector_policy_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.connector_policy_id
    }
    /// <p>The identifier of the connector destination associated with this managed thing.</p>
    pub fn connector_destination_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.connector_destination_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The identifier of the connector destination associated with this managed thing.</p>
    pub fn set_connector_destination_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.connector_destination_id = input;
        self
    }
    /// <p>The identifier of the connector destination associated with this managed thing.</p>
    pub fn get_connector_destination_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.connector_destination_id
    }
    /// <p>The third-party device id as defined by the connector. This device id must not contain personal identifiable information (PII).</p><note>
    /// <p>This parameter is used for cloud-to-cloud devices only.</p>
    /// </note>
    pub fn connector_device_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.connector_device_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The third-party device id as defined by the connector. This device id must not contain personal identifiable information (PII).</p><note>
    /// <p>This parameter is used for cloud-to-cloud devices only.</p>
    /// </note>
    pub fn set_connector_device_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.connector_device_id = input;
        self
    }
    /// <p>The third-party device id as defined by the connector. This device id must not contain personal identifiable information (PII).</p><note>
    /// <p>This parameter is used for cloud-to-cloud devices only.</p>
    /// </note>
    pub fn get_connector_device_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.connector_device_id
    }
    /// <p>A Zwave device-specific key used during device activation.</p><note>
    /// <p>This parameter is used for Zwave devices only.</p>
    /// </note>
    pub fn device_specific_key(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.device_specific_key = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>A Zwave device-specific key used during device activation.</p><note>
    /// <p>This parameter is used for Zwave devices only.</p>
    /// </note>
    pub fn set_device_specific_key(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.device_specific_key = input;
        self
    }
    /// <p>A Zwave device-specific key used during device activation.</p><note>
    /// <p>This parameter is used for Zwave devices only.</p>
    /// </note>
    pub fn get_device_specific_key(&self) -> &::std::option::Option<::std::string::String> {
        &self.device_specific_key
    }
    /// <p>The media access control (MAC) address for the device represented by the managed thing.</p><note>
    /// <p>This parameter is used for Zigbee devices only.</p>
    /// </note>
    pub fn mac_address(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.mac_address = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The media access control (MAC) address for the device represented by the managed thing.</p><note>
    /// <p>This parameter is used for Zigbee devices only.</p>
    /// </note>
    pub fn set_mac_address(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.mac_address = input;
        self
    }
    /// <p>The media access control (MAC) address for the device represented by the managed thing.</p><note>
    /// <p>This parameter is used for Zigbee devices only.</p>
    /// </note>
    pub fn get_mac_address(&self) -> &::std::option::Option<::std::string::String> {
        &self.mac_address
    }
    /// <p>Id of the controller device used for the discovery job.</p>
    pub fn parent_controller_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.parent_controller_id = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>Id of the controller device used for the discovery job.</p>
    pub fn set_parent_controller_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.parent_controller_id = input;
        self
    }
    /// <p>Id of the controller device used for the discovery job.</p>
    pub fn get_parent_controller_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.parent_controller_id
    }
    /// <p>The classification of the managed thing such as light bulb or thermostat.</p>
    pub fn classification(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.classification = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The classification of the managed thing such as light bulb or thermostat.</p>
    pub fn set_classification(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.classification = input;
        self
    }
    /// <p>The classification of the managed thing such as light bulb or thermostat.</p>
    pub fn get_classification(&self) -> &::std::option::Option<::std::string::String> {
        &self.classification
    }
    /// <p>The timestamp value of when the device creation request occurred.</p>
    pub fn created_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.created_at = ::std::option::Option::Some(input);
        self
    }
    /// <p>The timestamp value of when the device creation request occurred.</p>
    pub fn set_created_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.created_at = input;
        self
    }
    /// <p>The timestamp value of when the device creation request occurred.</p>
    pub fn get_created_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.created_at
    }
    /// <p>The timestamp value of when the managed thing was last updated at.</p>
    pub fn updated_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.updated_at = ::std::option::Option::Some(input);
        self
    }
    /// <p>The timestamp value of when the managed thing was last updated at.</p>
    pub fn set_updated_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.updated_at = input;
        self
    }
    /// <p>The timestamp value of when the managed thing was last updated at.</p>
    pub fn get_updated_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.updated_at
    }
    /// <p>The timestampe value of when the device was activated.</p>
    pub fn activated_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.activated_at = ::std::option::Option::Some(input);
        self
    }
    /// <p>The timestampe value of when the device was activated.</p>
    pub fn set_activated_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.activated_at = input;
        self
    }
    /// <p>The timestampe value of when the device was activated.</p>
    pub fn get_activated_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.activated_at
    }
    /// <p>The network mode for the hub-connected device.</p>
    pub fn hub_network_mode(mut self, input: crate::types::HubNetworkMode) -> Self {
        self.hub_network_mode = ::std::option::Option::Some(input);
        self
    }
    /// <p>The network mode for the hub-connected device.</p>
    pub fn set_hub_network_mode(mut self, input: ::std::option::Option<crate::types::HubNetworkMode>) -> Self {
        self.hub_network_mode = input;
        self
    }
    /// <p>The network mode for the hub-connected device.</p>
    pub fn get_hub_network_mode(&self) -> &::std::option::Option<crate::types::HubNetworkMode> {
        &self.hub_network_mode
    }
    /// Adds a key-value pair to `meta_data`.
    ///
    /// To override the contents of this collection use [`set_meta_data`](Self::set_meta_data).
    ///
    /// <p>The metadata for the managed thing.</p>
    pub fn meta_data(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut hash_map = self.meta_data.unwrap_or_default();
        hash_map.insert(k.into(), v.into());
        self.meta_data = ::std::option::Option::Some(hash_map);
        self
    }
    /// <p>The metadata for the managed thing.</p>
    pub fn set_meta_data(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
        self.meta_data = input;
        self
    }
    /// <p>The metadata for the managed thing.</p>
    pub fn get_meta_data(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        &self.meta_data
    }
    /// Adds a key-value pair to `tags`.
    ///
    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
    ///
    /// <p>A set of key/value pairs that are used to manage the managed thing.</p>
    pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut hash_map = self.tags.unwrap_or_default();
        hash_map.insert(k.into(), v.into());
        self.tags = ::std::option::Option::Some(hash_map);
        self
    }
    /// <p>A set of key/value pairs that are used to manage the managed thing.</p>
    pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
        self.tags = input;
        self
    }
    /// <p>A set of key/value pairs that are used to manage the managed thing.</p>
    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        &self.tags
    }
    /// <p>The Wi-Fi Simple Setup configuration for the managed thing, which defines provisioning capabilities and timeout settings.</p>
    pub fn wi_fi_simple_setup_configuration(mut self, input: crate::types::WiFiSimpleSetupConfiguration) -> Self {
        self.wi_fi_simple_setup_configuration = ::std::option::Option::Some(input);
        self
    }
    /// <p>The Wi-Fi Simple Setup configuration for the managed thing, which defines provisioning capabilities and timeout settings.</p>
    pub fn set_wi_fi_simple_setup_configuration(mut self, input: ::std::option::Option<crate::types::WiFiSimpleSetupConfiguration>) -> Self {
        self.wi_fi_simple_setup_configuration = input;
        self
    }
    /// <p>The Wi-Fi Simple Setup configuration for the managed thing, which defines provisioning capabilities and timeout settings.</p>
    pub fn get_wi_fi_simple_setup_configuration(&self) -> &::std::option::Option<crate::types::WiFiSimpleSetupConfiguration> {
        &self.wi_fi_simple_setup_configuration
    }
    pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
        self._request_id = Some(request_id.into());
        self
    }

    pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
        self._request_id = request_id;
        self
    }
    /// Consumes the builder and constructs a [`GetManagedThingOutput`](crate::operation::get_managed_thing::GetManagedThingOutput).
    pub fn build(self) -> crate::operation::get_managed_thing::GetManagedThingOutput {
        crate::operation::get_managed_thing::GetManagedThingOutput {
            id: self.id,
            arn: self.arn,
            owner: self.owner,
            credential_locker_id: self.credential_locker_id,
            advertised_product_id: self.advertised_product_id,
            role: self.role,
            provisioning_status: self.provisioning_status,
            name: self.name,
            model: self.model,
            brand: self.brand,
            serial_number: self.serial_number,
            universal_product_code: self.universal_product_code,
            international_article_number: self.international_article_number,
            connector_policy_id: self.connector_policy_id,
            connector_destination_id: self.connector_destination_id,
            connector_device_id: self.connector_device_id,
            device_specific_key: self.device_specific_key,
            mac_address: self.mac_address,
            parent_controller_id: self.parent_controller_id,
            classification: self.classification,
            created_at: self.created_at,
            updated_at: self.updated_at,
            activated_at: self.activated_at,
            hub_network_mode: self.hub_network_mode,
            meta_data: self.meta_data,
            tags: self.tags,
            wi_fi_simple_setup_configuration: self.wi_fi_simple_setup_configuration,
            _request_id: self._request_id,
        }
    }
}
impl ::std::fmt::Debug for GetManagedThingOutputBuilder {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        let mut formatter = f.debug_struct("GetManagedThingOutputBuilder");
        formatter.field("id", &self.id);
        formatter.field("arn", &self.arn);
        formatter.field("owner", &"*** Sensitive Data Redacted ***");
        formatter.field("credential_locker_id", &self.credential_locker_id);
        formatter.field("advertised_product_id", &self.advertised_product_id);
        formatter.field("role", &self.role);
        formatter.field("provisioning_status", &self.provisioning_status);
        formatter.field("name", &self.name);
        formatter.field("model", &"*** Sensitive Data Redacted ***");
        formatter.field("brand", &"*** Sensitive Data Redacted ***");
        formatter.field("serial_number", &"*** Sensitive Data Redacted ***");
        formatter.field("universal_product_code", &"*** Sensitive Data Redacted ***");
        formatter.field("international_article_number", &"*** Sensitive Data Redacted ***");
        formatter.field("connector_policy_id", &self.connector_policy_id);
        formatter.field("connector_destination_id", &self.connector_destination_id);
        formatter.field("connector_device_id", &"*** Sensitive Data Redacted ***");
        formatter.field("device_specific_key", &"*** Sensitive Data Redacted ***");
        formatter.field("mac_address", &"*** Sensitive Data Redacted ***");
        formatter.field("parent_controller_id", &self.parent_controller_id);
        formatter.field("classification", &"*** Sensitive Data Redacted ***");
        formatter.field("created_at", &self.created_at);
        formatter.field("updated_at", &self.updated_at);
        formatter.field("activated_at", &self.activated_at);
        formatter.field("hub_network_mode", &self.hub_network_mode);
        formatter.field("meta_data", &self.meta_data);
        formatter.field("tags", &"*** Sensitive Data Redacted ***");
        formatter.field("wi_fi_simple_setup_configuration", &self.wi_fi_simple_setup_configuration);
        formatter.field("_request_id", &self._request_id);
        formatter.finish()
    }
}