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
// 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 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 StartMonitoringMemberOutput {}
impl std::fmt::Debug for StartMonitoringMemberOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("StartMonitoringMemberOutput");
        formatter.finish()
    }
}
/// See [`StartMonitoringMemberOutput`](crate::output::StartMonitoringMemberOutput)
pub mod start_monitoring_member_output {
    /// A builder for [`StartMonitoringMemberOutput`](crate::output::StartMonitoringMemberOutput)
    #[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 [`StartMonitoringMemberOutput`](crate::output::StartMonitoringMemberOutput)
        pub fn build(self) -> crate::output::StartMonitoringMemberOutput {
            crate::output::StartMonitoringMemberOutput {}
        }
    }
}
impl StartMonitoringMemberOutput {
    /// Creates a new builder-style object to manufacture [`StartMonitoringMemberOutput`](crate::output::StartMonitoringMemberOutput)
    pub fn builder() -> crate::output::start_monitoring_member_output::Builder {
        crate::output::start_monitoring_member_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct RejectInvitationOutput {}
impl std::fmt::Debug for RejectInvitationOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("RejectInvitationOutput");
        formatter.finish()
    }
}
/// See [`RejectInvitationOutput`](crate::output::RejectInvitationOutput)
pub mod reject_invitation_output {
    /// A builder for [`RejectInvitationOutput`](crate::output::RejectInvitationOutput)
    #[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 [`RejectInvitationOutput`](crate::output::RejectInvitationOutput)
        pub fn build(self) -> crate::output::RejectInvitationOutput {
            crate::output::RejectInvitationOutput {}
        }
    }
}
impl RejectInvitationOutput {
    /// Creates a new builder-style object to manufacture [`RejectInvitationOutput`](crate::output::RejectInvitationOutput)
    pub fn builder() -> crate::output::reject_invitation_output::Builder {
        crate::output::reject_invitation_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListTagsForResourceOutput {
    /// <p>The tag values that are assigned to the behavior graph. The request returns up to 50 tag
    /// values.</p>
    pub tags:
        std::option::Option<std::collections::HashMap<std::string::String, std::string::String>>,
}
impl ListTagsForResourceOutput {
    /// <p>The tag values that are assigned to the behavior graph. The request returns up to 50 tag
    /// values.</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 tag values that are assigned to the behavior graph. The request returns up to 50 tag
        /// values.</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 tag values that are assigned to the behavior graph. The request returns up to 50 tag
        /// values.</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 ListMembersOutput {
    /// <p>The list of member accounts in the behavior graph.</p>
    /// <p>The results include member accounts that did not pass verification and member accounts
    /// that have not yet accepted the invitation to the behavior graph. The results do not include
    /// member accounts that were removed from the behavior graph.</p>
    pub member_details: std::option::Option<std::vec::Vec<crate::model::MemberDetail>>,
    /// <p>If there are more member accounts remaining in the results, then this is the pagination
    /// token to use to request the next page of member accounts.</p>
    pub next_token: std::option::Option<std::string::String>,
}
impl ListMembersOutput {
    /// <p>The list of member accounts in the behavior graph.</p>
    /// <p>The results include member accounts that did not pass verification and member accounts
    /// that have not yet accepted the invitation to the behavior graph. The results do not include
    /// member accounts that were removed from the behavior graph.</p>
    pub fn member_details(&self) -> std::option::Option<&[crate::model::MemberDetail]> {
        self.member_details.as_deref()
    }
    /// <p>If there are more member accounts remaining in the results, then this is the pagination
    /// token to use to request the next page of member accounts.</p>
    pub fn next_token(&self) -> std::option::Option<&str> {
        self.next_token.as_deref()
    }
}
impl std::fmt::Debug for ListMembersOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("ListMembersOutput");
        formatter.field("member_details", &self.member_details);
        formatter.field("next_token", &self.next_token);
        formatter.finish()
    }
}
/// See [`ListMembersOutput`](crate::output::ListMembersOutput)
pub mod list_members_output {
    /// A builder for [`ListMembersOutput`](crate::output::ListMembersOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) member_details: std::option::Option<std::vec::Vec<crate::model::MemberDetail>>,
        pub(crate) next_token: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// Appends an item to `member_details`.
        ///
        /// To override the contents of this collection use [`set_member_details`](Self::set_member_details).
        ///
        /// <p>The list of member accounts in the behavior graph.</p>
        /// <p>The results include member accounts that did not pass verification and member accounts
        /// that have not yet accepted the invitation to the behavior graph. The results do not include
        /// member accounts that were removed from the behavior graph.</p>
        pub fn member_details(mut self, input: impl Into<crate::model::MemberDetail>) -> Self {
            let mut v = self.member_details.unwrap_or_default();
            v.push(input.into());
            self.member_details = Some(v);
            self
        }
        /// <p>The list of member accounts in the behavior graph.</p>
        /// <p>The results include member accounts that did not pass verification and member accounts
        /// that have not yet accepted the invitation to the behavior graph. The results do not include
        /// member accounts that were removed from the behavior graph.</p>
        pub fn set_member_details(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::MemberDetail>>,
        ) -> Self {
            self.member_details = input;
            self
        }
        /// <p>If there are more member accounts remaining in the results, then this is the pagination
        /// token to use to request the next page of member accounts.</p>
        pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
            self.next_token = Some(input.into());
            self
        }
        /// <p>If there are more member accounts remaining in the results, then this is the pagination
        /// token to use to request the next page of member accounts.</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 [`ListMembersOutput`](crate::output::ListMembersOutput)
        pub fn build(self) -> crate::output::ListMembersOutput {
            crate::output::ListMembersOutput {
                member_details: self.member_details,
                next_token: self.next_token,
            }
        }
    }
}
impl ListMembersOutput {
    /// Creates a new builder-style object to manufacture [`ListMembersOutput`](crate::output::ListMembersOutput)
    pub fn builder() -> crate::output::list_members_output::Builder {
        crate::output::list_members_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListInvitationsOutput {
    /// <p>The list of behavior graphs for which the member account has open or accepted
    /// invitations.</p>
    pub invitations: std::option::Option<std::vec::Vec<crate::model::MemberDetail>>,
    /// <p>If there are more behavior graphs remaining in the results, then this is the pagination
    /// token to use to request the next page of behavior graphs.</p>
    pub next_token: std::option::Option<std::string::String>,
}
impl ListInvitationsOutput {
    /// <p>The list of behavior graphs for which the member account has open or accepted
    /// invitations.</p>
    pub fn invitations(&self) -> std::option::Option<&[crate::model::MemberDetail]> {
        self.invitations.as_deref()
    }
    /// <p>If there are more behavior graphs remaining in the results, then this is the pagination
    /// token to use to request the next page of behavior graphs.</p>
    pub fn next_token(&self) -> std::option::Option<&str> {
        self.next_token.as_deref()
    }
}
impl std::fmt::Debug for ListInvitationsOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("ListInvitationsOutput");
        formatter.field("invitations", &self.invitations);
        formatter.field("next_token", &self.next_token);
        formatter.finish()
    }
}
/// See [`ListInvitationsOutput`](crate::output::ListInvitationsOutput)
pub mod list_invitations_output {
    /// A builder for [`ListInvitationsOutput`](crate::output::ListInvitationsOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) invitations: std::option::Option<std::vec::Vec<crate::model::MemberDetail>>,
        pub(crate) next_token: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// Appends an item to `invitations`.
        ///
        /// To override the contents of this collection use [`set_invitations`](Self::set_invitations).
        ///
        /// <p>The list of behavior graphs for which the member account has open or accepted
        /// invitations.</p>
        pub fn invitations(mut self, input: impl Into<crate::model::MemberDetail>) -> Self {
            let mut v = self.invitations.unwrap_or_default();
            v.push(input.into());
            self.invitations = Some(v);
            self
        }
        /// <p>The list of behavior graphs for which the member account has open or accepted
        /// invitations.</p>
        pub fn set_invitations(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::MemberDetail>>,
        ) -> Self {
            self.invitations = input;
            self
        }
        /// <p>If there are more behavior graphs remaining in the results, then this is the pagination
        /// token to use to request the next page of behavior graphs.</p>
        pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
            self.next_token = Some(input.into());
            self
        }
        /// <p>If there are more behavior graphs remaining in the results, then this is the pagination
        /// token to use to request the next page of behavior graphs.</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 [`ListInvitationsOutput`](crate::output::ListInvitationsOutput)
        pub fn build(self) -> crate::output::ListInvitationsOutput {
            crate::output::ListInvitationsOutput {
                invitations: self.invitations,
                next_token: self.next_token,
            }
        }
    }
}
impl ListInvitationsOutput {
    /// Creates a new builder-style object to manufacture [`ListInvitationsOutput`](crate::output::ListInvitationsOutput)
    pub fn builder() -> crate::output::list_invitations_output::Builder {
        crate::output::list_invitations_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListGraphsOutput {
    /// <p>A list of behavior graphs that the account is an administrator account for.</p>
    pub graph_list: std::option::Option<std::vec::Vec<crate::model::Graph>>,
    /// <p>If there are more behavior graphs remaining in the results, then this is the pagination
    /// token to use to request the next page of behavior graphs.</p>
    pub next_token: std::option::Option<std::string::String>,
}
impl ListGraphsOutput {
    /// <p>A list of behavior graphs that the account is an administrator account for.</p>
    pub fn graph_list(&self) -> std::option::Option<&[crate::model::Graph]> {
        self.graph_list.as_deref()
    }
    /// <p>If there are more behavior graphs remaining in the results, then this is the pagination
    /// token to use to request the next page of behavior graphs.</p>
    pub fn next_token(&self) -> std::option::Option<&str> {
        self.next_token.as_deref()
    }
}
impl std::fmt::Debug for ListGraphsOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("ListGraphsOutput");
        formatter.field("graph_list", &self.graph_list);
        formatter.field("next_token", &self.next_token);
        formatter.finish()
    }
}
/// See [`ListGraphsOutput`](crate::output::ListGraphsOutput)
pub mod list_graphs_output {
    /// A builder for [`ListGraphsOutput`](crate::output::ListGraphsOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) graph_list: std::option::Option<std::vec::Vec<crate::model::Graph>>,
        pub(crate) next_token: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// Appends an item to `graph_list`.
        ///
        /// To override the contents of this collection use [`set_graph_list`](Self::set_graph_list).
        ///
        /// <p>A list of behavior graphs that the account is an administrator account for.</p>
        pub fn graph_list(mut self, input: impl Into<crate::model::Graph>) -> Self {
            let mut v = self.graph_list.unwrap_or_default();
            v.push(input.into());
            self.graph_list = Some(v);
            self
        }
        /// <p>A list of behavior graphs that the account is an administrator account for.</p>
        pub fn set_graph_list(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::Graph>>,
        ) -> Self {
            self.graph_list = input;
            self
        }
        /// <p>If there are more behavior graphs remaining in the results, then this is the pagination
        /// token to use to request the next page of behavior graphs.</p>
        pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
            self.next_token = Some(input.into());
            self
        }
        /// <p>If there are more behavior graphs remaining in the results, then this is the pagination
        /// token to use to request the next page of behavior graphs.</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 [`ListGraphsOutput`](crate::output::ListGraphsOutput)
        pub fn build(self) -> crate::output::ListGraphsOutput {
            crate::output::ListGraphsOutput {
                graph_list: self.graph_list,
                next_token: self.next_token,
            }
        }
    }
}
impl ListGraphsOutput {
    /// Creates a new builder-style object to manufacture [`ListGraphsOutput`](crate::output::ListGraphsOutput)
    pub fn builder() -> crate::output::list_graphs_output::Builder {
        crate::output::list_graphs_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetMembersOutput {
    /// <p>The member account details that Detective is returning in response to the request.</p>
    pub member_details: std::option::Option<std::vec::Vec<crate::model::MemberDetail>>,
    /// <p>The requested member accounts for which Detective was unable to return member
    /// details.</p>
    /// <p>For each account, provides the reason why the request could not be processed.</p>
    pub unprocessed_accounts: std::option::Option<std::vec::Vec<crate::model::UnprocessedAccount>>,
}
impl GetMembersOutput {
    /// <p>The member account details that Detective is returning in response to the request.</p>
    pub fn member_details(&self) -> std::option::Option<&[crate::model::MemberDetail]> {
        self.member_details.as_deref()
    }
    /// <p>The requested member accounts for which Detective was unable to return member
    /// details.</p>
    /// <p>For each account, provides the reason why the request could not be processed.</p>
    pub fn unprocessed_accounts(&self) -> std::option::Option<&[crate::model::UnprocessedAccount]> {
        self.unprocessed_accounts.as_deref()
    }
}
impl std::fmt::Debug for GetMembersOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("GetMembersOutput");
        formatter.field("member_details", &self.member_details);
        formatter.field("unprocessed_accounts", &self.unprocessed_accounts);
        formatter.finish()
    }
}
/// See [`GetMembersOutput`](crate::output::GetMembersOutput)
pub mod get_members_output {
    /// A builder for [`GetMembersOutput`](crate::output::GetMembersOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) member_details: std::option::Option<std::vec::Vec<crate::model::MemberDetail>>,
        pub(crate) unprocessed_accounts:
            std::option::Option<std::vec::Vec<crate::model::UnprocessedAccount>>,
    }
    impl Builder {
        /// Appends an item to `member_details`.
        ///
        /// To override the contents of this collection use [`set_member_details`](Self::set_member_details).
        ///
        /// <p>The member account details that Detective is returning in response to the request.</p>
        pub fn member_details(mut self, input: impl Into<crate::model::MemberDetail>) -> Self {
            let mut v = self.member_details.unwrap_or_default();
            v.push(input.into());
            self.member_details = Some(v);
            self
        }
        /// <p>The member account details that Detective is returning in response to the request.</p>
        pub fn set_member_details(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::MemberDetail>>,
        ) -> Self {
            self.member_details = input;
            self
        }
        /// Appends an item to `unprocessed_accounts`.
        ///
        /// To override the contents of this collection use [`set_unprocessed_accounts`](Self::set_unprocessed_accounts).
        ///
        /// <p>The requested member accounts for which Detective was unable to return member
        /// details.</p>
        /// <p>For each account, provides the reason why the request could not be processed.</p>
        pub fn unprocessed_accounts(
            mut self,
            input: impl Into<crate::model::UnprocessedAccount>,
        ) -> Self {
            let mut v = self.unprocessed_accounts.unwrap_or_default();
            v.push(input.into());
            self.unprocessed_accounts = Some(v);
            self
        }
        /// <p>The requested member accounts for which Detective was unable to return member
        /// details.</p>
        /// <p>For each account, provides the reason why the request could not be processed.</p>
        pub fn set_unprocessed_accounts(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::UnprocessedAccount>>,
        ) -> Self {
            self.unprocessed_accounts = input;
            self
        }
        /// Consumes the builder and constructs a [`GetMembersOutput`](crate::output::GetMembersOutput)
        pub fn build(self) -> crate::output::GetMembersOutput {
            crate::output::GetMembersOutput {
                member_details: self.member_details,
                unprocessed_accounts: self.unprocessed_accounts,
            }
        }
    }
}
impl GetMembersOutput {
    /// Creates a new builder-style object to manufacture [`GetMembersOutput`](crate::output::GetMembersOutput)
    pub fn builder() -> crate::output::get_members_output::Builder {
        crate::output::get_members_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DisassociateMembershipOutput {}
impl std::fmt::Debug for DisassociateMembershipOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("DisassociateMembershipOutput");
        formatter.finish()
    }
}
/// See [`DisassociateMembershipOutput`](crate::output::DisassociateMembershipOutput)
pub mod disassociate_membership_output {
    /// A builder for [`DisassociateMembershipOutput`](crate::output::DisassociateMembershipOutput)
    #[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 [`DisassociateMembershipOutput`](crate::output::DisassociateMembershipOutput)
        pub fn build(self) -> crate::output::DisassociateMembershipOutput {
            crate::output::DisassociateMembershipOutput {}
        }
    }
}
impl DisassociateMembershipOutput {
    /// Creates a new builder-style object to manufacture [`DisassociateMembershipOutput`](crate::output::DisassociateMembershipOutput)
    pub fn builder() -> crate::output::disassociate_membership_output::Builder {
        crate::output::disassociate_membership_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeleteMembersOutput {
    /// <p>The list of AWS account identifiers for the member accounts that Detective successfully
    /// deleted from the behavior graph.</p>
    pub account_ids: std::option::Option<std::vec::Vec<std::string::String>>,
    /// <p>The list of member accounts that Detective was not able to delete from the behavior graph.
    /// For each member account, provides the reason that the deletion could not be
    /// processed.</p>
    pub unprocessed_accounts: std::option::Option<std::vec::Vec<crate::model::UnprocessedAccount>>,
}
impl DeleteMembersOutput {
    /// <p>The list of AWS account identifiers for the member accounts that Detective successfully
    /// deleted from the behavior graph.</p>
    pub fn account_ids(&self) -> std::option::Option<&[std::string::String]> {
        self.account_ids.as_deref()
    }
    /// <p>The list of member accounts that Detective was not able to delete from the behavior graph.
    /// For each member account, provides the reason that the deletion could not be
    /// processed.</p>
    pub fn unprocessed_accounts(&self) -> std::option::Option<&[crate::model::UnprocessedAccount]> {
        self.unprocessed_accounts.as_deref()
    }
}
impl std::fmt::Debug for DeleteMembersOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("DeleteMembersOutput");
        formatter.field("account_ids", &self.account_ids);
        formatter.field("unprocessed_accounts", &self.unprocessed_accounts);
        formatter.finish()
    }
}
/// See [`DeleteMembersOutput`](crate::output::DeleteMembersOutput)
pub mod delete_members_output {
    /// A builder for [`DeleteMembersOutput`](crate::output::DeleteMembersOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) account_ids: std::option::Option<std::vec::Vec<std::string::String>>,
        pub(crate) unprocessed_accounts:
            std::option::Option<std::vec::Vec<crate::model::UnprocessedAccount>>,
    }
    impl Builder {
        /// Appends an item to `account_ids`.
        ///
        /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids).
        ///
        /// <p>The list of AWS account identifiers for the member accounts that Detective successfully
        /// deleted from the behavior graph.</p>
        pub fn account_ids(mut self, input: impl Into<std::string::String>) -> Self {
            let mut v = self.account_ids.unwrap_or_default();
            v.push(input.into());
            self.account_ids = Some(v);
            self
        }
        /// <p>The list of AWS account identifiers for the member accounts that Detective successfully
        /// deleted from the behavior graph.</p>
        pub fn set_account_ids(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.account_ids = input;
            self
        }
        /// Appends an item to `unprocessed_accounts`.
        ///
        /// To override the contents of this collection use [`set_unprocessed_accounts`](Self::set_unprocessed_accounts).
        ///
        /// <p>The list of member accounts that Detective was not able to delete from the behavior graph.
        /// For each member account, provides the reason that the deletion could not be
        /// processed.</p>
        pub fn unprocessed_accounts(
            mut self,
            input: impl Into<crate::model::UnprocessedAccount>,
        ) -> Self {
            let mut v = self.unprocessed_accounts.unwrap_or_default();
            v.push(input.into());
            self.unprocessed_accounts = Some(v);
            self
        }
        /// <p>The list of member accounts that Detective was not able to delete from the behavior graph.
        /// For each member account, provides the reason that the deletion could not be
        /// processed.</p>
        pub fn set_unprocessed_accounts(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::UnprocessedAccount>>,
        ) -> Self {
            self.unprocessed_accounts = input;
            self
        }
        /// Consumes the builder and constructs a [`DeleteMembersOutput`](crate::output::DeleteMembersOutput)
        pub fn build(self) -> crate::output::DeleteMembersOutput {
            crate::output::DeleteMembersOutput {
                account_ids: self.account_ids,
                unprocessed_accounts: self.unprocessed_accounts,
            }
        }
    }
}
impl DeleteMembersOutput {
    /// Creates a new builder-style object to manufacture [`DeleteMembersOutput`](crate::output::DeleteMembersOutput)
    pub fn builder() -> crate::output::delete_members_output::Builder {
        crate::output::delete_members_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeleteGraphOutput {}
impl std::fmt::Debug for DeleteGraphOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("DeleteGraphOutput");
        formatter.finish()
    }
}
/// See [`DeleteGraphOutput`](crate::output::DeleteGraphOutput)
pub mod delete_graph_output {
    /// A builder for [`DeleteGraphOutput`](crate::output::DeleteGraphOutput)
    #[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 [`DeleteGraphOutput`](crate::output::DeleteGraphOutput)
        pub fn build(self) -> crate::output::DeleteGraphOutput {
            crate::output::DeleteGraphOutput {}
        }
    }
}
impl DeleteGraphOutput {
    /// Creates a new builder-style object to manufacture [`DeleteGraphOutput`](crate::output::DeleteGraphOutput)
    pub fn builder() -> crate::output::delete_graph_output::Builder {
        crate::output::delete_graph_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateMembersOutput {
    /// <p>The set of member account invitation requests that Detective was able to process. This
    /// includes accounts that are being verified, that failed verification, and that passed
    /// verification and are being sent an invitation.</p>
    pub members: std::option::Option<std::vec::Vec<crate::model::MemberDetail>>,
    /// <p>The list of accounts for which Detective was unable to process the invitation request. For
    /// each account, the list provides the reason why the request could not be processed. The list
    /// includes accounts that are already member accounts in the behavior graph.</p>
    pub unprocessed_accounts: std::option::Option<std::vec::Vec<crate::model::UnprocessedAccount>>,
}
impl CreateMembersOutput {
    /// <p>The set of member account invitation requests that Detective was able to process. This
    /// includes accounts that are being verified, that failed verification, and that passed
    /// verification and are being sent an invitation.</p>
    pub fn members(&self) -> std::option::Option<&[crate::model::MemberDetail]> {
        self.members.as_deref()
    }
    /// <p>The list of accounts for which Detective was unable to process the invitation request. For
    /// each account, the list provides the reason why the request could not be processed. The list
    /// includes accounts that are already member accounts in the behavior graph.</p>
    pub fn unprocessed_accounts(&self) -> std::option::Option<&[crate::model::UnprocessedAccount]> {
        self.unprocessed_accounts.as_deref()
    }
}
impl std::fmt::Debug for CreateMembersOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("CreateMembersOutput");
        formatter.field("members", &self.members);
        formatter.field("unprocessed_accounts", &self.unprocessed_accounts);
        formatter.finish()
    }
}
/// See [`CreateMembersOutput`](crate::output::CreateMembersOutput)
pub mod create_members_output {
    /// A builder for [`CreateMembersOutput`](crate::output::CreateMembersOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) members: std::option::Option<std::vec::Vec<crate::model::MemberDetail>>,
        pub(crate) unprocessed_accounts:
            std::option::Option<std::vec::Vec<crate::model::UnprocessedAccount>>,
    }
    impl Builder {
        /// Appends an item to `members`.
        ///
        /// To override the contents of this collection use [`set_members`](Self::set_members).
        ///
        /// <p>The set of member account invitation requests that Detective was able to process. This
        /// includes accounts that are being verified, that failed verification, and that passed
        /// verification and are being sent an invitation.</p>
        pub fn members(mut self, input: impl Into<crate::model::MemberDetail>) -> Self {
            let mut v = self.members.unwrap_or_default();
            v.push(input.into());
            self.members = Some(v);
            self
        }
        /// <p>The set of member account invitation requests that Detective was able to process. This
        /// includes accounts that are being verified, that failed verification, and that passed
        /// verification and are being sent an invitation.</p>
        pub fn set_members(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::MemberDetail>>,
        ) -> Self {
            self.members = input;
            self
        }
        /// Appends an item to `unprocessed_accounts`.
        ///
        /// To override the contents of this collection use [`set_unprocessed_accounts`](Self::set_unprocessed_accounts).
        ///
        /// <p>The list of accounts for which Detective was unable to process the invitation request. For
        /// each account, the list provides the reason why the request could not be processed. The list
        /// includes accounts that are already member accounts in the behavior graph.</p>
        pub fn unprocessed_accounts(
            mut self,
            input: impl Into<crate::model::UnprocessedAccount>,
        ) -> Self {
            let mut v = self.unprocessed_accounts.unwrap_or_default();
            v.push(input.into());
            self.unprocessed_accounts = Some(v);
            self
        }
        /// <p>The list of accounts for which Detective was unable to process the invitation request. For
        /// each account, the list provides the reason why the request could not be processed. The list
        /// includes accounts that are already member accounts in the behavior graph.</p>
        pub fn set_unprocessed_accounts(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::UnprocessedAccount>>,
        ) -> Self {
            self.unprocessed_accounts = input;
            self
        }
        /// Consumes the builder and constructs a [`CreateMembersOutput`](crate::output::CreateMembersOutput)
        pub fn build(self) -> crate::output::CreateMembersOutput {
            crate::output::CreateMembersOutput {
                members: self.members,
                unprocessed_accounts: self.unprocessed_accounts,
            }
        }
    }
}
impl CreateMembersOutput {
    /// Creates a new builder-style object to manufacture [`CreateMembersOutput`](crate::output::CreateMembersOutput)
    pub fn builder() -> crate::output::create_members_output::Builder {
        crate::output::create_members_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateGraphOutput {
    /// <p>The ARN of the new behavior graph.</p>
    pub graph_arn: std::option::Option<std::string::String>,
}
impl CreateGraphOutput {
    /// <p>The ARN of the new behavior graph.</p>
    pub fn graph_arn(&self) -> std::option::Option<&str> {
        self.graph_arn.as_deref()
    }
}
impl std::fmt::Debug for CreateGraphOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("CreateGraphOutput");
        formatter.field("graph_arn", &self.graph_arn);
        formatter.finish()
    }
}
/// See [`CreateGraphOutput`](crate::output::CreateGraphOutput)
pub mod create_graph_output {
    /// A builder for [`CreateGraphOutput`](crate::output::CreateGraphOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) graph_arn: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// <p>The ARN of the new behavior graph.</p>
        pub fn graph_arn(mut self, input: impl Into<std::string::String>) -> Self {
            self.graph_arn = Some(input.into());
            self
        }
        /// <p>The ARN of the new behavior graph.</p>
        pub fn set_graph_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.graph_arn = input;
            self
        }
        /// Consumes the builder and constructs a [`CreateGraphOutput`](crate::output::CreateGraphOutput)
        pub fn build(self) -> crate::output::CreateGraphOutput {
            crate::output::CreateGraphOutput {
                graph_arn: self.graph_arn,
            }
        }
    }
}
impl CreateGraphOutput {
    /// Creates a new builder-style object to manufacture [`CreateGraphOutput`](crate::output::CreateGraphOutput)
    pub fn builder() -> crate::output::create_graph_output::Builder {
        crate::output::create_graph_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct AcceptInvitationOutput {}
impl std::fmt::Debug for AcceptInvitationOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("AcceptInvitationOutput");
        formatter.finish()
    }
}
/// See [`AcceptInvitationOutput`](crate::output::AcceptInvitationOutput)
pub mod accept_invitation_output {
    /// A builder for [`AcceptInvitationOutput`](crate::output::AcceptInvitationOutput)
    #[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 [`AcceptInvitationOutput`](crate::output::AcceptInvitationOutput)
        pub fn build(self) -> crate::output::AcceptInvitationOutput {
            crate::output::AcceptInvitationOutput {}
        }
    }
}
impl AcceptInvitationOutput {
    /// Creates a new builder-style object to manufacture [`AcceptInvitationOutput`](crate::output::AcceptInvitationOutput)
    pub fn builder() -> crate::output::accept_invitation_output::Builder {
        crate::output::accept_invitation_output::Builder::default()
    }
}