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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
// 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 PutRecommendationFeedbackOutput {}
impl std::fmt::Debug for PutRecommendationFeedbackOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("PutRecommendationFeedbackOutput");
        formatter.finish()
    }
}
/// See [`PutRecommendationFeedbackOutput`](crate::output::PutRecommendationFeedbackOutput)
pub mod put_recommendation_feedback_output {
    /// A builder for [`PutRecommendationFeedbackOutput`](crate::output::PutRecommendationFeedbackOutput)
    #[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 [`PutRecommendationFeedbackOutput`](crate::output::PutRecommendationFeedbackOutput)
        pub fn build(self) -> crate::output::PutRecommendationFeedbackOutput {
            crate::output::PutRecommendationFeedbackOutput {}
        }
    }
}
impl PutRecommendationFeedbackOutput {
    /// Creates a new builder-style object to manufacture [`PutRecommendationFeedbackOutput`](crate::output::PutRecommendationFeedbackOutput)
    pub fn builder() -> crate::output::put_recommendation_feedback_output::Builder {
        crate::output::put_recommendation_feedback_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListTagsForResourceOutput {
    /// <p> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
    /// <ul>
    /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
    /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
    /// </ul>
    pub tags:
        std::option::Option<std::collections::HashMap<std::string::String, std::string::String>>,
}
impl ListTagsForResourceOutput {
    /// <p> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
    /// <ul>
    /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
    /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
    /// </ul>
    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> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
        /// <ul>
        /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
        /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
        /// </ul>
        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> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
        /// <ul>
        /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
        /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
        /// </ul>
        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 ListRepositoryAssociationsOutput {
    /// <p>A list of repository associations that meet the criteria of the request.</p>
    pub repository_association_summaries:
        std::option::Option<std::vec::Vec<crate::model::RepositoryAssociationSummary>>,
    /// <p>The <code>nextToken</code> value to include in a future <code>ListRecommendations</code> request. When the results of a <code>ListRecommendations</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return. </p>
    pub next_token: std::option::Option<std::string::String>,
}
impl ListRepositoryAssociationsOutput {
    /// <p>A list of repository associations that meet the criteria of the request.</p>
    pub fn repository_association_summaries(
        &self,
    ) -> std::option::Option<&[crate::model::RepositoryAssociationSummary]> {
        self.repository_association_summaries.as_deref()
    }
    /// <p>The <code>nextToken</code> value to include in a future <code>ListRecommendations</code> request. When the results of a <code>ListRecommendations</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return. </p>
    pub fn next_token(&self) -> std::option::Option<&str> {
        self.next_token.as_deref()
    }
}
impl std::fmt::Debug for ListRepositoryAssociationsOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("ListRepositoryAssociationsOutput");
        formatter.field(
            "repository_association_summaries",
            &self.repository_association_summaries,
        );
        formatter.field("next_token", &self.next_token);
        formatter.finish()
    }
}
/// See [`ListRepositoryAssociationsOutput`](crate::output::ListRepositoryAssociationsOutput)
pub mod list_repository_associations_output {
    /// A builder for [`ListRepositoryAssociationsOutput`](crate::output::ListRepositoryAssociationsOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) repository_association_summaries:
            std::option::Option<std::vec::Vec<crate::model::RepositoryAssociationSummary>>,
        pub(crate) next_token: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// Appends an item to `repository_association_summaries`.
        ///
        /// To override the contents of this collection use [`set_repository_association_summaries`](Self::set_repository_association_summaries).
        ///
        /// <p>A list of repository associations that meet the criteria of the request.</p>
        pub fn repository_association_summaries(
            mut self,
            input: crate::model::RepositoryAssociationSummary,
        ) -> Self {
            let mut v = self.repository_association_summaries.unwrap_or_default();
            v.push(input);
            self.repository_association_summaries = Some(v);
            self
        }
        /// <p>A list of repository associations that meet the criteria of the request.</p>
        pub fn set_repository_association_summaries(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::RepositoryAssociationSummary>>,
        ) -> Self {
            self.repository_association_summaries = input;
            self
        }
        /// <p>The <code>nextToken</code> value to include in a future <code>ListRecommendations</code> request. When the results of a <code>ListRecommendations</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return. </p>
        pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
            self.next_token = Some(input.into());
            self
        }
        /// <p>The <code>nextToken</code> value to include in a future <code>ListRecommendations</code> request. When the results of a <code>ListRecommendations</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return. </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 [`ListRepositoryAssociationsOutput`](crate::output::ListRepositoryAssociationsOutput)
        pub fn build(self) -> crate::output::ListRepositoryAssociationsOutput {
            crate::output::ListRepositoryAssociationsOutput {
                repository_association_summaries: self.repository_association_summaries,
                next_token: self.next_token,
            }
        }
    }
}
impl ListRepositoryAssociationsOutput {
    /// Creates a new builder-style object to manufacture [`ListRepositoryAssociationsOutput`](crate::output::ListRepositoryAssociationsOutput)
    pub fn builder() -> crate::output::list_repository_associations_output::Builder {
        crate::output::list_repository_associations_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListRecommendationsOutput {
    /// <p> List of recommendations for the requested code review. </p>
    pub recommendation_summaries:
        std::option::Option<std::vec::Vec<crate::model::RecommendationSummary>>,
    /// <p> Pagination token. </p>
    pub next_token: std::option::Option<std::string::String>,
}
impl ListRecommendationsOutput {
    /// <p> List of recommendations for the requested code review. </p>
    pub fn recommendation_summaries(
        &self,
    ) -> std::option::Option<&[crate::model::RecommendationSummary]> {
        self.recommendation_summaries.as_deref()
    }
    /// <p> Pagination token. </p>
    pub fn next_token(&self) -> std::option::Option<&str> {
        self.next_token.as_deref()
    }
}
impl std::fmt::Debug for ListRecommendationsOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("ListRecommendationsOutput");
        formatter.field("recommendation_summaries", &self.recommendation_summaries);
        formatter.field("next_token", &self.next_token);
        formatter.finish()
    }
}
/// See [`ListRecommendationsOutput`](crate::output::ListRecommendationsOutput)
pub mod list_recommendations_output {
    /// A builder for [`ListRecommendationsOutput`](crate::output::ListRecommendationsOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) recommendation_summaries:
            std::option::Option<std::vec::Vec<crate::model::RecommendationSummary>>,
        pub(crate) next_token: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// Appends an item to `recommendation_summaries`.
        ///
        /// To override the contents of this collection use [`set_recommendation_summaries`](Self::set_recommendation_summaries).
        ///
        /// <p> List of recommendations for the requested code review. </p>
        pub fn recommendation_summaries(
            mut self,
            input: crate::model::RecommendationSummary,
        ) -> Self {
            let mut v = self.recommendation_summaries.unwrap_or_default();
            v.push(input);
            self.recommendation_summaries = Some(v);
            self
        }
        /// <p> List of recommendations for the requested code review. </p>
        pub fn set_recommendation_summaries(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::RecommendationSummary>>,
        ) -> Self {
            self.recommendation_summaries = input;
            self
        }
        /// <p> Pagination token. </p>
        pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
            self.next_token = Some(input.into());
            self
        }
        /// <p> Pagination token. </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 [`ListRecommendationsOutput`](crate::output::ListRecommendationsOutput)
        pub fn build(self) -> crate::output::ListRecommendationsOutput {
            crate::output::ListRecommendationsOutput {
                recommendation_summaries: self.recommendation_summaries,
                next_token: self.next_token,
            }
        }
    }
}
impl ListRecommendationsOutput {
    /// Creates a new builder-style object to manufacture [`ListRecommendationsOutput`](crate::output::ListRecommendationsOutput)
    pub fn builder() -> crate::output::list_recommendations_output::Builder {
        crate::output::list_recommendations_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListRecommendationFeedbackOutput {
    /// <p> Recommendation feedback summaries corresponding to the code review ARN. </p>
    pub recommendation_feedback_summaries:
        std::option::Option<std::vec::Vec<crate::model::RecommendationFeedbackSummary>>,
    /// <p> If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. </p>
    pub next_token: std::option::Option<std::string::String>,
}
impl ListRecommendationFeedbackOutput {
    /// <p> Recommendation feedback summaries corresponding to the code review ARN. </p>
    pub fn recommendation_feedback_summaries(
        &self,
    ) -> std::option::Option<&[crate::model::RecommendationFeedbackSummary]> {
        self.recommendation_feedback_summaries.as_deref()
    }
    /// <p> If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. </p>
    pub fn next_token(&self) -> std::option::Option<&str> {
        self.next_token.as_deref()
    }
}
impl std::fmt::Debug for ListRecommendationFeedbackOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("ListRecommendationFeedbackOutput");
        formatter.field(
            "recommendation_feedback_summaries",
            &self.recommendation_feedback_summaries,
        );
        formatter.field("next_token", &self.next_token);
        formatter.finish()
    }
}
/// See [`ListRecommendationFeedbackOutput`](crate::output::ListRecommendationFeedbackOutput)
pub mod list_recommendation_feedback_output {
    /// A builder for [`ListRecommendationFeedbackOutput`](crate::output::ListRecommendationFeedbackOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) recommendation_feedback_summaries:
            std::option::Option<std::vec::Vec<crate::model::RecommendationFeedbackSummary>>,
        pub(crate) next_token: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// Appends an item to `recommendation_feedback_summaries`.
        ///
        /// To override the contents of this collection use [`set_recommendation_feedback_summaries`](Self::set_recommendation_feedback_summaries).
        ///
        /// <p> Recommendation feedback summaries corresponding to the code review ARN. </p>
        pub fn recommendation_feedback_summaries(
            mut self,
            input: crate::model::RecommendationFeedbackSummary,
        ) -> Self {
            let mut v = self.recommendation_feedback_summaries.unwrap_or_default();
            v.push(input);
            self.recommendation_feedback_summaries = Some(v);
            self
        }
        /// <p> Recommendation feedback summaries corresponding to the code review ARN. </p>
        pub fn set_recommendation_feedback_summaries(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::RecommendationFeedbackSummary>>,
        ) -> Self {
            self.recommendation_feedback_summaries = input;
            self
        }
        /// <p> If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. </p>
        pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
            self.next_token = Some(input.into());
            self
        }
        /// <p> If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. </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 [`ListRecommendationFeedbackOutput`](crate::output::ListRecommendationFeedbackOutput)
        pub fn build(self) -> crate::output::ListRecommendationFeedbackOutput {
            crate::output::ListRecommendationFeedbackOutput {
                recommendation_feedback_summaries: self.recommendation_feedback_summaries,
                next_token: self.next_token,
            }
        }
    }
}
impl ListRecommendationFeedbackOutput {
    /// Creates a new builder-style object to manufacture [`ListRecommendationFeedbackOutput`](crate::output::ListRecommendationFeedbackOutput)
    pub fn builder() -> crate::output::list_recommendation_feedback_output::Builder {
        crate::output::list_recommendation_feedback_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListCodeReviewsOutput {
    /// <p> A list of code reviews that meet the criteria of the request. </p>
    pub code_review_summaries: std::option::Option<std::vec::Vec<crate::model::CodeReviewSummary>>,
    /// <p> Pagination token. </p>
    pub next_token: std::option::Option<std::string::String>,
}
impl ListCodeReviewsOutput {
    /// <p> A list of code reviews that meet the criteria of the request. </p>
    pub fn code_review_summaries(&self) -> std::option::Option<&[crate::model::CodeReviewSummary]> {
        self.code_review_summaries.as_deref()
    }
    /// <p> Pagination token. </p>
    pub fn next_token(&self) -> std::option::Option<&str> {
        self.next_token.as_deref()
    }
}
impl std::fmt::Debug for ListCodeReviewsOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("ListCodeReviewsOutput");
        formatter.field("code_review_summaries", &self.code_review_summaries);
        formatter.field("next_token", &self.next_token);
        formatter.finish()
    }
}
/// See [`ListCodeReviewsOutput`](crate::output::ListCodeReviewsOutput)
pub mod list_code_reviews_output {
    /// A builder for [`ListCodeReviewsOutput`](crate::output::ListCodeReviewsOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) code_review_summaries:
            std::option::Option<std::vec::Vec<crate::model::CodeReviewSummary>>,
        pub(crate) next_token: std::option::Option<std::string::String>,
    }
    impl Builder {
        /// Appends an item to `code_review_summaries`.
        ///
        /// To override the contents of this collection use [`set_code_review_summaries`](Self::set_code_review_summaries).
        ///
        /// <p> A list of code reviews that meet the criteria of the request. </p>
        pub fn code_review_summaries(mut self, input: crate::model::CodeReviewSummary) -> Self {
            let mut v = self.code_review_summaries.unwrap_or_default();
            v.push(input);
            self.code_review_summaries = Some(v);
            self
        }
        /// <p> A list of code reviews that meet the criteria of the request. </p>
        pub fn set_code_review_summaries(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::CodeReviewSummary>>,
        ) -> Self {
            self.code_review_summaries = input;
            self
        }
        /// <p> Pagination token. </p>
        pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
            self.next_token = Some(input.into());
            self
        }
        /// <p> Pagination token. </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 [`ListCodeReviewsOutput`](crate::output::ListCodeReviewsOutput)
        pub fn build(self) -> crate::output::ListCodeReviewsOutput {
            crate::output::ListCodeReviewsOutput {
                code_review_summaries: self.code_review_summaries,
                next_token: self.next_token,
            }
        }
    }
}
impl ListCodeReviewsOutput {
    /// Creates a new builder-style object to manufacture [`ListCodeReviewsOutput`](crate::output::ListCodeReviewsOutput)
    pub fn builder() -> crate::output::list_code_reviews_output::Builder {
        crate::output::list_code_reviews_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DisassociateRepositoryOutput {
    /// <p>Information about the disassociated repository.</p>
    pub repository_association: std::option::Option<crate::model::RepositoryAssociation>,
    /// <p> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
    /// <ul>
    /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
    /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
    /// </ul>
    pub tags:
        std::option::Option<std::collections::HashMap<std::string::String, std::string::String>>,
}
impl DisassociateRepositoryOutput {
    /// <p>Information about the disassociated repository.</p>
    pub fn repository_association(
        &self,
    ) -> std::option::Option<&crate::model::RepositoryAssociation> {
        self.repository_association.as_ref()
    }
    /// <p> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
    /// <ul>
    /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
    /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
    /// </ul>
    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 DisassociateRepositoryOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("DisassociateRepositoryOutput");
        formatter.field("repository_association", &self.repository_association);
        formatter.field("tags", &self.tags);
        formatter.finish()
    }
}
/// See [`DisassociateRepositoryOutput`](crate::output::DisassociateRepositoryOutput)
pub mod disassociate_repository_output {
    /// A builder for [`DisassociateRepositoryOutput`](crate::output::DisassociateRepositoryOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) repository_association: std::option::Option<crate::model::RepositoryAssociation>,
        pub(crate) tags: std::option::Option<
            std::collections::HashMap<std::string::String, std::string::String>,
        >,
    }
    impl Builder {
        /// <p>Information about the disassociated repository.</p>
        pub fn repository_association(
            mut self,
            input: crate::model::RepositoryAssociation,
        ) -> Self {
            self.repository_association = Some(input);
            self
        }
        /// <p>Information about the disassociated repository.</p>
        pub fn set_repository_association(
            mut self,
            input: std::option::Option<crate::model::RepositoryAssociation>,
        ) -> Self {
            self.repository_association = input;
            self
        }
        /// Adds a key-value pair to `tags`.
        ///
        /// To override the contents of this collection use [`set_tags`](Self::set_tags).
        ///
        /// <p> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
        /// <ul>
        /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
        /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
        /// </ul>
        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> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
        /// <ul>
        /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
        /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
        /// </ul>
        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 [`DisassociateRepositoryOutput`](crate::output::DisassociateRepositoryOutput)
        pub fn build(self) -> crate::output::DisassociateRepositoryOutput {
            crate::output::DisassociateRepositoryOutput {
                repository_association: self.repository_association,
                tags: self.tags,
            }
        }
    }
}
impl DisassociateRepositoryOutput {
    /// Creates a new builder-style object to manufacture [`DisassociateRepositoryOutput`](crate::output::DisassociateRepositoryOutput)
    pub fn builder() -> crate::output::disassociate_repository_output::Builder {
        crate::output::disassociate_repository_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeRepositoryAssociationOutput {
    /// <p>Information about the repository association.</p>
    pub repository_association: std::option::Option<crate::model::RepositoryAssociation>,
    /// <p> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
    /// <ul>
    /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
    /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
    /// </ul>
    pub tags:
        std::option::Option<std::collections::HashMap<std::string::String, std::string::String>>,
}
impl DescribeRepositoryAssociationOutput {
    /// <p>Information about the repository association.</p>
    pub fn repository_association(
        &self,
    ) -> std::option::Option<&crate::model::RepositoryAssociation> {
        self.repository_association.as_ref()
    }
    /// <p> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
    /// <ul>
    /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
    /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
    /// </ul>
    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 DescribeRepositoryAssociationOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("DescribeRepositoryAssociationOutput");
        formatter.field("repository_association", &self.repository_association);
        formatter.field("tags", &self.tags);
        formatter.finish()
    }
}
/// See [`DescribeRepositoryAssociationOutput`](crate::output::DescribeRepositoryAssociationOutput)
pub mod describe_repository_association_output {
    /// A builder for [`DescribeRepositoryAssociationOutput`](crate::output::DescribeRepositoryAssociationOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) repository_association: std::option::Option<crate::model::RepositoryAssociation>,
        pub(crate) tags: std::option::Option<
            std::collections::HashMap<std::string::String, std::string::String>,
        >,
    }
    impl Builder {
        /// <p>Information about the repository association.</p>
        pub fn repository_association(
            mut self,
            input: crate::model::RepositoryAssociation,
        ) -> Self {
            self.repository_association = Some(input);
            self
        }
        /// <p>Information about the repository association.</p>
        pub fn set_repository_association(
            mut self,
            input: std::option::Option<crate::model::RepositoryAssociation>,
        ) -> Self {
            self.repository_association = input;
            self
        }
        /// Adds a key-value pair to `tags`.
        ///
        /// To override the contents of this collection use [`set_tags`](Self::set_tags).
        ///
        /// <p> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
        /// <ul>
        /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
        /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
        /// </ul>
        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> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
        /// <ul>
        /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
        /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
        /// </ul>
        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 [`DescribeRepositoryAssociationOutput`](crate::output::DescribeRepositoryAssociationOutput)
        pub fn build(self) -> crate::output::DescribeRepositoryAssociationOutput {
            crate::output::DescribeRepositoryAssociationOutput {
                repository_association: self.repository_association,
                tags: self.tags,
            }
        }
    }
}
impl DescribeRepositoryAssociationOutput {
    /// Creates a new builder-style object to manufacture [`DescribeRepositoryAssociationOutput`](crate::output::DescribeRepositoryAssociationOutput)
    pub fn builder() -> crate::output::describe_repository_association_output::Builder {
        crate::output::describe_repository_association_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeRecommendationFeedbackOutput {
    /// <p> The recommendation feedback given by the user. </p>
    pub recommendation_feedback: std::option::Option<crate::model::RecommendationFeedback>,
}
impl DescribeRecommendationFeedbackOutput {
    /// <p> The recommendation feedback given by the user. </p>
    pub fn recommendation_feedback(
        &self,
    ) -> std::option::Option<&crate::model::RecommendationFeedback> {
        self.recommendation_feedback.as_ref()
    }
}
impl std::fmt::Debug for DescribeRecommendationFeedbackOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("DescribeRecommendationFeedbackOutput");
        formatter.field("recommendation_feedback", &self.recommendation_feedback);
        formatter.finish()
    }
}
/// See [`DescribeRecommendationFeedbackOutput`](crate::output::DescribeRecommendationFeedbackOutput)
pub mod describe_recommendation_feedback_output {
    /// A builder for [`DescribeRecommendationFeedbackOutput`](crate::output::DescribeRecommendationFeedbackOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) recommendation_feedback:
            std::option::Option<crate::model::RecommendationFeedback>,
    }
    impl Builder {
        /// <p> The recommendation feedback given by the user. </p>
        pub fn recommendation_feedback(
            mut self,
            input: crate::model::RecommendationFeedback,
        ) -> Self {
            self.recommendation_feedback = Some(input);
            self
        }
        /// <p> The recommendation feedback given by the user. </p>
        pub fn set_recommendation_feedback(
            mut self,
            input: std::option::Option<crate::model::RecommendationFeedback>,
        ) -> Self {
            self.recommendation_feedback = input;
            self
        }
        /// Consumes the builder and constructs a [`DescribeRecommendationFeedbackOutput`](crate::output::DescribeRecommendationFeedbackOutput)
        pub fn build(self) -> crate::output::DescribeRecommendationFeedbackOutput {
            crate::output::DescribeRecommendationFeedbackOutput {
                recommendation_feedback: self.recommendation_feedback,
            }
        }
    }
}
impl DescribeRecommendationFeedbackOutput {
    /// Creates a new builder-style object to manufacture [`DescribeRecommendationFeedbackOutput`](crate::output::DescribeRecommendationFeedbackOutput)
    pub fn builder() -> crate::output::describe_recommendation_feedback_output::Builder {
        crate::output::describe_recommendation_feedback_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DescribeCodeReviewOutput {
    /// <p> Information about the code review. </p>
    pub code_review: std::option::Option<crate::model::CodeReview>,
}
impl DescribeCodeReviewOutput {
    /// <p> Information about the code review. </p>
    pub fn code_review(&self) -> std::option::Option<&crate::model::CodeReview> {
        self.code_review.as_ref()
    }
}
impl std::fmt::Debug for DescribeCodeReviewOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("DescribeCodeReviewOutput");
        formatter.field("code_review", &self.code_review);
        formatter.finish()
    }
}
/// See [`DescribeCodeReviewOutput`](crate::output::DescribeCodeReviewOutput)
pub mod describe_code_review_output {
    /// A builder for [`DescribeCodeReviewOutput`](crate::output::DescribeCodeReviewOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) code_review: std::option::Option<crate::model::CodeReview>,
    }
    impl Builder {
        /// <p> Information about the code review. </p>
        pub fn code_review(mut self, input: crate::model::CodeReview) -> Self {
            self.code_review = Some(input);
            self
        }
        /// <p> Information about the code review. </p>
        pub fn set_code_review(
            mut self,
            input: std::option::Option<crate::model::CodeReview>,
        ) -> Self {
            self.code_review = input;
            self
        }
        /// Consumes the builder and constructs a [`DescribeCodeReviewOutput`](crate::output::DescribeCodeReviewOutput)
        pub fn build(self) -> crate::output::DescribeCodeReviewOutput {
            crate::output::DescribeCodeReviewOutput {
                code_review: self.code_review,
            }
        }
    }
}
impl DescribeCodeReviewOutput {
    /// Creates a new builder-style object to manufacture [`DescribeCodeReviewOutput`](crate::output::DescribeCodeReviewOutput)
    pub fn builder() -> crate::output::describe_code_review_output::Builder {
        crate::output::describe_code_review_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateCodeReviewOutput {
    /// <p> Information about a code review. A code review belongs to the associated repository that contains the reviewed code. </p>
    pub code_review: std::option::Option<crate::model::CodeReview>,
}
impl CreateCodeReviewOutput {
    /// <p> Information about a code review. A code review belongs to the associated repository that contains the reviewed code. </p>
    pub fn code_review(&self) -> std::option::Option<&crate::model::CodeReview> {
        self.code_review.as_ref()
    }
}
impl std::fmt::Debug for CreateCodeReviewOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("CreateCodeReviewOutput");
        formatter.field("code_review", &self.code_review);
        formatter.finish()
    }
}
/// See [`CreateCodeReviewOutput`](crate::output::CreateCodeReviewOutput)
pub mod create_code_review_output {
    /// A builder for [`CreateCodeReviewOutput`](crate::output::CreateCodeReviewOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) code_review: std::option::Option<crate::model::CodeReview>,
    }
    impl Builder {
        /// <p> Information about a code review. A code review belongs to the associated repository that contains the reviewed code. </p>
        pub fn code_review(mut self, input: crate::model::CodeReview) -> Self {
            self.code_review = Some(input);
            self
        }
        /// <p> Information about a code review. A code review belongs to the associated repository that contains the reviewed code. </p>
        pub fn set_code_review(
            mut self,
            input: std::option::Option<crate::model::CodeReview>,
        ) -> Self {
            self.code_review = input;
            self
        }
        /// Consumes the builder and constructs a [`CreateCodeReviewOutput`](crate::output::CreateCodeReviewOutput)
        pub fn build(self) -> crate::output::CreateCodeReviewOutput {
            crate::output::CreateCodeReviewOutput {
                code_review: self.code_review,
            }
        }
    }
}
impl CreateCodeReviewOutput {
    /// Creates a new builder-style object to manufacture [`CreateCodeReviewOutput`](crate::output::CreateCodeReviewOutput)
    pub fn builder() -> crate::output::create_code_review_output::Builder {
        crate::output::create_code_review_output::Builder::default()
    }
}

#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct AssociateRepositoryOutput {
    /// <p>Information about the repository association.</p>
    pub repository_association: std::option::Option<crate::model::RepositoryAssociation>,
    /// <p> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
    /// <ul>
    /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
    /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
    /// </ul>
    pub tags:
        std::option::Option<std::collections::HashMap<std::string::String, std::string::String>>,
}
impl AssociateRepositoryOutput {
    /// <p>Information about the repository association.</p>
    pub fn repository_association(
        &self,
    ) -> std::option::Option<&crate::model::RepositoryAssociation> {
        self.repository_association.as_ref()
    }
    /// <p> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
    /// <ul>
    /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
    /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
    /// </ul>
    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 AssociateRepositoryOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let mut formatter = f.debug_struct("AssociateRepositoryOutput");
        formatter.field("repository_association", &self.repository_association);
        formatter.field("tags", &self.tags);
        formatter.finish()
    }
}
/// See [`AssociateRepositoryOutput`](crate::output::AssociateRepositoryOutput)
pub mod associate_repository_output {
    /// A builder for [`AssociateRepositoryOutput`](crate::output::AssociateRepositoryOutput)
    #[non_exhaustive]
    #[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
    pub struct Builder {
        pub(crate) repository_association: std::option::Option<crate::model::RepositoryAssociation>,
        pub(crate) tags: std::option::Option<
            std::collections::HashMap<std::string::String, std::string::String>,
        >,
    }
    impl Builder {
        /// <p>Information about the repository association.</p>
        pub fn repository_association(
            mut self,
            input: crate::model::RepositoryAssociation,
        ) -> Self {
            self.repository_association = Some(input);
            self
        }
        /// <p>Information about the repository association.</p>
        pub fn set_repository_association(
            mut self,
            input: std::option::Option<crate::model::RepositoryAssociation>,
        ) -> Self {
            self.repository_association = input;
            self
        }
        /// Adds a key-value pair to `tags`.
        ///
        /// To override the contents of this collection use [`set_tags`](Self::set_tags).
        ///
        /// <p> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
        /// <ul>
        /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
        /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
        /// </ul>
        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> An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: </p>
        /// <ul>
        /// <li> <p>A <i>tag key</i> (for example, <code>CostCenter</code>, <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag keys are case sensitive.</p> </li>
        /// <li> <p>An optional field known as a <i>tag value</i> (for example, <code>111122223333</code>, <code>Production</code>, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.</p> </li>
        /// </ul>
        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 [`AssociateRepositoryOutput`](crate::output::AssociateRepositoryOutput)
        pub fn build(self) -> crate::output::AssociateRepositoryOutput {
            crate::output::AssociateRepositoryOutput {
                repository_association: self.repository_association,
                tags: self.tags,
            }
        }
    }
}
impl AssociateRepositoryOutput {
    /// Creates a new builder-style object to manufacture [`AssociateRepositoryOutput`](crate::output::AssociateRepositoryOutput)
    pub fn builder() -> crate::output::associate_repository_output::Builder {
        crate::output::associate_repository_output::Builder::default()
    }
}