aws-sdk-wellarchitected 1.102.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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>Input for workload creation.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct CreateWorkloadInput {
    /// <p>The name of the workload.</p>
    /// <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.</p>
    pub workload_name: ::std::option::Option<::std::string::String>,
    /// <p>The description for the workload.</p>
    pub description: ::std::option::Option<::std::string::String>,
    /// <p>The environment for the workload.</p>
    pub environment: ::std::option::Option<crate::types::WorkloadEnvironment>,
    /// <p>The list of Amazon Web Services account IDs associated with the workload.</p>
    pub account_ids: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    /// <p>The list of Amazon Web Services Regions associated with the workload, for example, <code>us-east-2</code>, or <code>ca-central-1</code>.</p>
    pub aws_regions: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    /// <p>The list of non-Amazon Web Services Regions associated with the workload.</p>
    pub non_aws_regions: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    /// <p>The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its <code>PillarReviewSummary$PillarId</code>.</p>
    pub pillar_priorities: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    /// <p>The URL of the architectural design for the workload.</p>
    pub architectural_design: ::std::option::Option<::std::string::String>,
    /// <p>The review owner of the workload. The name, email address, or identifier for the primary group or individual that owns the workload review process.</p>
    pub review_owner: ::std::option::Option<::std::string::String>,
    /// <p>The industry type for the workload.</p>
    /// <p>If specified, must be one of the following:</p>
    /// <ul>
    /// <li>
    /// <p><code>Agriculture</code></p></li>
    /// <li>
    /// <p><code>Automobile</code></p></li>
    /// <li>
    /// <p><code>Defense</code></p></li>
    /// <li>
    /// <p><code>Design and Engineering</code></p></li>
    /// <li>
    /// <p><code>Digital Advertising</code></p></li>
    /// <li>
    /// <p><code>Education</code></p></li>
    /// <li>
    /// <p><code>Environmental Protection</code></p></li>
    /// <li>
    /// <p><code>Financial Services</code></p></li>
    /// <li>
    /// <p><code>Gaming</code></p></li>
    /// <li>
    /// <p><code>General Public Services</code></p></li>
    /// <li>
    /// <p><code>Healthcare</code></p></li>
    /// <li>
    /// <p><code>Hospitality</code></p></li>
    /// <li>
    /// <p><code>InfoTech</code></p></li>
    /// <li>
    /// <p><code>Justice and Public Safety</code></p></li>
    /// <li>
    /// <p><code>Life Sciences</code></p></li>
    /// <li>
    /// <p><code>Manufacturing</code></p></li>
    /// <li>
    /// <p><code>Media &amp; Entertainment</code></p></li>
    /// <li>
    /// <p><code>Mining &amp; Resources</code></p></li>
    /// <li>
    /// <p><code>Oil &amp; Gas</code></p></li>
    /// <li>
    /// <p><code>Power &amp; Utilities</code></p></li>
    /// <li>
    /// <p><code>Professional Services</code></p></li>
    /// <li>
    /// <p><code>Real Estate &amp; Construction</code></p></li>
    /// <li>
    /// <p><code>Retail &amp; Wholesale</code></p></li>
    /// <li>
    /// <p><code>Social Protection</code></p></li>
    /// <li>
    /// <p><code>Telecommunications</code></p></li>
    /// <li>
    /// <p><code>Travel, Transportation &amp; Logistics</code></p></li>
    /// <li>
    /// <p><code>Other</code></p></li>
    /// </ul>
    pub industry_type: ::std::option::Option<::std::string::String>,
    /// <p>The industry for the workload.</p>
    pub industry: ::std::option::Option<::std::string::String>,
    /// <p>The list of lenses associated with the workload. Each lens is identified by its <code>LensSummary$LensAlias</code>.</p>
    /// <p>If a review template that specifies lenses is applied to the workload, those lenses are applied to the workload in addition to these lenses.</p>
    pub lenses: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    /// <p>The notes associated with the workload.</p>
    /// <p>For a review template, these are the notes that will be associated with the workload when the template is applied.</p>
    pub notes: ::std::option::Option<::std::string::String>,
    /// <p>A unique case-sensitive string used to ensure that this request is idempotent (executes only once).</p>
    /// <p>You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after the original request has completed successfully, the result of the original request is returned.</p><important>
    /// <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.</p>
    /// </important>
    pub client_request_token: ::std::option::Option<::std::string::String>,
    /// <p>The tags to be associated with the workload.</p>
    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    /// <p>Well-Architected discovery configuration settings associated to the workload.</p>
    pub discovery_config: ::std::option::Option<crate::types::WorkloadDiscoveryConfig>,
    /// <p>List of AppRegistry application ARNs associated to the workload.</p>
    pub applications: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    /// <p>The list of profile ARNs associated with the workload.</p>
    pub profile_arns: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    /// <p>The list of review template ARNs to associate with the workload.</p>
    pub review_template_arns: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    /// <p>Jira configuration settings when creating a workload.</p>
    pub jira_configuration: ::std::option::Option<crate::types::WorkloadJiraConfigurationInput>,
}
impl CreateWorkloadInput {
    /// <p>The name of the workload.</p>
    /// <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.</p>
    pub fn workload_name(&self) -> ::std::option::Option<&str> {
        self.workload_name.as_deref()
    }
    /// <p>The description for the workload.</p>
    pub fn description(&self) -> ::std::option::Option<&str> {
        self.description.as_deref()
    }
    /// <p>The environment for the workload.</p>
    pub fn environment(&self) -> ::std::option::Option<&crate::types::WorkloadEnvironment> {
        self.environment.as_ref()
    }
    /// <p>The list of Amazon Web Services account IDs associated with the workload.</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 `.account_ids.is_none()`.
    pub fn account_ids(&self) -> &[::std::string::String] {
        self.account_ids.as_deref().unwrap_or_default()
    }
    /// <p>The list of Amazon Web Services Regions associated with the workload, for example, <code>us-east-2</code>, or <code>ca-central-1</code>.</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_regions.is_none()`.
    pub fn aws_regions(&self) -> &[::std::string::String] {
        self.aws_regions.as_deref().unwrap_or_default()
    }
    /// <p>The list of non-Amazon Web Services Regions associated with the workload.</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 `.non_aws_regions.is_none()`.
    pub fn non_aws_regions(&self) -> &[::std::string::String] {
        self.non_aws_regions.as_deref().unwrap_or_default()
    }
    /// <p>The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its <code>PillarReviewSummary$PillarId</code>.</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 `.pillar_priorities.is_none()`.
    pub fn pillar_priorities(&self) -> &[::std::string::String] {
        self.pillar_priorities.as_deref().unwrap_or_default()
    }
    /// <p>The URL of the architectural design for the workload.</p>
    pub fn architectural_design(&self) -> ::std::option::Option<&str> {
        self.architectural_design.as_deref()
    }
    /// <p>The review owner of the workload. The name, email address, or identifier for the primary group or individual that owns the workload review process.</p>
    pub fn review_owner(&self) -> ::std::option::Option<&str> {
        self.review_owner.as_deref()
    }
    /// <p>The industry type for the workload.</p>
    /// <p>If specified, must be one of the following:</p>
    /// <ul>
    /// <li>
    /// <p><code>Agriculture</code></p></li>
    /// <li>
    /// <p><code>Automobile</code></p></li>
    /// <li>
    /// <p><code>Defense</code></p></li>
    /// <li>
    /// <p><code>Design and Engineering</code></p></li>
    /// <li>
    /// <p><code>Digital Advertising</code></p></li>
    /// <li>
    /// <p><code>Education</code></p></li>
    /// <li>
    /// <p><code>Environmental Protection</code></p></li>
    /// <li>
    /// <p><code>Financial Services</code></p></li>
    /// <li>
    /// <p><code>Gaming</code></p></li>
    /// <li>
    /// <p><code>General Public Services</code></p></li>
    /// <li>
    /// <p><code>Healthcare</code></p></li>
    /// <li>
    /// <p><code>Hospitality</code></p></li>
    /// <li>
    /// <p><code>InfoTech</code></p></li>
    /// <li>
    /// <p><code>Justice and Public Safety</code></p></li>
    /// <li>
    /// <p><code>Life Sciences</code></p></li>
    /// <li>
    /// <p><code>Manufacturing</code></p></li>
    /// <li>
    /// <p><code>Media &amp; Entertainment</code></p></li>
    /// <li>
    /// <p><code>Mining &amp; Resources</code></p></li>
    /// <li>
    /// <p><code>Oil &amp; Gas</code></p></li>
    /// <li>
    /// <p><code>Power &amp; Utilities</code></p></li>
    /// <li>
    /// <p><code>Professional Services</code></p></li>
    /// <li>
    /// <p><code>Real Estate &amp; Construction</code></p></li>
    /// <li>
    /// <p><code>Retail &amp; Wholesale</code></p></li>
    /// <li>
    /// <p><code>Social Protection</code></p></li>
    /// <li>
    /// <p><code>Telecommunications</code></p></li>
    /// <li>
    /// <p><code>Travel, Transportation &amp; Logistics</code></p></li>
    /// <li>
    /// <p><code>Other</code></p></li>
    /// </ul>
    pub fn industry_type(&self) -> ::std::option::Option<&str> {
        self.industry_type.as_deref()
    }
    /// <p>The industry for the workload.</p>
    pub fn industry(&self) -> ::std::option::Option<&str> {
        self.industry.as_deref()
    }
    /// <p>The list of lenses associated with the workload. Each lens is identified by its <code>LensSummary$LensAlias</code>.</p>
    /// <p>If a review template that specifies lenses is applied to the workload, those lenses are applied to the workload in addition to these lenses.</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 `.lenses.is_none()`.
    pub fn lenses(&self) -> &[::std::string::String] {
        self.lenses.as_deref().unwrap_or_default()
    }
    /// <p>The notes associated with the workload.</p>
    /// <p>For a review template, these are the notes that will be associated with the workload when the template is applied.</p>
    pub fn notes(&self) -> ::std::option::Option<&str> {
        self.notes.as_deref()
    }
    /// <p>A unique case-sensitive string used to ensure that this request is idempotent (executes only once).</p>
    /// <p>You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after the original request has completed successfully, the result of the original request is returned.</p><important>
    /// <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.</p>
    /// </important>
    pub fn client_request_token(&self) -> ::std::option::Option<&str> {
        self.client_request_token.as_deref()
    }
    /// <p>The tags to be associated with the workload.</p>
    pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        self.tags.as_ref()
    }
    /// <p>Well-Architected discovery configuration settings associated to the workload.</p>
    pub fn discovery_config(&self) -> ::std::option::Option<&crate::types::WorkloadDiscoveryConfig> {
        self.discovery_config.as_ref()
    }
    /// <p>List of AppRegistry application ARNs associated to the workload.</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>The list of profile ARNs associated with the workload.</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 `.profile_arns.is_none()`.
    pub fn profile_arns(&self) -> &[::std::string::String] {
        self.profile_arns.as_deref().unwrap_or_default()
    }
    /// <p>The list of review template ARNs to associate with the workload.</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 `.review_template_arns.is_none()`.
    pub fn review_template_arns(&self) -> &[::std::string::String] {
        self.review_template_arns.as_deref().unwrap_or_default()
    }
    /// <p>Jira configuration settings when creating a workload.</p>
    pub fn jira_configuration(&self) -> ::std::option::Option<&crate::types::WorkloadJiraConfigurationInput> {
        self.jira_configuration.as_ref()
    }
}
impl CreateWorkloadInput {
    /// Creates a new builder-style object to manufacture [`CreateWorkloadInput`](crate::operation::create_workload::CreateWorkloadInput).
    pub fn builder() -> crate::operation::create_workload::builders::CreateWorkloadInputBuilder {
        crate::operation::create_workload::builders::CreateWorkloadInputBuilder::default()
    }
}

/// A builder for [`CreateWorkloadInput`](crate::operation::create_workload::CreateWorkloadInput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct CreateWorkloadInputBuilder {
    pub(crate) workload_name: ::std::option::Option<::std::string::String>,
    pub(crate) description: ::std::option::Option<::std::string::String>,
    pub(crate) environment: ::std::option::Option<crate::types::WorkloadEnvironment>,
    pub(crate) account_ids: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) aws_regions: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) non_aws_regions: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) pillar_priorities: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) architectural_design: ::std::option::Option<::std::string::String>,
    pub(crate) review_owner: ::std::option::Option<::std::string::String>,
    pub(crate) industry_type: ::std::option::Option<::std::string::String>,
    pub(crate) industry: ::std::option::Option<::std::string::String>,
    pub(crate) lenses: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) notes: ::std::option::Option<::std::string::String>,
    pub(crate) client_request_token: ::std::option::Option<::std::string::String>,
    pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    pub(crate) discovery_config: ::std::option::Option<crate::types::WorkloadDiscoveryConfig>,
    pub(crate) applications: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) profile_arns: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) review_template_arns: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
    pub(crate) jira_configuration: ::std::option::Option<crate::types::WorkloadJiraConfigurationInput>,
}
impl CreateWorkloadInputBuilder {
    /// <p>The name of the workload.</p>
    /// <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.</p>
    /// This field is required.
    pub fn workload_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.workload_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The name of the workload.</p>
    /// <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.</p>
    pub fn set_workload_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.workload_name = input;
        self
    }
    /// <p>The name of the workload.</p>
    /// <p>The name must be unique within an account within an Amazon Web Services Region. Spaces and capitalization are ignored when checking for uniqueness.</p>
    pub fn get_workload_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.workload_name
    }
    /// <p>The description for the workload.</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>The description for the workload.</p>
    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.description = input;
        self
    }
    /// <p>The description for the workload.</p>
    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
        &self.description
    }
    /// <p>The environment for the workload.</p>
    /// This field is required.
    pub fn environment(mut self, input: crate::types::WorkloadEnvironment) -> Self {
        self.environment = ::std::option::Option::Some(input);
        self
    }
    /// <p>The environment for the workload.</p>
    pub fn set_environment(mut self, input: ::std::option::Option<crate::types::WorkloadEnvironment>) -> Self {
        self.environment = input;
        self
    }
    /// <p>The environment for the workload.</p>
    pub fn get_environment(&self) -> &::std::option::Option<crate::types::WorkloadEnvironment> {
        &self.environment
    }
    /// Appends an item to `account_ids`.
    ///
    /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids).
    ///
    /// <p>The list of Amazon Web Services account IDs associated with the workload.</p>
    pub fn account_ids(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.account_ids.unwrap_or_default();
        v.push(input.into());
        self.account_ids = ::std::option::Option::Some(v);
        self
    }
    /// <p>The list of Amazon Web Services account IDs associated with the workload.</p>
    pub fn set_account_ids(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.account_ids = input;
        self
    }
    /// <p>The list of Amazon Web Services account IDs associated with the workload.</p>
    pub fn get_account_ids(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.account_ids
    }
    /// Appends an item to `aws_regions`.
    ///
    /// To override the contents of this collection use [`set_aws_regions`](Self::set_aws_regions).
    ///
    /// <p>The list of Amazon Web Services Regions associated with the workload, for example, <code>us-east-2</code>, or <code>ca-central-1</code>.</p>
    pub fn aws_regions(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.aws_regions.unwrap_or_default();
        v.push(input.into());
        self.aws_regions = ::std::option::Option::Some(v);
        self
    }
    /// <p>The list of Amazon Web Services Regions associated with the workload, for example, <code>us-east-2</code>, or <code>ca-central-1</code>.</p>
    pub fn set_aws_regions(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.aws_regions = input;
        self
    }
    /// <p>The list of Amazon Web Services Regions associated with the workload, for example, <code>us-east-2</code>, or <code>ca-central-1</code>.</p>
    pub fn get_aws_regions(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.aws_regions
    }
    /// Appends an item to `non_aws_regions`.
    ///
    /// To override the contents of this collection use [`set_non_aws_regions`](Self::set_non_aws_regions).
    ///
    /// <p>The list of non-Amazon Web Services Regions associated with the workload.</p>
    pub fn non_aws_regions(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.non_aws_regions.unwrap_or_default();
        v.push(input.into());
        self.non_aws_regions = ::std::option::Option::Some(v);
        self
    }
    /// <p>The list of non-Amazon Web Services Regions associated with the workload.</p>
    pub fn set_non_aws_regions(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.non_aws_regions = input;
        self
    }
    /// <p>The list of non-Amazon Web Services Regions associated with the workload.</p>
    pub fn get_non_aws_regions(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.non_aws_regions
    }
    /// Appends an item to `pillar_priorities`.
    ///
    /// To override the contents of this collection use [`set_pillar_priorities`](Self::set_pillar_priorities).
    ///
    /// <p>The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its <code>PillarReviewSummary$PillarId</code>.</p>
    pub fn pillar_priorities(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.pillar_priorities.unwrap_or_default();
        v.push(input.into());
        self.pillar_priorities = ::std::option::Option::Some(v);
        self
    }
    /// <p>The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its <code>PillarReviewSummary$PillarId</code>.</p>
    pub fn set_pillar_priorities(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.pillar_priorities = input;
        self
    }
    /// <p>The priorities of the pillars, which are used to order items in the improvement plan. Each pillar is represented by its <code>PillarReviewSummary$PillarId</code>.</p>
    pub fn get_pillar_priorities(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.pillar_priorities
    }
    /// <p>The URL of the architectural design for the workload.</p>
    pub fn architectural_design(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.architectural_design = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The URL of the architectural design for the workload.</p>
    pub fn set_architectural_design(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.architectural_design = input;
        self
    }
    /// <p>The URL of the architectural design for the workload.</p>
    pub fn get_architectural_design(&self) -> &::std::option::Option<::std::string::String> {
        &self.architectural_design
    }
    /// <p>The review owner of the workload. The name, email address, or identifier for the primary group or individual that owns the workload review process.</p>
    pub fn review_owner(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.review_owner = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The review owner of the workload. The name, email address, or identifier for the primary group or individual that owns the workload review process.</p>
    pub fn set_review_owner(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.review_owner = input;
        self
    }
    /// <p>The review owner of the workload. The name, email address, or identifier for the primary group or individual that owns the workload review process.</p>
    pub fn get_review_owner(&self) -> &::std::option::Option<::std::string::String> {
        &self.review_owner
    }
    /// <p>The industry type for the workload.</p>
    /// <p>If specified, must be one of the following:</p>
    /// <ul>
    /// <li>
    /// <p><code>Agriculture</code></p></li>
    /// <li>
    /// <p><code>Automobile</code></p></li>
    /// <li>
    /// <p><code>Defense</code></p></li>
    /// <li>
    /// <p><code>Design and Engineering</code></p></li>
    /// <li>
    /// <p><code>Digital Advertising</code></p></li>
    /// <li>
    /// <p><code>Education</code></p></li>
    /// <li>
    /// <p><code>Environmental Protection</code></p></li>
    /// <li>
    /// <p><code>Financial Services</code></p></li>
    /// <li>
    /// <p><code>Gaming</code></p></li>
    /// <li>
    /// <p><code>General Public Services</code></p></li>
    /// <li>
    /// <p><code>Healthcare</code></p></li>
    /// <li>
    /// <p><code>Hospitality</code></p></li>
    /// <li>
    /// <p><code>InfoTech</code></p></li>
    /// <li>
    /// <p><code>Justice and Public Safety</code></p></li>
    /// <li>
    /// <p><code>Life Sciences</code></p></li>
    /// <li>
    /// <p><code>Manufacturing</code></p></li>
    /// <li>
    /// <p><code>Media &amp; Entertainment</code></p></li>
    /// <li>
    /// <p><code>Mining &amp; Resources</code></p></li>
    /// <li>
    /// <p><code>Oil &amp; Gas</code></p></li>
    /// <li>
    /// <p><code>Power &amp; Utilities</code></p></li>
    /// <li>
    /// <p><code>Professional Services</code></p></li>
    /// <li>
    /// <p><code>Real Estate &amp; Construction</code></p></li>
    /// <li>
    /// <p><code>Retail &amp; Wholesale</code></p></li>
    /// <li>
    /// <p><code>Social Protection</code></p></li>
    /// <li>
    /// <p><code>Telecommunications</code></p></li>
    /// <li>
    /// <p><code>Travel, Transportation &amp; Logistics</code></p></li>
    /// <li>
    /// <p><code>Other</code></p></li>
    /// </ul>
    pub fn industry_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.industry_type = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The industry type for the workload.</p>
    /// <p>If specified, must be one of the following:</p>
    /// <ul>
    /// <li>
    /// <p><code>Agriculture</code></p></li>
    /// <li>
    /// <p><code>Automobile</code></p></li>
    /// <li>
    /// <p><code>Defense</code></p></li>
    /// <li>
    /// <p><code>Design and Engineering</code></p></li>
    /// <li>
    /// <p><code>Digital Advertising</code></p></li>
    /// <li>
    /// <p><code>Education</code></p></li>
    /// <li>
    /// <p><code>Environmental Protection</code></p></li>
    /// <li>
    /// <p><code>Financial Services</code></p></li>
    /// <li>
    /// <p><code>Gaming</code></p></li>
    /// <li>
    /// <p><code>General Public Services</code></p></li>
    /// <li>
    /// <p><code>Healthcare</code></p></li>
    /// <li>
    /// <p><code>Hospitality</code></p></li>
    /// <li>
    /// <p><code>InfoTech</code></p></li>
    /// <li>
    /// <p><code>Justice and Public Safety</code></p></li>
    /// <li>
    /// <p><code>Life Sciences</code></p></li>
    /// <li>
    /// <p><code>Manufacturing</code></p></li>
    /// <li>
    /// <p><code>Media &amp; Entertainment</code></p></li>
    /// <li>
    /// <p><code>Mining &amp; Resources</code></p></li>
    /// <li>
    /// <p><code>Oil &amp; Gas</code></p></li>
    /// <li>
    /// <p><code>Power &amp; Utilities</code></p></li>
    /// <li>
    /// <p><code>Professional Services</code></p></li>
    /// <li>
    /// <p><code>Real Estate &amp; Construction</code></p></li>
    /// <li>
    /// <p><code>Retail &amp; Wholesale</code></p></li>
    /// <li>
    /// <p><code>Social Protection</code></p></li>
    /// <li>
    /// <p><code>Telecommunications</code></p></li>
    /// <li>
    /// <p><code>Travel, Transportation &amp; Logistics</code></p></li>
    /// <li>
    /// <p><code>Other</code></p></li>
    /// </ul>
    pub fn set_industry_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.industry_type = input;
        self
    }
    /// <p>The industry type for the workload.</p>
    /// <p>If specified, must be one of the following:</p>
    /// <ul>
    /// <li>
    /// <p><code>Agriculture</code></p></li>
    /// <li>
    /// <p><code>Automobile</code></p></li>
    /// <li>
    /// <p><code>Defense</code></p></li>
    /// <li>
    /// <p><code>Design and Engineering</code></p></li>
    /// <li>
    /// <p><code>Digital Advertising</code></p></li>
    /// <li>
    /// <p><code>Education</code></p></li>
    /// <li>
    /// <p><code>Environmental Protection</code></p></li>
    /// <li>
    /// <p><code>Financial Services</code></p></li>
    /// <li>
    /// <p><code>Gaming</code></p></li>
    /// <li>
    /// <p><code>General Public Services</code></p></li>
    /// <li>
    /// <p><code>Healthcare</code></p></li>
    /// <li>
    /// <p><code>Hospitality</code></p></li>
    /// <li>
    /// <p><code>InfoTech</code></p></li>
    /// <li>
    /// <p><code>Justice and Public Safety</code></p></li>
    /// <li>
    /// <p><code>Life Sciences</code></p></li>
    /// <li>
    /// <p><code>Manufacturing</code></p></li>
    /// <li>
    /// <p><code>Media &amp; Entertainment</code></p></li>
    /// <li>
    /// <p><code>Mining &amp; Resources</code></p></li>
    /// <li>
    /// <p><code>Oil &amp; Gas</code></p></li>
    /// <li>
    /// <p><code>Power &amp; Utilities</code></p></li>
    /// <li>
    /// <p><code>Professional Services</code></p></li>
    /// <li>
    /// <p><code>Real Estate &amp; Construction</code></p></li>
    /// <li>
    /// <p><code>Retail &amp; Wholesale</code></p></li>
    /// <li>
    /// <p><code>Social Protection</code></p></li>
    /// <li>
    /// <p><code>Telecommunications</code></p></li>
    /// <li>
    /// <p><code>Travel, Transportation &amp; Logistics</code></p></li>
    /// <li>
    /// <p><code>Other</code></p></li>
    /// </ul>
    pub fn get_industry_type(&self) -> &::std::option::Option<::std::string::String> {
        &self.industry_type
    }
    /// <p>The industry for the workload.</p>
    pub fn industry(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.industry = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The industry for the workload.</p>
    pub fn set_industry(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.industry = input;
        self
    }
    /// <p>The industry for the workload.</p>
    pub fn get_industry(&self) -> &::std::option::Option<::std::string::String> {
        &self.industry
    }
    /// Appends an item to `lenses`.
    ///
    /// To override the contents of this collection use [`set_lenses`](Self::set_lenses).
    ///
    /// <p>The list of lenses associated with the workload. Each lens is identified by its <code>LensSummary$LensAlias</code>.</p>
    /// <p>If a review template that specifies lenses is applied to the workload, those lenses are applied to the workload in addition to these lenses.</p>
    pub fn lenses(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.lenses.unwrap_or_default();
        v.push(input.into());
        self.lenses = ::std::option::Option::Some(v);
        self
    }
    /// <p>The list of lenses associated with the workload. Each lens is identified by its <code>LensSummary$LensAlias</code>.</p>
    /// <p>If a review template that specifies lenses is applied to the workload, those lenses are applied to the workload in addition to these lenses.</p>
    pub fn set_lenses(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.lenses = input;
        self
    }
    /// <p>The list of lenses associated with the workload. Each lens is identified by its <code>LensSummary$LensAlias</code>.</p>
    /// <p>If a review template that specifies lenses is applied to the workload, those lenses are applied to the workload in addition to these lenses.</p>
    pub fn get_lenses(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.lenses
    }
    /// <p>The notes associated with the workload.</p>
    /// <p>For a review template, these are the notes that will be associated with the workload when the template is applied.</p>
    pub fn notes(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.notes = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>The notes associated with the workload.</p>
    /// <p>For a review template, these are the notes that will be associated with the workload when the template is applied.</p>
    pub fn set_notes(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.notes = input;
        self
    }
    /// <p>The notes associated with the workload.</p>
    /// <p>For a review template, these are the notes that will be associated with the workload when the template is applied.</p>
    pub fn get_notes(&self) -> &::std::option::Option<::std::string::String> {
        &self.notes
    }
    /// <p>A unique case-sensitive string used to ensure that this request is idempotent (executes only once).</p>
    /// <p>You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after the original request has completed successfully, the result of the original request is returned.</p><important>
    /// <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.</p>
    /// </important>
    /// This field is required.
    pub fn client_request_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.client_request_token = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>A unique case-sensitive string used to ensure that this request is idempotent (executes only once).</p>
    /// <p>You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after the original request has completed successfully, the result of the original request is returned.</p><important>
    /// <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.</p>
    /// </important>
    pub fn set_client_request_token(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.client_request_token = input;
        self
    }
    /// <p>A unique case-sensitive string used to ensure that this request is idempotent (executes only once).</p>
    /// <p>You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after the original request has completed successfully, the result of the original request is returned.</p><important>
    /// <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.</p>
    /// </important>
    pub fn get_client_request_token(&self) -> &::std::option::Option<::std::string::String> {
        &self.client_request_token
    }
    /// Adds a key-value pair to `tags`.
    ///
    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
    ///
    /// <p>The tags to be associated with the workload.</p>
    pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut hash_map = self.tags.unwrap_or_default();
        hash_map.insert(k.into(), v.into());
        self.tags = ::std::option::Option::Some(hash_map);
        self
    }
    /// <p>The tags to be associated with the workload.</p>
    pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
        self.tags = input;
        self
    }
    /// <p>The tags to be associated with the workload.</p>
    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        &self.tags
    }
    /// <p>Well-Architected discovery configuration settings associated to the workload.</p>
    pub fn discovery_config(mut self, input: crate::types::WorkloadDiscoveryConfig) -> Self {
        self.discovery_config = ::std::option::Option::Some(input);
        self
    }
    /// <p>Well-Architected discovery configuration settings associated to the workload.</p>
    pub fn set_discovery_config(mut self, input: ::std::option::Option<crate::types::WorkloadDiscoveryConfig>) -> Self {
        self.discovery_config = input;
        self
    }
    /// <p>Well-Architected discovery configuration settings associated to the workload.</p>
    pub fn get_discovery_config(&self) -> &::std::option::Option<crate::types::WorkloadDiscoveryConfig> {
        &self.discovery_config
    }
    /// Appends an item to `applications`.
    ///
    /// To override the contents of this collection use [`set_applications`](Self::set_applications).
    ///
    /// <p>List of AppRegistry application ARNs associated to the workload.</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>List of AppRegistry application ARNs associated to the workload.</p>
    pub fn set_applications(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.applications = input;
        self
    }
    /// <p>List of AppRegistry application ARNs associated to the workload.</p>
    pub fn get_applications(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.applications
    }
    /// Appends an item to `profile_arns`.
    ///
    /// To override the contents of this collection use [`set_profile_arns`](Self::set_profile_arns).
    ///
    /// <p>The list of profile ARNs associated with the workload.</p>
    pub fn profile_arns(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.profile_arns.unwrap_or_default();
        v.push(input.into());
        self.profile_arns = ::std::option::Option::Some(v);
        self
    }
    /// <p>The list of profile ARNs associated with the workload.</p>
    pub fn set_profile_arns(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.profile_arns = input;
        self
    }
    /// <p>The list of profile ARNs associated with the workload.</p>
    pub fn get_profile_arns(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.profile_arns
    }
    /// Appends an item to `review_template_arns`.
    ///
    /// To override the contents of this collection use [`set_review_template_arns`](Self::set_review_template_arns).
    ///
    /// <p>The list of review template ARNs to associate with the workload.</p>
    pub fn review_template_arns(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.review_template_arns.unwrap_or_default();
        v.push(input.into());
        self.review_template_arns = ::std::option::Option::Some(v);
        self
    }
    /// <p>The list of review template ARNs to associate with the workload.</p>
    pub fn set_review_template_arns(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.review_template_arns = input;
        self
    }
    /// <p>The list of review template ARNs to associate with the workload.</p>
    pub fn get_review_template_arns(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.review_template_arns
    }
    /// <p>Jira configuration settings when creating a workload.</p>
    pub fn jira_configuration(mut self, input: crate::types::WorkloadJiraConfigurationInput) -> Self {
        self.jira_configuration = ::std::option::Option::Some(input);
        self
    }
    /// <p>Jira configuration settings when creating a workload.</p>
    pub fn set_jira_configuration(mut self, input: ::std::option::Option<crate::types::WorkloadJiraConfigurationInput>) -> Self {
        self.jira_configuration = input;
        self
    }
    /// <p>Jira configuration settings when creating a workload.</p>
    pub fn get_jira_configuration(&self) -> &::std::option::Option<crate::types::WorkloadJiraConfigurationInput> {
        &self.jira_configuration
    }
    /// Consumes the builder and constructs a [`CreateWorkloadInput`](crate::operation::create_workload::CreateWorkloadInput).
    pub fn build(
        self,
    ) -> ::std::result::Result<crate::operation::create_workload::CreateWorkloadInput, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::operation::create_workload::CreateWorkloadInput {
            workload_name: self.workload_name,
            description: self.description,
            environment: self.environment,
            account_ids: self.account_ids,
            aws_regions: self.aws_regions,
            non_aws_regions: self.non_aws_regions,
            pillar_priorities: self.pillar_priorities,
            architectural_design: self.architectural_design,
            review_owner: self.review_owner,
            industry_type: self.industry_type,
            industry: self.industry,
            lenses: self.lenses,
            notes: self.notes,
            client_request_token: self.client_request_token,
            tags: self.tags,
            discovery_config: self.discovery_config,
            applications: self.applications,
            profile_arns: self.profile_arns,
            review_template_arns: self.review_template_arns,
            jira_configuration: self.jira_configuration,
        })
    }
}