aws-sdk-wellarchitected 1.110.0

AWS SDK for AWS Well-Architected Tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
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
// 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 GetAgentRecommendationOutput {
    /// <p>The Amazon Resource Name (ARN) of the recommendation.</p>
    pub recommendation_arn: ::std::string::String,
    /// <p>The Amazon Resource Name (ARN) of the associated profile.</p>
    pub profile_arn: ::std::string::String,
    /// <p>The title of the recommendation.</p>
    pub title: ::std::string::String,
    /// <p>A description of the recommendation.</p>
    pub description: ::std::string::String,
    /// <p>The type of the recommendation.</p>
    pub r#type: crate::types::RecommendationType,
    /// <p>The Well-Architected Tool Framework pillar that the recommendation addresses.</p>
    pub pillar: crate::types::Pillar,
    /// <p>The priority of the recommendation.</p>
    pub priority: crate::types::Priority,
    /// <p>The effort required to implement the recommendation.</p>
    pub effort: crate::types::Effort,
    /// <p>The current status of the recommendation.</p>
    pub status: crate::types::RecommendationStatus,
    /// <p>The current state of the recommendation.</p>
    pub state: crate::types::RecommendationState,
    /// <p>The free-text reason associated with the recommendation's most recent status update.</p>
    pub update_reason: ::std::option::Option<::std::string::String>,
    /// <p>The severity of the recommendation's impact.</p>
    pub impact: crate::types::ImpactCategory,
    /// <p>The return on investment estimate for the recommendation.</p>
    pub roi: ::std::option::Option<crate::types::Roi>,
    /// <p>The number of Amazon Web Services resources this recommendation affects.</p>
    pub number_of_resources: ::std::option::Option<i32>,
    /// <p>The Amazon Web Services services that the recommendation applies to.</p>
    pub aws_services: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    /// <p>The business units that own the affected resources.</p>
    pub business_units: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    /// <p>The applications that the recommendation targets.</p>
    pub applications: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    /// <p>Detailed impact information for the recommendation.</p>
    pub impact_details: ::std::vec::Vec<::std::string::String>,
    /// <p>A list of insights about the recommendation.</p>
    pub insights: ::std::vec::Vec<crate::types::Insight>,
    /// <p>Highlights describing what was detected.</p>
    pub highlights: ::std::vec::Vec<::std::string::String>,
    /// <p>A high-level summary of the recommended remediation.</p>
    pub remediation_summary: ::std::option::Option<crate::types::RemediationSummary>,
    /// <p>Cross-pillar benefits of acting on the recommendation.</p>
    pub cross_pillar_benefits: ::std::option::Option<::std::vec::Vec<crate::types::CrossPillarBenefit>>,
    /// <p>Trade-offs of acting on the recommendation.</p>
    pub trade_offs: ::std::option::Option<::std::vec::Vec<crate::types::TradeOff>>,
    /// <p>Sources that generated this recommendation.</p>
    pub sources: ::std::option::Option<::std::vec::Vec<crate::types::RecommendationSource>>,
    /// <p>Goals that this recommendation targets.</p>
    pub goals: ::std::option::Option<::std::vec::Vec<crate::types::RecommendationGoal>>,
    /// <p>A set of key-value pairs associated with the recommendation, used for cost allocation and access control.</p>
    pub tags: ::std::option::Option<::std::vec::Vec<crate::types::Tag>>,
    /// <p>The identifier of the user or system that created this recommendation.</p>
    pub created_by: ::std::string::String,
    /// <p>The timestamp when the recommendation was created.</p>
    pub created_at: ::aws_smithy_types::DateTime,
    /// <p>The identifier of the user or system that last modified this recommendation.</p>
    pub last_modified_by: ::std::option::Option<::std::string::String>,
    /// <p>The timestamp when the recommendation was last modified.</p>
    pub last_modified_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    /// <p>A list of remediations for the recommendation.</p>
    pub remediations: ::std::option::Option<::std::vec::Vec<crate::types::AgentRecommendationRemediation>>,
    _request_id: Option<String>,
}
impl GetAgentRecommendationOutput {
    /// <p>The Amazon Resource Name (ARN) of the recommendation.</p>
    pub fn recommendation_arn(&self) -> &str {
        use std::ops::Deref;
        self.recommendation_arn.deref()
    }
    /// <p>The Amazon Resource Name (ARN) of the associated profile.</p>
    pub fn profile_arn(&self) -> &str {
        use std::ops::Deref;
        self.profile_arn.deref()
    }
    /// <p>The title of the recommendation.</p>
    pub fn title(&self) -> &str {
        use std::ops::Deref;
        self.title.deref()
    }
    /// <p>A description of the recommendation.</p>
    pub fn description(&self) -> &str {
        use std::ops::Deref;
        self.description.deref()
    }
    /// <p>The type of the recommendation.</p>
    pub fn r#type(&self) -> &crate::types::RecommendationType {
        &self.r#type
    }
    /// <p>The Well-Architected Tool Framework pillar that the recommendation addresses.</p>
    pub fn pillar(&self) -> &crate::types::Pillar {
        &self.pillar
    }
    /// <p>The priority of the recommendation.</p>
    pub fn priority(&self) -> &crate::types::Priority {
        &self.priority
    }
    /// <p>The effort required to implement the recommendation.</p>
    pub fn effort(&self) -> &crate::types::Effort {
        &self.effort
    }
    /// <p>The current status of the recommendation.</p>
    pub fn status(&self) -> &crate::types::RecommendationStatus {
        &self.status
    }
    /// <p>The current state of the recommendation.</p>
    pub fn state(&self) -> &crate::types::RecommendationState {
        &self.state
    }
    /// <p>The free-text reason associated with the recommendation's most recent status update.</p>
    pub fn update_reason(&self) -> ::std::option::Option<&str> {
        self.update_reason.as_deref()
    }
    /// <p>The severity of the recommendation's impact.</p>
    pub fn impact(&self) -> &crate::types::ImpactCategory {
        &self.impact
    }
    /// <p>The return on investment estimate for the recommendation.</p>
    pub fn roi(&self) -> ::std::option::Option<&crate::types::Roi> {
        self.roi.as_ref()
    }
    /// <p>The number of Amazon Web Services resources this recommendation affects.</p>
    pub fn number_of_resources(&self) -> ::std::option::Option<i32> {
        self.number_of_resources
    }
    /// <p>The Amazon Web Services services that the recommendation applies to.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.aws_services.is_none()`.
    pub fn aws_services(&self) -> &[::std::string::String] {
        self.aws_services.as_deref().unwrap_or_default()
    }
    /// <p>The business units that own the affected resources.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.business_units.is_none()`.
    pub fn business_units(&self) -> &[::std::string::String] {
        self.business_units.as_deref().unwrap_or_default()
    }
    /// <p>The applications that the recommendation targets.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.applications.is_none()`.
    pub fn applications(&self) -> &[::std::string::String] {
        self.applications.as_deref().unwrap_or_default()
    }
    /// <p>Detailed impact information for the recommendation.</p>
    pub fn impact_details(&self) -> &[::std::string::String] {
        use std::ops::Deref;
        self.impact_details.deref()
    }
    /// <p>A list of insights about the recommendation.</p>
    pub fn insights(&self) -> &[crate::types::Insight] {
        use std::ops::Deref;
        self.insights.deref()
    }
    /// <p>Highlights describing what was detected.</p>
    pub fn highlights(&self) -> &[::std::string::String] {
        use std::ops::Deref;
        self.highlights.deref()
    }
    /// <p>A high-level summary of the recommended remediation.</p>
    pub fn remediation_summary(&self) -> ::std::option::Option<&crate::types::RemediationSummary> {
        self.remediation_summary.as_ref()
    }
    /// <p>Cross-pillar benefits of acting on the recommendation.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.cross_pillar_benefits.is_none()`.
    pub fn cross_pillar_benefits(&self) -> &[crate::types::CrossPillarBenefit] {
        self.cross_pillar_benefits.as_deref().unwrap_or_default()
    }
    /// <p>Trade-offs of acting on the recommendation.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.trade_offs.is_none()`.
    pub fn trade_offs(&self) -> &[crate::types::TradeOff] {
        self.trade_offs.as_deref().unwrap_or_default()
    }
    /// <p>Sources that generated this recommendation.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.sources.is_none()`.
    pub fn sources(&self) -> &[crate::types::RecommendationSource] {
        self.sources.as_deref().unwrap_or_default()
    }
    /// <p>Goals that this recommendation targets.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.goals.is_none()`.
    pub fn goals(&self) -> &[crate::types::RecommendationGoal] {
        self.goals.as_deref().unwrap_or_default()
    }
    /// <p>A set of key-value pairs associated with the recommendation, used for cost allocation and access control.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.tags.is_none()`.
    pub fn tags(&self) -> &[crate::types::Tag] {
        self.tags.as_deref().unwrap_or_default()
    }
    /// <p>The identifier of the user or system that created this recommendation.</p>
    pub fn created_by(&self) -> &str {
        use std::ops::Deref;
        self.created_by.deref()
    }
    /// <p>The timestamp when the recommendation was created.</p>
    pub fn created_at(&self) -> &::aws_smithy_types::DateTime {
        &self.created_at
    }
    /// <p>The identifier of the user or system that last modified this recommendation.</p>
    pub fn last_modified_by(&self) -> ::std::option::Option<&str> {
        self.last_modified_by.as_deref()
    }
    /// <p>The timestamp when the recommendation was last modified.</p>
    pub fn last_modified_at(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
        self.last_modified_at.as_ref()
    }
    /// <p>A list of remediations for the recommendation.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.remediations.is_none()`.
    pub fn remediations(&self) -> &[crate::types::AgentRecommendationRemediation] {
        self.remediations.as_deref().unwrap_or_default()
    }
}
impl ::std::fmt::Debug for GetAgentRecommendationOutput {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        let mut formatter = f.debug_struct("GetAgentRecommendationOutput");
        formatter.field("recommendation_arn", &self.recommendation_arn);
        formatter.field("profile_arn", &self.profile_arn);
        formatter.field("title", &"*** Sensitive Data Redacted ***");
        formatter.field("description", &"*** Sensitive Data Redacted ***");
        formatter.field("r#type", &self.r#type);
        formatter.field("pillar", &self.pillar);
        formatter.field("priority", &self.priority);
        formatter.field("effort", &self.effort);
        formatter.field("status", &self.status);
        formatter.field("state", &self.state);
        formatter.field("update_reason", &"*** Sensitive Data Redacted ***");
        formatter.field("impact", &self.impact);
        formatter.field("roi", &self.roi);
        formatter.field("number_of_resources", &self.number_of_resources);
        formatter.field("aws_services", &self.aws_services);
        formatter.field("business_units", &self.business_units);
        formatter.field("applications", &self.applications);
        formatter.field("impact_details", &self.impact_details);
        formatter.field("insights", &self.insights);
        formatter.field("highlights", &self.highlights);
        formatter.field("remediation_summary", &self.remediation_summary);
        formatter.field("cross_pillar_benefits", &self.cross_pillar_benefits);
        formatter.field("trade_offs", &self.trade_offs);
        formatter.field("sources", &self.sources);
        formatter.field("goals", &self.goals);
        formatter.field("tags", &self.tags);
        formatter.field("created_by", &self.created_by);
        formatter.field("created_at", &self.created_at);
        formatter.field("last_modified_by", &self.last_modified_by);
        formatter.field("last_modified_at", &self.last_modified_at);
        formatter.field("remediations", &self.remediations);
        formatter.field("_request_id", &self._request_id);
        formatter.finish()
    }
}
impl ::aws_types::request_id::RequestId for GetAgentRecommendationOutput {
    fn request_id(&self) -> Option<&str> {
        self._request_id.as_deref()
    }
}
impl GetAgentRecommendationOutput {
    /// Creates a new builder-style object to manufacture [`GetAgentRecommendationOutput`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput).
    pub fn builder() -> crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder {
        crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::default()
    }
}

/// A builder for [`GetAgentRecommendationOutput`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default)]
#[non_exhaustive]
pub struct GetAgentRecommendationOutputBuilder {
    pub(crate) recommendation_arn: ::std::option::Option<::std::string::String>,
    pub(crate) profile_arn: ::std::option::Option<::std::string::String>,
    pub(crate) title: ::std::option::Option<::std::string::String>,
    pub(crate) description: ::std::option::Option<::std::string::String>,
    pub(crate) r#type: ::std::option::Option<crate::types::RecommendationType>,
    pub(crate) pillar: ::std::option::Option<crate::types::Pillar>,
    pub(crate) priority: ::std::option::Option<crate::types::Priority>,
    pub(crate) effort: ::std::option::Option<crate::types::Effort>,
    pub(crate) status: ::std::option::Option<crate::types::RecommendationStatus>,
    pub(crate) state: ::std::option::Option<crate::types::RecommendationState>,
    pub(crate) update_reason: ::std::option::Option<::std::string::String>,
    pub(crate) impact: ::std::option::Option<crate::types::ImpactCategory>,
    pub(crate) roi: ::std::option::Option<crate::types::Roi>,
    pub(crate) number_of_resources: ::std::option::Option<i32>,
    pub(crate) aws_services: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) business_units: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) applications: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) impact_details: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) insights: ::std::option::Option<::std::vec::Vec<crate::types::Insight>>,
    pub(crate) highlights: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) remediation_summary: ::std::option::Option<crate::types::RemediationSummary>,
    pub(crate) cross_pillar_benefits: ::std::option::Option<::std::vec::Vec<crate::types::CrossPillarBenefit>>,
    pub(crate) trade_offs: ::std::option::Option<::std::vec::Vec<crate::types::TradeOff>>,
    pub(crate) sources: ::std::option::Option<::std::vec::Vec<crate::types::RecommendationSource>>,
    pub(crate) goals: ::std::option::Option<::std::vec::Vec<crate::types::RecommendationGoal>>,
    pub(crate) tags: ::std::option::Option<::std::vec::Vec<crate::types::Tag>>,
    pub(crate) created_by: ::std::option::Option<::std::string::String>,
    pub(crate) created_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) last_modified_by: ::std::option::Option<::std::string::String>,
    pub(crate) last_modified_at: ::std::option::Option<::aws_smithy_types::DateTime>,
    pub(crate) remediations: ::std::option::Option<::std::vec::Vec<crate::types::AgentRecommendationRemediation>>,
    _request_id: Option<String>,
}
impl GetAgentRecommendationOutputBuilder {
    /// <p>The Amazon Resource Name (ARN) of the recommendation.</p>
    /// This field is required.
    pub fn recommendation_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.recommendation_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the recommendation.</p>
    pub fn set_recommendation_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.recommendation_arn = input;
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the recommendation.</p>
    pub fn get_recommendation_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.recommendation_arn
    }
    /// <p>The Amazon Resource Name (ARN) of the associated profile.</p>
    /// This field is required.
    pub fn profile_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.profile_arn = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the associated profile.</p>
    pub fn set_profile_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.profile_arn = input;
        self
    }
    /// <p>The Amazon Resource Name (ARN) of the associated profile.</p>
    pub fn get_profile_arn(&self) -> &::std::option::Option<::std::string::String> {
        &self.profile_arn
    }
    /// <p>The title of the recommendation.</p>
    /// This field is required.
    pub fn title(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.title = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The title of the recommendation.</p>
    pub fn set_title(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.title = input;
        self
    }
    /// <p>The title of the recommendation.</p>
    pub fn get_title(&self) -> &::std::option::Option<::std::string::String> {
        &self.title
    }
    /// <p>A description of the recommendation.</p>
    /// This field is required.
    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.description = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>A description of the recommendation.</p>
    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.description = input;
        self
    }
    /// <p>A description of the recommendation.</p>
    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
        &self.description
    }
    /// <p>The type of the recommendation.</p>
    /// This field is required.
    pub fn r#type(mut self, input: crate::types::RecommendationType) -> Self {
        self.r#type = ::std::option::Option::Some(input);
        self
    }
    /// <p>The type of the recommendation.</p>
    pub fn set_type(mut self, input: ::std::option::Option<crate::types::RecommendationType>) -> Self {
        self.r#type = input;
        self
    }
    /// <p>The type of the recommendation.</p>
    pub fn get_type(&self) -> &::std::option::Option<crate::types::RecommendationType> {
        &self.r#type
    }
    /// <p>The Well-Architected Tool Framework pillar that the recommendation addresses.</p>
    /// This field is required.
    pub fn pillar(mut self, input: crate::types::Pillar) -> Self {
        self.pillar = ::std::option::Option::Some(input);
        self
    }
    /// <p>The Well-Architected Tool Framework pillar that the recommendation addresses.</p>
    pub fn set_pillar(mut self, input: ::std::option::Option<crate::types::Pillar>) -> Self {
        self.pillar = input;
        self
    }
    /// <p>The Well-Architected Tool Framework pillar that the recommendation addresses.</p>
    pub fn get_pillar(&self) -> &::std::option::Option<crate::types::Pillar> {
        &self.pillar
    }
    /// <p>The priority of the recommendation.</p>
    /// This field is required.
    pub fn priority(mut self, input: crate::types::Priority) -> Self {
        self.priority = ::std::option::Option::Some(input);
        self
    }
    /// <p>The priority of the recommendation.</p>
    pub fn set_priority(mut self, input: ::std::option::Option<crate::types::Priority>) -> Self {
        self.priority = input;
        self
    }
    /// <p>The priority of the recommendation.</p>
    pub fn get_priority(&self) -> &::std::option::Option<crate::types::Priority> {
        &self.priority
    }
    /// <p>The effort required to implement the recommendation.</p>
    /// This field is required.
    pub fn effort(mut self, input: crate::types::Effort) -> Self {
        self.effort = ::std::option::Option::Some(input);
        self
    }
    /// <p>The effort required to implement the recommendation.</p>
    pub fn set_effort(mut self, input: ::std::option::Option<crate::types::Effort>) -> Self {
        self.effort = input;
        self
    }
    /// <p>The effort required to implement the recommendation.</p>
    pub fn get_effort(&self) -> &::std::option::Option<crate::types::Effort> {
        &self.effort
    }
    /// <p>The current status of the recommendation.</p>
    /// This field is required.
    pub fn status(mut self, input: crate::types::RecommendationStatus) -> Self {
        self.status = ::std::option::Option::Some(input);
        self
    }
    /// <p>The current status of the recommendation.</p>
    pub fn set_status(mut self, input: ::std::option::Option<crate::types::RecommendationStatus>) -> Self {
        self.status = input;
        self
    }
    /// <p>The current status of the recommendation.</p>
    pub fn get_status(&self) -> &::std::option::Option<crate::types::RecommendationStatus> {
        &self.status
    }
    /// <p>The current state of the recommendation.</p>
    /// This field is required.
    pub fn state(mut self, input: crate::types::RecommendationState) -> Self {
        self.state = ::std::option::Option::Some(input);
        self
    }
    /// <p>The current state of the recommendation.</p>
    pub fn set_state(mut self, input: ::std::option::Option<crate::types::RecommendationState>) -> Self {
        self.state = input;
        self
    }
    /// <p>The current state of the recommendation.</p>
    pub fn get_state(&self) -> &::std::option::Option<crate::types::RecommendationState> {
        &self.state
    }
    /// <p>The free-text reason associated with the recommendation's most recent status update.</p>
    pub fn update_reason(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.update_reason = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The free-text reason associated with the recommendation's most recent status update.</p>
    pub fn set_update_reason(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.update_reason = input;
        self
    }
    /// <p>The free-text reason associated with the recommendation's most recent status update.</p>
    pub fn get_update_reason(&self) -> &::std::option::Option<::std::string::String> {
        &self.update_reason
    }
    /// <p>The severity of the recommendation's impact.</p>
    /// This field is required.
    pub fn impact(mut self, input: crate::types::ImpactCategory) -> Self {
        self.impact = ::std::option::Option::Some(input);
        self
    }
    /// <p>The severity of the recommendation's impact.</p>
    pub fn set_impact(mut self, input: ::std::option::Option<crate::types::ImpactCategory>) -> Self {
        self.impact = input;
        self
    }
    /// <p>The severity of the recommendation's impact.</p>
    pub fn get_impact(&self) -> &::std::option::Option<crate::types::ImpactCategory> {
        &self.impact
    }
    /// <p>The return on investment estimate for the recommendation.</p>
    /// This field is required.
    pub fn roi(mut self, input: crate::types::Roi) -> Self {
        self.roi = ::std::option::Option::Some(input);
        self
    }
    /// <p>The return on investment estimate for the recommendation.</p>
    pub fn set_roi(mut self, input: ::std::option::Option<crate::types::Roi>) -> Self {
        self.roi = input;
        self
    }
    /// <p>The return on investment estimate for the recommendation.</p>
    pub fn get_roi(&self) -> &::std::option::Option<crate::types::Roi> {
        &self.roi
    }
    /// <p>The number of Amazon Web Services resources this recommendation affects.</p>
    pub fn number_of_resources(mut self, input: i32) -> Self {
        self.number_of_resources = ::std::option::Option::Some(input);
        self
    }
    /// <p>The number of Amazon Web Services resources this recommendation affects.</p>
    pub fn set_number_of_resources(mut self, input: ::std::option::Option<i32>) -> Self {
        self.number_of_resources = input;
        self
    }
    /// <p>The number of Amazon Web Services resources this recommendation affects.</p>
    pub fn get_number_of_resources(&self) -> &::std::option::Option<i32> {
        &self.number_of_resources
    }
    /// Appends an item to `aws_services`.
    ///
    /// To override the contents of this collection use [`set_aws_services`](Self::set_aws_services).
    ///
    /// <p>The Amazon Web Services services that the recommendation applies to.</p>
    pub fn aws_services(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.aws_services.unwrap_or_default();
        v.push(input.into());
        self.aws_services = ::std::option::Option::Some(v);
        self
    }
    /// <p>The Amazon Web Services services that the recommendation applies to.</p>
    pub fn set_aws_services(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.aws_services = input;
        self
    }
    /// <p>The Amazon Web Services services that the recommendation applies to.</p>
    pub fn get_aws_services(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.aws_services
    }
    /// Appends an item to `business_units`.
    ///
    /// To override the contents of this collection use [`set_business_units`](Self::set_business_units).
    ///
    /// <p>The business units that own the affected resources.</p>
    pub fn business_units(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.business_units.unwrap_or_default();
        v.push(input.into());
        self.business_units = ::std::option::Option::Some(v);
        self
    }
    /// <p>The business units that own the affected resources.</p>
    pub fn set_business_units(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.business_units = input;
        self
    }
    /// <p>The business units that own the affected resources.</p>
    pub fn get_business_units(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.business_units
    }
    /// Appends an item to `applications`.
    ///
    /// To override the contents of this collection use [`set_applications`](Self::set_applications).
    ///
    /// <p>The applications that the recommendation targets.</p>
    pub fn applications(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.applications.unwrap_or_default();
        v.push(input.into());
        self.applications = ::std::option::Option::Some(v);
        self
    }
    /// <p>The applications that the recommendation targets.</p>
    pub fn set_applications(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.applications = input;
        self
    }
    /// <p>The applications that the recommendation targets.</p>
    pub fn get_applications(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.applications
    }
    /// Appends an item to `impact_details`.
    ///
    /// To override the contents of this collection use [`set_impact_details`](Self::set_impact_details).
    ///
    /// <p>Detailed impact information for the recommendation.</p>
    pub fn impact_details(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.impact_details.unwrap_or_default();
        v.push(input.into());
        self.impact_details = ::std::option::Option::Some(v);
        self
    }
    /// <p>Detailed impact information for the recommendation.</p>
    pub fn set_impact_details(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.impact_details = input;
        self
    }
    /// <p>Detailed impact information for the recommendation.</p>
    pub fn get_impact_details(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.impact_details
    }
    /// Appends an item to `insights`.
    ///
    /// To override the contents of this collection use [`set_insights`](Self::set_insights).
    ///
    /// <p>A list of insights about the recommendation.</p>
    pub fn insights(mut self, input: crate::types::Insight) -> Self {
        let mut v = self.insights.unwrap_or_default();
        v.push(input);
        self.insights = ::std::option::Option::Some(v);
        self
    }
    /// <p>A list of insights about the recommendation.</p>
    pub fn set_insights(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::Insight>>) -> Self {
        self.insights = input;
        self
    }
    /// <p>A list of insights about the recommendation.</p>
    pub fn get_insights(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::Insight>> {
        &self.insights
    }
    /// Appends an item to `highlights`.
    ///
    /// To override the contents of this collection use [`set_highlights`](Self::set_highlights).
    ///
    /// <p>Highlights describing what was detected.</p>
    pub fn highlights(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.highlights.unwrap_or_default();
        v.push(input.into());
        self.highlights = ::std::option::Option::Some(v);
        self
    }
    /// <p>Highlights describing what was detected.</p>
    pub fn set_highlights(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.highlights = input;
        self
    }
    /// <p>Highlights describing what was detected.</p>
    pub fn get_highlights(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.highlights
    }
    /// <p>A high-level summary of the recommended remediation.</p>
    /// This field is required.
    pub fn remediation_summary(mut self, input: crate::types::RemediationSummary) -> Self {
        self.remediation_summary = ::std::option::Option::Some(input);
        self
    }
    /// <p>A high-level summary of the recommended remediation.</p>
    pub fn set_remediation_summary(mut self, input: ::std::option::Option<crate::types::RemediationSummary>) -> Self {
        self.remediation_summary = input;
        self
    }
    /// <p>A high-level summary of the recommended remediation.</p>
    pub fn get_remediation_summary(&self) -> &::std::option::Option<crate::types::RemediationSummary> {
        &self.remediation_summary
    }
    /// Appends an item to `cross_pillar_benefits`.
    ///
    /// To override the contents of this collection use [`set_cross_pillar_benefits`](Self::set_cross_pillar_benefits).
    ///
    /// <p>Cross-pillar benefits of acting on the recommendation.</p>
    pub fn cross_pillar_benefits(mut self, input: crate::types::CrossPillarBenefit) -> Self {
        let mut v = self.cross_pillar_benefits.unwrap_or_default();
        v.push(input);
        self.cross_pillar_benefits = ::std::option::Option::Some(v);
        self
    }
    /// <p>Cross-pillar benefits of acting on the recommendation.</p>
    pub fn set_cross_pillar_benefits(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::CrossPillarBenefit>>) -> Self {
        self.cross_pillar_benefits = input;
        self
    }
    /// <p>Cross-pillar benefits of acting on the recommendation.</p>
    pub fn get_cross_pillar_benefits(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::CrossPillarBenefit>> {
        &self.cross_pillar_benefits
    }
    /// Appends an item to `trade_offs`.
    ///
    /// To override the contents of this collection use [`set_trade_offs`](Self::set_trade_offs).
    ///
    /// <p>Trade-offs of acting on the recommendation.</p>
    pub fn trade_offs(mut self, input: crate::types::TradeOff) -> Self {
        let mut v = self.trade_offs.unwrap_or_default();
        v.push(input);
        self.trade_offs = ::std::option::Option::Some(v);
        self
    }
    /// <p>Trade-offs of acting on the recommendation.</p>
    pub fn set_trade_offs(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::TradeOff>>) -> Self {
        self.trade_offs = input;
        self
    }
    /// <p>Trade-offs of acting on the recommendation.</p>
    pub fn get_trade_offs(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::TradeOff>> {
        &self.trade_offs
    }
    /// Appends an item to `sources`.
    ///
    /// To override the contents of this collection use [`set_sources`](Self::set_sources).
    ///
    /// <p>Sources that generated this recommendation.</p>
    pub fn sources(mut self, input: crate::types::RecommendationSource) -> Self {
        let mut v = self.sources.unwrap_or_default();
        v.push(input);
        self.sources = ::std::option::Option::Some(v);
        self
    }
    /// <p>Sources that generated this recommendation.</p>
    pub fn set_sources(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::RecommendationSource>>) -> Self {
        self.sources = input;
        self
    }
    /// <p>Sources that generated this recommendation.</p>
    pub fn get_sources(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::RecommendationSource>> {
        &self.sources
    }
    /// Appends an item to `goals`.
    ///
    /// To override the contents of this collection use [`set_goals`](Self::set_goals).
    ///
    /// <p>Goals that this recommendation targets.</p>
    pub fn goals(mut self, input: crate::types::RecommendationGoal) -> Self {
        let mut v = self.goals.unwrap_or_default();
        v.push(input);
        self.goals = ::std::option::Option::Some(v);
        self
    }
    /// <p>Goals that this recommendation targets.</p>
    pub fn set_goals(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::RecommendationGoal>>) -> Self {
        self.goals = input;
        self
    }
    /// <p>Goals that this recommendation targets.</p>
    pub fn get_goals(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::RecommendationGoal>> {
        &self.goals
    }
    /// Appends an item to `tags`.
    ///
    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
    ///
    /// <p>A set of key-value pairs associated with the recommendation, used for cost allocation and access control.</p>
    pub fn tags(mut self, input: crate::types::Tag) -> Self {
        let mut v = self.tags.unwrap_or_default();
        v.push(input);
        self.tags = ::std::option::Option::Some(v);
        self
    }
    /// <p>A set of key-value pairs associated with the recommendation, used for cost allocation and access control.</p>
    pub fn set_tags(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::Tag>>) -> Self {
        self.tags = input;
        self
    }
    /// <p>A set of key-value pairs associated with the recommendation, used for cost allocation and access control.</p>
    pub fn get_tags(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::Tag>> {
        &self.tags
    }
    /// <p>The identifier of the user or system that created this recommendation.</p>
    /// This field is required.
    pub fn created_by(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.created_by = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The identifier of the user or system that created this recommendation.</p>
    pub fn set_created_by(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.created_by = input;
        self
    }
    /// <p>The identifier of the user or system that created this recommendation.</p>
    pub fn get_created_by(&self) -> &::std::option::Option<::std::string::String> {
        &self.created_by
    }
    /// <p>The timestamp when the recommendation was created.</p>
    /// This field is required.
    pub fn created_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.created_at = ::std::option::Option::Some(input);
        self
    }
    /// <p>The timestamp when the recommendation was created.</p>
    pub fn set_created_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.created_at = input;
        self
    }
    /// <p>The timestamp when the recommendation was created.</p>
    pub fn get_created_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.created_at
    }
    /// <p>The identifier of the user or system that last modified this recommendation.</p>
    pub fn last_modified_by(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.last_modified_by = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The identifier of the user or system that last modified this recommendation.</p>
    pub fn set_last_modified_by(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.last_modified_by = input;
        self
    }
    /// <p>The identifier of the user or system that last modified this recommendation.</p>
    pub fn get_last_modified_by(&self) -> &::std::option::Option<::std::string::String> {
        &self.last_modified_by
    }
    /// <p>The timestamp when the recommendation was last modified.</p>
    pub fn last_modified_at(mut self, input: ::aws_smithy_types::DateTime) -> Self {
        self.last_modified_at = ::std::option::Option::Some(input);
        self
    }
    /// <p>The timestamp when the recommendation was last modified.</p>
    pub fn set_last_modified_at(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
        self.last_modified_at = input;
        self
    }
    /// <p>The timestamp when the recommendation was last modified.</p>
    pub fn get_last_modified_at(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
        &self.last_modified_at
    }
    /// Appends an item to `remediations`.
    ///
    /// To override the contents of this collection use [`set_remediations`](Self::set_remediations).
    ///
    /// <p>A list of remediations for the recommendation.</p>
    pub fn remediations(mut self, input: crate::types::AgentRecommendationRemediation) -> Self {
        let mut v = self.remediations.unwrap_or_default();
        v.push(input);
        self.remediations = ::std::option::Option::Some(v);
        self
    }
    /// <p>A list of remediations for the recommendation.</p>
    pub fn set_remediations(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::AgentRecommendationRemediation>>) -> Self {
        self.remediations = input;
        self
    }
    /// <p>A list of remediations for the recommendation.</p>
    pub fn get_remediations(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::AgentRecommendationRemediation>> {
        &self.remediations
    }
    pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
        self._request_id = Some(request_id.into());
        self
    }

    pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
        self._request_id = request_id;
        self
    }
    /// Consumes the builder and constructs a [`GetAgentRecommendationOutput`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput).
    /// This method will fail if any of the following fields are not set:
    /// - [`recommendation_arn`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::recommendation_arn)
    /// - [`profile_arn`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::profile_arn)
    /// - [`title`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::title)
    /// - [`description`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::description)
    /// - [`r#type`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::type)
    /// - [`pillar`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::pillar)
    /// - [`priority`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::priority)
    /// - [`effort`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::effort)
    /// - [`status`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::status)
    /// - [`state`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::state)
    /// - [`impact`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::impact)
    /// - [`impact_details`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::impact_details)
    /// - [`insights`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::insights)
    /// - [`highlights`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::highlights)
    /// - [`created_by`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::created_by)
    /// - [`created_at`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationOutputBuilder::created_at)
    pub fn build(
        self,
    ) -> ::std::result::Result<
        crate::operation::get_agent_recommendation::GetAgentRecommendationOutput,
        ::aws_smithy_types::error::operation::BuildError,
    > {
        ::std::result::Result::Ok(crate::operation::get_agent_recommendation::GetAgentRecommendationOutput {
            recommendation_arn: self.recommendation_arn.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "recommendation_arn",
                    "recommendation_arn was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            profile_arn: self.profile_arn.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "profile_arn",
                    "profile_arn was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            title: self.title.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "title",
                    "title was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            description: self.description.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "description",
                    "description was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            r#type: self.r#type.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "r#type",
                    "r#type was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            pillar: self.pillar.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "pillar",
                    "pillar was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            priority: self.priority.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "priority",
                    "priority was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            effort: self.effort.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "effort",
                    "effort was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            status: self.status.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "status",
                    "status was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            state: self.state.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "state",
                    "state was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            update_reason: self.update_reason,
            impact: self.impact.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "impact",
                    "impact was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            roi: self.roi,
            number_of_resources: self.number_of_resources,
            aws_services: self.aws_services,
            business_units: self.business_units,
            applications: self.applications,
            impact_details: self.impact_details.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "impact_details",
                    "impact_details was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            insights: self.insights.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "insights",
                    "insights was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            highlights: self.highlights.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "highlights",
                    "highlights was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            remediation_summary: self.remediation_summary,
            cross_pillar_benefits: self.cross_pillar_benefits,
            trade_offs: self.trade_offs,
            sources: self.sources,
            goals: self.goals,
            tags: self.tags,
            created_by: self.created_by.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "created_by",
                    "created_by was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            created_at: self.created_at.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "created_at",
                    "created_at was not specified but it is required when building GetAgentRecommendationOutput",
                )
            })?,
            last_modified_by: self.last_modified_by,
            last_modified_at: self.last_modified_at,
            remediations: self.remediations,
            _request_id: self._request_id,
        })
    }
}
impl ::std::fmt::Debug for GetAgentRecommendationOutputBuilder {
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        let mut formatter = f.debug_struct("GetAgentRecommendationOutputBuilder");
        formatter.field("recommendation_arn", &self.recommendation_arn);
        formatter.field("profile_arn", &self.profile_arn);
        formatter.field("title", &"*** Sensitive Data Redacted ***");
        formatter.field("description", &"*** Sensitive Data Redacted ***");
        formatter.field("r#type", &self.r#type);
        formatter.field("pillar", &self.pillar);
        formatter.field("priority", &self.priority);
        formatter.field("effort", &self.effort);
        formatter.field("status", &self.status);
        formatter.field("state", &self.state);
        formatter.field("update_reason", &"*** Sensitive Data Redacted ***");
        formatter.field("impact", &self.impact);
        formatter.field("roi", &self.roi);
        formatter.field("number_of_resources", &self.number_of_resources);
        formatter.field("aws_services", &self.aws_services);
        formatter.field("business_units", &self.business_units);
        formatter.field("applications", &self.applications);
        formatter.field("impact_details", &self.impact_details);
        formatter.field("insights", &self.insights);
        formatter.field("highlights", &self.highlights);
        formatter.field("remediation_summary", &self.remediation_summary);
        formatter.field("cross_pillar_benefits", &self.cross_pillar_benefits);
        formatter.field("trade_offs", &self.trade_offs);
        formatter.field("sources", &self.sources);
        formatter.field("goals", &self.goals);
        formatter.field("tags", &self.tags);
        formatter.field("created_by", &self.created_by);
        formatter.field("created_at", &self.created_at);
        formatter.field("last_modified_by", &self.last_modified_by);
        formatter.field("last_modified_at", &self.last_modified_at);
        formatter.field("remediations", &self.remediations);
        formatter.field("_request_id", &self._request_id);
        formatter.finish()
    }
}