-
Notifications
You must be signed in to change notification settings - Fork 249
/
output.rs
2171 lines (2139 loc) · 99.9 KB
/
output.rs
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
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// 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 UpdateIdentityProviderConfigurationOutput {}
impl std::fmt::Debug for UpdateIdentityProviderConfigurationOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("UpdateIdentityProviderConfigurationOutput");
formatter.finish()
}
}
/// See [`UpdateIdentityProviderConfigurationOutput`](crate::output::UpdateIdentityProviderConfigurationOutput)
pub mod update_identity_provider_configuration_output {
/// A builder for [`UpdateIdentityProviderConfigurationOutput`](crate::output::UpdateIdentityProviderConfigurationOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`UpdateIdentityProviderConfigurationOutput`](crate::output::UpdateIdentityProviderConfigurationOutput)
pub fn build(self) -> crate::output::UpdateIdentityProviderConfigurationOutput {
crate::output::UpdateIdentityProviderConfigurationOutput {}
}
}
}
impl UpdateIdentityProviderConfigurationOutput {
/// Creates a new builder-style object to manufacture [`UpdateIdentityProviderConfigurationOutput`](crate::output::UpdateIdentityProviderConfigurationOutput)
pub fn builder() -> crate::output::update_identity_provider_configuration_output::Builder {
crate::output::update_identity_provider_configuration_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct UpdateFleetMetadataOutput {}
impl std::fmt::Debug for UpdateFleetMetadataOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("UpdateFleetMetadataOutput");
formatter.finish()
}
}
/// See [`UpdateFleetMetadataOutput`](crate::output::UpdateFleetMetadataOutput)
pub mod update_fleet_metadata_output {
/// A builder for [`UpdateFleetMetadataOutput`](crate::output::UpdateFleetMetadataOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`UpdateFleetMetadataOutput`](crate::output::UpdateFleetMetadataOutput)
pub fn build(self) -> crate::output::UpdateFleetMetadataOutput {
crate::output::UpdateFleetMetadataOutput {}
}
}
}
impl UpdateFleetMetadataOutput {
/// Creates a new builder-style object to manufacture [`UpdateFleetMetadataOutput`](crate::output::UpdateFleetMetadataOutput)
pub fn builder() -> crate::output::update_fleet_metadata_output::Builder {
crate::output::update_fleet_metadata_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct UpdateDomainMetadataOutput {}
impl std::fmt::Debug for UpdateDomainMetadataOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("UpdateDomainMetadataOutput");
formatter.finish()
}
}
/// See [`UpdateDomainMetadataOutput`](crate::output::UpdateDomainMetadataOutput)
pub mod update_domain_metadata_output {
/// A builder for [`UpdateDomainMetadataOutput`](crate::output::UpdateDomainMetadataOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`UpdateDomainMetadataOutput`](crate::output::UpdateDomainMetadataOutput)
pub fn build(self) -> crate::output::UpdateDomainMetadataOutput {
crate::output::UpdateDomainMetadataOutput {}
}
}
}
impl UpdateDomainMetadataOutput {
/// Creates a new builder-style object to manufacture [`UpdateDomainMetadataOutput`](crate::output::UpdateDomainMetadataOutput)
pub fn builder() -> crate::output::update_domain_metadata_output::Builder {
crate::output::update_domain_metadata_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct UpdateDevicePolicyConfigurationOutput {}
impl std::fmt::Debug for UpdateDevicePolicyConfigurationOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("UpdateDevicePolicyConfigurationOutput");
formatter.finish()
}
}
/// See [`UpdateDevicePolicyConfigurationOutput`](crate::output::UpdateDevicePolicyConfigurationOutput)
pub mod update_device_policy_configuration_output {
/// A builder for [`UpdateDevicePolicyConfigurationOutput`](crate::output::UpdateDevicePolicyConfigurationOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`UpdateDevicePolicyConfigurationOutput`](crate::output::UpdateDevicePolicyConfigurationOutput)
pub fn build(self) -> crate::output::UpdateDevicePolicyConfigurationOutput {
crate::output::UpdateDevicePolicyConfigurationOutput {}
}
}
}
impl UpdateDevicePolicyConfigurationOutput {
/// Creates a new builder-style object to manufacture [`UpdateDevicePolicyConfigurationOutput`](crate::output::UpdateDevicePolicyConfigurationOutput)
pub fn builder() -> crate::output::update_device_policy_configuration_output::Builder {
crate::output::update_device_policy_configuration_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct UpdateCompanyNetworkConfigurationOutput {}
impl std::fmt::Debug for UpdateCompanyNetworkConfigurationOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("UpdateCompanyNetworkConfigurationOutput");
formatter.finish()
}
}
/// See [`UpdateCompanyNetworkConfigurationOutput`](crate::output::UpdateCompanyNetworkConfigurationOutput)
pub mod update_company_network_configuration_output {
/// A builder for [`UpdateCompanyNetworkConfigurationOutput`](crate::output::UpdateCompanyNetworkConfigurationOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`UpdateCompanyNetworkConfigurationOutput`](crate::output::UpdateCompanyNetworkConfigurationOutput)
pub fn build(self) -> crate::output::UpdateCompanyNetworkConfigurationOutput {
crate::output::UpdateCompanyNetworkConfigurationOutput {}
}
}
}
impl UpdateCompanyNetworkConfigurationOutput {
/// Creates a new builder-style object to manufacture [`UpdateCompanyNetworkConfigurationOutput`](crate::output::UpdateCompanyNetworkConfigurationOutput)
pub fn builder() -> crate::output::update_company_network_configuration_output::Builder {
crate::output::update_company_network_configuration_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct UpdateAuditStreamConfigurationOutput {}
impl std::fmt::Debug for UpdateAuditStreamConfigurationOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("UpdateAuditStreamConfigurationOutput");
formatter.finish()
}
}
/// See [`UpdateAuditStreamConfigurationOutput`](crate::output::UpdateAuditStreamConfigurationOutput)
pub mod update_audit_stream_configuration_output {
/// A builder for [`UpdateAuditStreamConfigurationOutput`](crate::output::UpdateAuditStreamConfigurationOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`UpdateAuditStreamConfigurationOutput`](crate::output::UpdateAuditStreamConfigurationOutput)
pub fn build(self) -> crate::output::UpdateAuditStreamConfigurationOutput {
crate::output::UpdateAuditStreamConfigurationOutput {}
}
}
}
impl UpdateAuditStreamConfigurationOutput {
/// Creates a new builder-style object to manufacture [`UpdateAuditStreamConfigurationOutput`](crate::output::UpdateAuditStreamConfigurationOutput)
pub fn builder() -> crate::output::update_audit_stream_configuration_output::Builder {
crate::output::update_audit_stream_configuration_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct UntagResourceOutput {}
impl std::fmt::Debug for UntagResourceOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("UntagResourceOutput");
formatter.finish()
}
}
/// See [`UntagResourceOutput`](crate::output::UntagResourceOutput)
pub mod untag_resource_output {
/// A builder for [`UntagResourceOutput`](crate::output::UntagResourceOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`UntagResourceOutput`](crate::output::UntagResourceOutput)
pub fn build(self) -> crate::output::UntagResourceOutput {
crate::output::UntagResourceOutput {}
}
}
}
impl UntagResourceOutput {
/// Creates a new builder-style object to manufacture [`UntagResourceOutput`](crate::output::UntagResourceOutput)
pub fn builder() -> crate::output::untag_resource_output::Builder {
crate::output::untag_resource_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct TagResourceOutput {}
impl std::fmt::Debug for TagResourceOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("TagResourceOutput");
formatter.finish()
}
}
/// See [`TagResourceOutput`](crate::output::TagResourceOutput)
pub mod tag_resource_output {
/// A builder for [`TagResourceOutput`](crate::output::TagResourceOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`TagResourceOutput`](crate::output::TagResourceOutput)
pub fn build(self) -> crate::output::TagResourceOutput {
crate::output::TagResourceOutput {}
}
}
}
impl TagResourceOutput {
/// Creates a new builder-style object to manufacture [`TagResourceOutput`](crate::output::TagResourceOutput)
pub fn builder() -> crate::output::tag_resource_output::Builder {
crate::output::tag_resource_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct SignOutUserOutput {}
impl std::fmt::Debug for SignOutUserOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("SignOutUserOutput");
formatter.finish()
}
}
/// See [`SignOutUserOutput`](crate::output::SignOutUserOutput)
pub mod sign_out_user_output {
/// A builder for [`SignOutUserOutput`](crate::output::SignOutUserOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`SignOutUserOutput`](crate::output::SignOutUserOutput)
pub fn build(self) -> crate::output::SignOutUserOutput {
crate::output::SignOutUserOutput {}
}
}
}
impl SignOutUserOutput {
/// Creates a new builder-style object to manufacture [`SignOutUserOutput`](crate::output::SignOutUserOutput)
pub fn builder() -> crate::output::sign_out_user_output::Builder {
crate::output::sign_out_user_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct RevokeDomainAccessOutput {}
impl std::fmt::Debug for RevokeDomainAccessOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("RevokeDomainAccessOutput");
formatter.finish()
}
}
/// See [`RevokeDomainAccessOutput`](crate::output::RevokeDomainAccessOutput)
pub mod revoke_domain_access_output {
/// A builder for [`RevokeDomainAccessOutput`](crate::output::RevokeDomainAccessOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`RevokeDomainAccessOutput`](crate::output::RevokeDomainAccessOutput)
pub fn build(self) -> crate::output::RevokeDomainAccessOutput {
crate::output::RevokeDomainAccessOutput {}
}
}
}
impl RevokeDomainAccessOutput {
/// Creates a new builder-style object to manufacture [`RevokeDomainAccessOutput`](crate::output::RevokeDomainAccessOutput)
pub fn builder() -> crate::output::revoke_domain_access_output::Builder {
crate::output::revoke_domain_access_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct RestoreDomainAccessOutput {}
impl std::fmt::Debug for RestoreDomainAccessOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("RestoreDomainAccessOutput");
formatter.finish()
}
}
/// See [`RestoreDomainAccessOutput`](crate::output::RestoreDomainAccessOutput)
pub mod restore_domain_access_output {
/// A builder for [`RestoreDomainAccessOutput`](crate::output::RestoreDomainAccessOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`RestoreDomainAccessOutput`](crate::output::RestoreDomainAccessOutput)
pub fn build(self) -> crate::output::RestoreDomainAccessOutput {
crate::output::RestoreDomainAccessOutput {}
}
}
}
impl RestoreDomainAccessOutput {
/// Creates a new builder-style object to manufacture [`RestoreDomainAccessOutput`](crate::output::RestoreDomainAccessOutput)
pub fn builder() -> crate::output::restore_domain_access_output::Builder {
crate::output::restore_domain_access_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListWebsiteCertificateAuthoritiesOutput {
/// <p>Information about the certificates.</p>
pub website_certificate_authorities:
std::option::Option<std::vec::Vec<crate::model::WebsiteCaSummary>>,
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl ListWebsiteCertificateAuthoritiesOutput {
/// <p>Information about the certificates.</p>
pub fn website_certificate_authorities(
&self,
) -> std::option::Option<&[crate::model::WebsiteCaSummary]> {
self.website_certificate_authorities.as_deref()
}
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
impl std::fmt::Debug for ListWebsiteCertificateAuthoritiesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListWebsiteCertificateAuthoritiesOutput");
formatter.field(
"website_certificate_authorities",
&self.website_certificate_authorities,
);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListWebsiteCertificateAuthoritiesOutput`](crate::output::ListWebsiteCertificateAuthoritiesOutput)
pub mod list_website_certificate_authorities_output {
/// A builder for [`ListWebsiteCertificateAuthoritiesOutput`](crate::output::ListWebsiteCertificateAuthoritiesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) website_certificate_authorities:
std::option::Option<std::vec::Vec<crate::model::WebsiteCaSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `website_certificate_authorities`.
///
/// To override the contents of this collection use [`set_website_certificate_authorities`](Self::set_website_certificate_authorities).
///
/// <p>Information about the certificates.</p>
pub fn website_certificate_authorities(
mut self,
input: crate::model::WebsiteCaSummary,
) -> Self {
let mut v = self.website_certificate_authorities.unwrap_or_default();
v.push(input);
self.website_certificate_authorities = Some(v);
self
}
/// <p>Information about the certificates.</p>
pub fn set_website_certificate_authorities(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::WebsiteCaSummary>>,
) -> Self {
self.website_certificate_authorities = input;
self
}
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListWebsiteCertificateAuthoritiesOutput`](crate::output::ListWebsiteCertificateAuthoritiesOutput)
pub fn build(self) -> crate::output::ListWebsiteCertificateAuthoritiesOutput {
crate::output::ListWebsiteCertificateAuthoritiesOutput {
website_certificate_authorities: self.website_certificate_authorities,
next_token: self.next_token,
}
}
}
}
impl ListWebsiteCertificateAuthoritiesOutput {
/// Creates a new builder-style object to manufacture [`ListWebsiteCertificateAuthoritiesOutput`](crate::output::ListWebsiteCertificateAuthoritiesOutput)
pub fn builder() -> crate::output::list_website_certificate_authorities_output::Builder {
crate::output::list_website_certificate_authorities_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListWebsiteAuthorizationProvidersOutput {
/// <p>The website authorization providers.</p>
pub website_authorization_providers:
std::option::Option<std::vec::Vec<crate::model::WebsiteAuthorizationProviderSummary>>,
/// <p>The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl ListWebsiteAuthorizationProvidersOutput {
/// <p>The website authorization providers.</p>
pub fn website_authorization_providers(
&self,
) -> std::option::Option<&[crate::model::WebsiteAuthorizationProviderSummary]> {
self.website_authorization_providers.as_deref()
}
/// <p>The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.</p>
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
impl std::fmt::Debug for ListWebsiteAuthorizationProvidersOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListWebsiteAuthorizationProvidersOutput");
formatter.field(
"website_authorization_providers",
&self.website_authorization_providers,
);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListWebsiteAuthorizationProvidersOutput`](crate::output::ListWebsiteAuthorizationProvidersOutput)
pub mod list_website_authorization_providers_output {
/// A builder for [`ListWebsiteAuthorizationProvidersOutput`](crate::output::ListWebsiteAuthorizationProvidersOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) website_authorization_providers:
std::option::Option<std::vec::Vec<crate::model::WebsiteAuthorizationProviderSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `website_authorization_providers`.
///
/// To override the contents of this collection use [`set_website_authorization_providers`](Self::set_website_authorization_providers).
///
/// <p>The website authorization providers.</p>
pub fn website_authorization_providers(
mut self,
input: crate::model::WebsiteAuthorizationProviderSummary,
) -> Self {
let mut v = self.website_authorization_providers.unwrap_or_default();
v.push(input);
self.website_authorization_providers = Some(v);
self
}
/// <p>The website authorization providers.</p>
pub fn set_website_authorization_providers(
mut self,
input: std::option::Option<
std::vec::Vec<crate::model::WebsiteAuthorizationProviderSummary>,
>,
) -> Self {
self.website_authorization_providers = input;
self
}
/// <p>The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListWebsiteAuthorizationProvidersOutput`](crate::output::ListWebsiteAuthorizationProvidersOutput)
pub fn build(self) -> crate::output::ListWebsiteAuthorizationProvidersOutput {
crate::output::ListWebsiteAuthorizationProvidersOutput {
website_authorization_providers: self.website_authorization_providers,
next_token: self.next_token,
}
}
}
}
impl ListWebsiteAuthorizationProvidersOutput {
/// Creates a new builder-style object to manufacture [`ListWebsiteAuthorizationProvidersOutput`](crate::output::ListWebsiteAuthorizationProvidersOutput)
pub fn builder() -> crate::output::list_website_authorization_providers_output::Builder {
crate::output::list_website_authorization_providers_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListTagsForResourceOutput {
/// <p>The tags attached to the resource. A tag is a key-value pair.</p>
pub tags:
std::option::Option<std::collections::HashMap<std::string::String, std::string::String>>,
}
impl ListTagsForResourceOutput {
/// <p>The tags attached to the resource. A tag is a key-value pair.</p>
pub fn tags(
&self,
) -> std::option::Option<&std::collections::HashMap<std::string::String, std::string::String>>
{
self.tags.as_ref()
}
}
impl std::fmt::Debug for ListTagsForResourceOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListTagsForResourceOutput");
formatter.field("tags", &self.tags);
formatter.finish()
}
}
/// See [`ListTagsForResourceOutput`](crate::output::ListTagsForResourceOutput)
pub mod list_tags_for_resource_output {
/// A builder for [`ListTagsForResourceOutput`](crate::output::ListTagsForResourceOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) tags: std::option::Option<
std::collections::HashMap<std::string::String, std::string::String>,
>,
}
impl Builder {
/// Adds a key-value pair to `tags`.
///
/// To override the contents of this collection use [`set_tags`](Self::set_tags).
///
/// <p>The tags attached to the resource. A tag is a key-value pair.</p>
pub fn tags(
mut self,
k: impl Into<std::string::String>,
v: impl Into<std::string::String>,
) -> Self {
let mut hash_map = self.tags.unwrap_or_default();
hash_map.insert(k.into(), v.into());
self.tags = Some(hash_map);
self
}
/// <p>The tags attached to the resource. A tag is a key-value pair.</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
}
/// Consumes the builder and constructs a [`ListTagsForResourceOutput`](crate::output::ListTagsForResourceOutput)
pub fn build(self) -> crate::output::ListTagsForResourceOutput {
crate::output::ListTagsForResourceOutput { tags: self.tags }
}
}
}
impl ListTagsForResourceOutput {
/// Creates a new builder-style object to manufacture [`ListTagsForResourceOutput`](crate::output::ListTagsForResourceOutput)
pub fn builder() -> crate::output::list_tags_for_resource_output::Builder {
crate::output::list_tags_for_resource_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListFleetsOutput {
/// <p>The summary list of the fleets.</p>
pub fleet_summary_list: std::option::Option<std::vec::Vec<crate::model::FleetSummary>>,
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl ListFleetsOutput {
/// <p>The summary list of the fleets.</p>
pub fn fleet_summary_list(&self) -> std::option::Option<&[crate::model::FleetSummary]> {
self.fleet_summary_list.as_deref()
}
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
impl std::fmt::Debug for ListFleetsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListFleetsOutput");
formatter.field("fleet_summary_list", &self.fleet_summary_list);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListFleetsOutput`](crate::output::ListFleetsOutput)
pub mod list_fleets_output {
/// A builder for [`ListFleetsOutput`](crate::output::ListFleetsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) fleet_summary_list:
std::option::Option<std::vec::Vec<crate::model::FleetSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `fleet_summary_list`.
///
/// To override the contents of this collection use [`set_fleet_summary_list`](Self::set_fleet_summary_list).
///
/// <p>The summary list of the fleets.</p>
pub fn fleet_summary_list(mut self, input: crate::model::FleetSummary) -> Self {
let mut v = self.fleet_summary_list.unwrap_or_default();
v.push(input);
self.fleet_summary_list = Some(v);
self
}
/// <p>The summary list of the fleets.</p>
pub fn set_fleet_summary_list(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::FleetSummary>>,
) -> Self {
self.fleet_summary_list = input;
self
}
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListFleetsOutput`](crate::output::ListFleetsOutput)
pub fn build(self) -> crate::output::ListFleetsOutput {
crate::output::ListFleetsOutput {
fleet_summary_list: self.fleet_summary_list,
next_token: self.next_token,
}
}
}
}
impl ListFleetsOutput {
/// Creates a new builder-style object to manufacture [`ListFleetsOutput`](crate::output::ListFleetsOutput)
pub fn builder() -> crate::output::list_fleets_output::Builder {
crate::output::list_fleets_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListDomainsOutput {
/// <p>Information about the domains.</p>
pub domains: std::option::Option<std::vec::Vec<crate::model::DomainSummary>>,
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl ListDomainsOutput {
/// <p>Information about the domains.</p>
pub fn domains(&self) -> std::option::Option<&[crate::model::DomainSummary]> {
self.domains.as_deref()
}
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
impl std::fmt::Debug for ListDomainsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListDomainsOutput");
formatter.field("domains", &self.domains);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListDomainsOutput`](crate::output::ListDomainsOutput)
pub mod list_domains_output {
/// A builder for [`ListDomainsOutput`](crate::output::ListDomainsOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) domains: std::option::Option<std::vec::Vec<crate::model::DomainSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `domains`.
///
/// To override the contents of this collection use [`set_domains`](Self::set_domains).
///
/// <p>Information about the domains.</p>
pub fn domains(mut self, input: crate::model::DomainSummary) -> Self {
let mut v = self.domains.unwrap_or_default();
v.push(input);
self.domains = Some(v);
self
}
/// <p>Information about the domains.</p>
pub fn set_domains(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::DomainSummary>>,
) -> Self {
self.domains = input;
self
}
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListDomainsOutput`](crate::output::ListDomainsOutput)
pub fn build(self) -> crate::output::ListDomainsOutput {
crate::output::ListDomainsOutput {
domains: self.domains,
next_token: self.next_token,
}
}
}
}
impl ListDomainsOutput {
/// Creates a new builder-style object to manufacture [`ListDomainsOutput`](crate::output::ListDomainsOutput)
pub fn builder() -> crate::output::list_domains_output::Builder {
crate::output::list_domains_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListDevicesOutput {
/// <p>Information about the devices.</p>
pub devices: std::option::Option<std::vec::Vec<crate::model::DeviceSummary>>,
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub next_token: std::option::Option<std::string::String>,
}
impl ListDevicesOutput {
/// <p>Information about the devices.</p>
pub fn devices(&self) -> std::option::Option<&[crate::model::DeviceSummary]> {
self.devices.as_deref()
}
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
impl std::fmt::Debug for ListDevicesOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListDevicesOutput");
formatter.field("devices", &self.devices);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
/// See [`ListDevicesOutput`](crate::output::ListDevicesOutput)
pub mod list_devices_output {
/// A builder for [`ListDevicesOutput`](crate::output::ListDevicesOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) devices: std::option::Option<std::vec::Vec<crate::model::DeviceSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `devices`.
///
/// To override the contents of this collection use [`set_devices`](Self::set_devices).
///
/// <p>Information about the devices.</p>
pub fn devices(mut self, input: crate::model::DeviceSummary) -> Self {
let mut v = self.devices.unwrap_or_default();
v.push(input);
self.devices = Some(v);
self
}
/// <p>Information about the devices.</p>
pub fn set_devices(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::DeviceSummary>>,
) -> Self {
self.devices = input;
self
}
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
/// <p>The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
/// Consumes the builder and constructs a [`ListDevicesOutput`](crate::output::ListDevicesOutput)
pub fn build(self) -> crate::output::ListDevicesOutput {
crate::output::ListDevicesOutput {
devices: self.devices,
next_token: self.next_token,
}
}
}
}
impl ListDevicesOutput {
/// Creates a new builder-style object to manufacture [`ListDevicesOutput`](crate::output::ListDevicesOutput)
pub fn builder() -> crate::output::list_devices_output::Builder {
crate::output::list_devices_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DisassociateWebsiteCertificateAuthorityOutput {}
impl std::fmt::Debug for DisassociateWebsiteCertificateAuthorityOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DisassociateWebsiteCertificateAuthorityOutput");
formatter.finish()
}
}
/// See [`DisassociateWebsiteCertificateAuthorityOutput`](crate::output::DisassociateWebsiteCertificateAuthorityOutput)
pub mod disassociate_website_certificate_authority_output {
/// A builder for [`DisassociateWebsiteCertificateAuthorityOutput`](crate::output::DisassociateWebsiteCertificateAuthorityOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`DisassociateWebsiteCertificateAuthorityOutput`](crate::output::DisassociateWebsiteCertificateAuthorityOutput)
pub fn build(self) -> crate::output::DisassociateWebsiteCertificateAuthorityOutput {
crate::output::DisassociateWebsiteCertificateAuthorityOutput {}
}
}
}
impl DisassociateWebsiteCertificateAuthorityOutput {
/// Creates a new builder-style object to manufacture [`DisassociateWebsiteCertificateAuthorityOutput`](crate::output::DisassociateWebsiteCertificateAuthorityOutput)
pub fn builder() -> crate::output::disassociate_website_certificate_authority_output::Builder {
crate::output::disassociate_website_certificate_authority_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DisassociateWebsiteAuthorizationProviderOutput {}
impl std::fmt::Debug for DisassociateWebsiteAuthorizationProviderOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DisassociateWebsiteAuthorizationProviderOutput");
formatter.finish()
}
}
/// See [`DisassociateWebsiteAuthorizationProviderOutput`](crate::output::DisassociateWebsiteAuthorizationProviderOutput)
pub mod disassociate_website_authorization_provider_output {
/// A builder for [`DisassociateWebsiteAuthorizationProviderOutput`](crate::output::DisassociateWebsiteAuthorizationProviderOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`DisassociateWebsiteAuthorizationProviderOutput`](crate::output::DisassociateWebsiteAuthorizationProviderOutput)
pub fn build(self) -> crate::output::DisassociateWebsiteAuthorizationProviderOutput {
crate::output::DisassociateWebsiteAuthorizationProviderOutput {}
}
}
}
impl DisassociateWebsiteAuthorizationProviderOutput {
/// Creates a new builder-style object to manufacture [`DisassociateWebsiteAuthorizationProviderOutput`](crate::output::DisassociateWebsiteAuthorizationProviderOutput)
pub fn builder() -> crate::output::disassociate_website_authorization_provider_output::Builder {
crate::output::disassociate_website_authorization_provider_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DisassociateDomainOutput {}
impl std::fmt::Debug for DisassociateDomainOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DisassociateDomainOutput");
formatter.finish()
}
}
/// See [`DisassociateDomainOutput`](crate::output::DisassociateDomainOutput)
pub mod disassociate_domain_output {
/// A builder for [`DisassociateDomainOutput`](crate::output::DisassociateDomainOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`DisassociateDomainOutput`](crate::output::DisassociateDomainOutput)
pub fn build(self) -> crate::output::DisassociateDomainOutput {
crate::output::DisassociateDomainOutput {}
}
}
}
impl DisassociateDomainOutput {
/// Creates a new builder-style object to manufacture [`DisassociateDomainOutput`](crate::output::DisassociateDomainOutput)
pub fn builder() -> crate::output::disassociate_domain_output::Builder {
crate::output::disassociate_domain_output::Builder::default()
}
}
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeWebsiteCertificateAuthorityOutput {
/// <p>The root certificate of the certificate authority.</p>
pub certificate: std::option::Option<std::string::String>,
/// <p>The time that the certificate authority was added.</p>
pub created_time: std::option::Option<aws_smithy_types::DateTime>,
/// <p>The certificate name to display.</p>
pub display_name: std::option::Option<std::string::String>,
}
impl DescribeWebsiteCertificateAuthorityOutput {
/// <p>The root certificate of the certificate authority.</p>
pub fn certificate(&self) -> std::option::Option<&str> {
self.certificate.as_deref()
}
/// <p>The time that the certificate authority was added.</p>
pub fn created_time(&self) -> std::option::Option<&aws_smithy_types::DateTime> {
self.created_time.as_ref()
}
/// <p>The certificate name to display.</p>
pub fn display_name(&self) -> std::option::Option<&str> {
self.display_name.as_deref()
}
}
impl std::fmt::Debug for DescribeWebsiteCertificateAuthorityOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DescribeWebsiteCertificateAuthorityOutput");
formatter.field("certificate", &self.certificate);
formatter.field("created_time", &self.created_time);
formatter.field("display_name", &self.display_name);
formatter.finish()
}
}
/// See [`DescribeWebsiteCertificateAuthorityOutput`](crate::output::DescribeWebsiteCertificateAuthorityOutput)
pub mod describe_website_certificate_authority_output {
/// A builder for [`DescribeWebsiteCertificateAuthorityOutput`](crate::output::DescribeWebsiteCertificateAuthorityOutput)
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) certificate: std::option::Option<std::string::String>,
pub(crate) created_time: std::option::Option<aws_smithy_types::DateTime>,
pub(crate) display_name: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>The root certificate of the certificate authority.</p>
pub fn certificate(mut self, input: impl Into<std::string::String>) -> Self {
self.certificate = Some(input.into());
self
}
/// <p>The root certificate of the certificate authority.</p>
pub fn set_certificate(mut self, input: std::option::Option<std::string::String>) -> Self {
self.certificate = input;
self
}
/// <p>The time that the certificate authority was added.</p>
pub fn created_time(mut self, input: aws_smithy_types::DateTime) -> Self {
self.created_time = Some(input);
self
}
/// <p>The time that the certificate authority was added.</p>
pub fn set_created_time(
mut self,
input: std::option::Option<aws_smithy_types::DateTime>,
) -> Self {
self.created_time = input;
self
}
/// <p>The certificate name to display.</p>
pub fn display_name(mut self, input: impl Into<std::string::String>) -> Self {
self.display_name = Some(input.into());
self
}