aws_sdk_wellarchitected/operation/update_workload/
builders.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub use crate::operation::update_workload::_update_workload_output::UpdateWorkloadOutputBuilder;
3
4pub use crate::operation::update_workload::_update_workload_input::UpdateWorkloadInputBuilder;
5
6impl crate::operation::update_workload::builders::UpdateWorkloadInputBuilder {
7    /// Sends a request with this input using the given client.
8    pub async fn send_with(
9        self,
10        client: &crate::Client,
11    ) -> ::std::result::Result<
12        crate::operation::update_workload::UpdateWorkloadOutput,
13        ::aws_smithy_runtime_api::client::result::SdkError<
14            crate::operation::update_workload::UpdateWorkloadError,
15            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
16        >,
17    > {
18        let mut fluent_builder = client.update_workload();
19        fluent_builder.inner = self;
20        fluent_builder.send().await
21    }
22}
23/// Fluent builder constructing a request to `UpdateWorkload`.
24///
25/// <p>Update an existing workload.</p>
26#[derive(::std::clone::Clone, ::std::fmt::Debug)]
27pub struct UpdateWorkloadFluentBuilder {
28    handle: ::std::sync::Arc<crate::client::Handle>,
29    inner: crate::operation::update_workload::builders::UpdateWorkloadInputBuilder,
30    config_override: ::std::option::Option<crate::config::Builder>,
31}
32impl
33    crate::client::customize::internal::CustomizableSend<
34        crate::operation::update_workload::UpdateWorkloadOutput,
35        crate::operation::update_workload::UpdateWorkloadError,
36    > for UpdateWorkloadFluentBuilder
37{
38    fn send(
39        self,
40        config_override: crate::config::Builder,
41    ) -> crate::client::customize::internal::BoxFuture<
42        crate::client::customize::internal::SendResult<
43            crate::operation::update_workload::UpdateWorkloadOutput,
44            crate::operation::update_workload::UpdateWorkloadError,
45        >,
46    > {
47        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
48    }
49}
50impl UpdateWorkloadFluentBuilder {
51    /// Creates a new `UpdateWorkloadFluentBuilder`.
52    pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
53        Self {
54            handle,
55            inner: ::std::default::Default::default(),
56            config_override: ::std::option::Option::None,
57        }
58    }
59    /// Access the UpdateWorkload as a reference.
60    pub fn as_input(&self) -> &crate::operation::update_workload::builders::UpdateWorkloadInputBuilder {
61        &self.inner
62    }
63    /// Sends the request and returns the response.
64    ///
65    /// If an error occurs, an `SdkError` will be returned with additional details that
66    /// can be matched against.
67    ///
68    /// By default, any retryable failures will be retried twice. Retry behavior
69    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
70    /// set when configuring the client.
71    pub async fn send(
72        self,
73    ) -> ::std::result::Result<
74        crate::operation::update_workload::UpdateWorkloadOutput,
75        ::aws_smithy_runtime_api::client::result::SdkError<
76            crate::operation::update_workload::UpdateWorkloadError,
77            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
78        >,
79    > {
80        let input = self
81            .inner
82            .build()
83            .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
84        let runtime_plugins = crate::operation::update_workload::UpdateWorkload::operation_runtime_plugins(
85            self.handle.runtime_plugins.clone(),
86            &self.handle.conf,
87            self.config_override,
88        );
89        crate::operation::update_workload::UpdateWorkload::orchestrate(&runtime_plugins, input).await
90    }
91
92    /// Consumes this builder, creating a customizable operation that can be modified before being sent.
93    pub fn customize(
94        self,
95    ) -> crate::client::customize::CustomizableOperation<
96        crate::operation::update_workload::UpdateWorkloadOutput,
97        crate::operation::update_workload::UpdateWorkloadError,
98        Self,
99    > {
100        crate::client::customize::CustomizableOperation::new(self)
101    }
102    pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
103        self.set_config_override(::std::option::Option::Some(config_override.into()));
104        self
105    }
106
107    pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
108        self.config_override = config_override;
109        self
110    }
111    /// <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
112    pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
113        self.inner = self.inner.workload_id(input.into());
114        self
115    }
116    /// <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
117    pub fn set_workload_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
118        self.inner = self.inner.set_workload_id(input);
119        self
120    }
121    /// <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
122    pub fn get_workload_id(&self) -> &::std::option::Option<::std::string::String> {
123        self.inner.get_workload_id()
124    }
125    /// <p>The name of the workload.</p>
126    /// <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>
127    pub fn workload_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
128        self.inner = self.inner.workload_name(input.into());
129        self
130    }
131    /// <p>The name of the workload.</p>
132    /// <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>
133    pub fn set_workload_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
134        self.inner = self.inner.set_workload_name(input);
135        self
136    }
137    /// <p>The name of the workload.</p>
138    /// <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>
139    pub fn get_workload_name(&self) -> &::std::option::Option<::std::string::String> {
140        self.inner.get_workload_name()
141    }
142    /// <p>The description for the workload.</p>
143    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
144        self.inner = self.inner.description(input.into());
145        self
146    }
147    /// <p>The description for the workload.</p>
148    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
149        self.inner = self.inner.set_description(input);
150        self
151    }
152    /// <p>The description for the workload.</p>
153    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
154        self.inner.get_description()
155    }
156    /// <p>The environment for the workload.</p>
157    pub fn environment(mut self, input: crate::types::WorkloadEnvironment) -> Self {
158        self.inner = self.inner.environment(input);
159        self
160    }
161    /// <p>The environment for the workload.</p>
162    pub fn set_environment(mut self, input: ::std::option::Option<crate::types::WorkloadEnvironment>) -> Self {
163        self.inner = self.inner.set_environment(input);
164        self
165    }
166    /// <p>The environment for the workload.</p>
167    pub fn get_environment(&self) -> &::std::option::Option<crate::types::WorkloadEnvironment> {
168        self.inner.get_environment()
169    }
170    ///
171    /// Appends an item to `AccountIds`.
172    ///
173    /// To override the contents of this collection use [`set_account_ids`](Self::set_account_ids).
174    ///
175    /// <p>The list of Amazon Web Services account IDs associated with the workload.</p>
176    pub fn account_ids(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
177        self.inner = self.inner.account_ids(input.into());
178        self
179    }
180    /// <p>The list of Amazon Web Services account IDs associated with the workload.</p>
181    pub fn set_account_ids(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
182        self.inner = self.inner.set_account_ids(input);
183        self
184    }
185    /// <p>The list of Amazon Web Services account IDs associated with the workload.</p>
186    pub fn get_account_ids(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
187        self.inner.get_account_ids()
188    }
189    ///
190    /// Appends an item to `AwsRegions`.
191    ///
192    /// To override the contents of this collection use [`set_aws_regions`](Self::set_aws_regions).
193    ///
194    /// <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>
195    pub fn aws_regions(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
196        self.inner = self.inner.aws_regions(input.into());
197        self
198    }
199    /// <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>
200    pub fn set_aws_regions(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
201        self.inner = self.inner.set_aws_regions(input);
202        self
203    }
204    /// <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>
205    pub fn get_aws_regions(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
206        self.inner.get_aws_regions()
207    }
208    ///
209    /// Appends an item to `NonAwsRegions`.
210    ///
211    /// To override the contents of this collection use [`set_non_aws_regions`](Self::set_non_aws_regions).
212    ///
213    /// <p>The list of non-Amazon Web Services Regions associated with the workload.</p>
214    pub fn non_aws_regions(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
215        self.inner = self.inner.non_aws_regions(input.into());
216        self
217    }
218    /// <p>The list of non-Amazon Web Services Regions associated with the workload.</p>
219    pub fn set_non_aws_regions(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
220        self.inner = self.inner.set_non_aws_regions(input);
221        self
222    }
223    /// <p>The list of non-Amazon Web Services Regions associated with the workload.</p>
224    pub fn get_non_aws_regions(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
225        self.inner.get_non_aws_regions()
226    }
227    ///
228    /// Appends an item to `PillarPriorities`.
229    ///
230    /// To override the contents of this collection use [`set_pillar_priorities`](Self::set_pillar_priorities).
231    ///
232    /// <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>
233    pub fn pillar_priorities(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
234        self.inner = self.inner.pillar_priorities(input.into());
235        self
236    }
237    /// <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>
238    pub fn set_pillar_priorities(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
239        self.inner = self.inner.set_pillar_priorities(input);
240        self
241    }
242    /// <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>
243    pub fn get_pillar_priorities(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
244        self.inner.get_pillar_priorities()
245    }
246    /// <p>The URL of the architectural design for the workload.</p>
247    pub fn architectural_design(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
248        self.inner = self.inner.architectural_design(input.into());
249        self
250    }
251    /// <p>The URL of the architectural design for the workload.</p>
252    pub fn set_architectural_design(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
253        self.inner = self.inner.set_architectural_design(input);
254        self
255    }
256    /// <p>The URL of the architectural design for the workload.</p>
257    pub fn get_architectural_design(&self) -> &::std::option::Option<::std::string::String> {
258        self.inner.get_architectural_design()
259    }
260    /// <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>
261    pub fn review_owner(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
262        self.inner = self.inner.review_owner(input.into());
263        self
264    }
265    /// <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>
266    pub fn set_review_owner(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
267        self.inner = self.inner.set_review_owner(input);
268        self
269    }
270    /// <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>
271    pub fn get_review_owner(&self) -> &::std::option::Option<::std::string::String> {
272        self.inner.get_review_owner()
273    }
274    /// <p>Flag indicating whether the workload owner has acknowledged that the <i>Review owner</i> field is required.</p>
275    /// <p>If a <b>Review owner</b> is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.</p>
276    pub fn is_review_owner_update_acknowledged(mut self, input: bool) -> Self {
277        self.inner = self.inner.is_review_owner_update_acknowledged(input);
278        self
279    }
280    /// <p>Flag indicating whether the workload owner has acknowledged that the <i>Review owner</i> field is required.</p>
281    /// <p>If a <b>Review owner</b> is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.</p>
282    pub fn set_is_review_owner_update_acknowledged(mut self, input: ::std::option::Option<bool>) -> Self {
283        self.inner = self.inner.set_is_review_owner_update_acknowledged(input);
284        self
285    }
286    /// <p>Flag indicating whether the workload owner has acknowledged that the <i>Review owner</i> field is required.</p>
287    /// <p>If a <b>Review owner</b> is not added to the workload within 60 days of acknowledgement, access to the workload is restricted until an owner is added.</p>
288    pub fn get_is_review_owner_update_acknowledged(&self) -> &::std::option::Option<bool> {
289        self.inner.get_is_review_owner_update_acknowledged()
290    }
291    /// <p>The industry type for the workload.</p>
292    /// <p>If specified, must be one of the following:</p>
293    /// <ul>
294    /// <li>
295    /// <p><code>Agriculture</code></p></li>
296    /// <li>
297    /// <p><code>Automobile</code></p></li>
298    /// <li>
299    /// <p><code>Defense</code></p></li>
300    /// <li>
301    /// <p><code>Design and Engineering</code></p></li>
302    /// <li>
303    /// <p><code>Digital Advertising</code></p></li>
304    /// <li>
305    /// <p><code>Education</code></p></li>
306    /// <li>
307    /// <p><code>Environmental Protection</code></p></li>
308    /// <li>
309    /// <p><code>Financial Services</code></p></li>
310    /// <li>
311    /// <p><code>Gaming</code></p></li>
312    /// <li>
313    /// <p><code>General Public Services</code></p></li>
314    /// <li>
315    /// <p><code>Healthcare</code></p></li>
316    /// <li>
317    /// <p><code>Hospitality</code></p></li>
318    /// <li>
319    /// <p><code>InfoTech</code></p></li>
320    /// <li>
321    /// <p><code>Justice and Public Safety</code></p></li>
322    /// <li>
323    /// <p><code>Life Sciences</code></p></li>
324    /// <li>
325    /// <p><code>Manufacturing</code></p></li>
326    /// <li>
327    /// <p><code>Media &amp; Entertainment</code></p></li>
328    /// <li>
329    /// <p><code>Mining &amp; Resources</code></p></li>
330    /// <li>
331    /// <p><code>Oil &amp; Gas</code></p></li>
332    /// <li>
333    /// <p><code>Power &amp; Utilities</code></p></li>
334    /// <li>
335    /// <p><code>Professional Services</code></p></li>
336    /// <li>
337    /// <p><code>Real Estate &amp; Construction</code></p></li>
338    /// <li>
339    /// <p><code>Retail &amp; Wholesale</code></p></li>
340    /// <li>
341    /// <p><code>Social Protection</code></p></li>
342    /// <li>
343    /// <p><code>Telecommunications</code></p></li>
344    /// <li>
345    /// <p><code>Travel, Transportation &amp; Logistics</code></p></li>
346    /// <li>
347    /// <p><code>Other</code></p></li>
348    /// </ul>
349    pub fn industry_type(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
350        self.inner = self.inner.industry_type(input.into());
351        self
352    }
353    /// <p>The industry type for the workload.</p>
354    /// <p>If specified, must be one of the following:</p>
355    /// <ul>
356    /// <li>
357    /// <p><code>Agriculture</code></p></li>
358    /// <li>
359    /// <p><code>Automobile</code></p></li>
360    /// <li>
361    /// <p><code>Defense</code></p></li>
362    /// <li>
363    /// <p><code>Design and Engineering</code></p></li>
364    /// <li>
365    /// <p><code>Digital Advertising</code></p></li>
366    /// <li>
367    /// <p><code>Education</code></p></li>
368    /// <li>
369    /// <p><code>Environmental Protection</code></p></li>
370    /// <li>
371    /// <p><code>Financial Services</code></p></li>
372    /// <li>
373    /// <p><code>Gaming</code></p></li>
374    /// <li>
375    /// <p><code>General Public Services</code></p></li>
376    /// <li>
377    /// <p><code>Healthcare</code></p></li>
378    /// <li>
379    /// <p><code>Hospitality</code></p></li>
380    /// <li>
381    /// <p><code>InfoTech</code></p></li>
382    /// <li>
383    /// <p><code>Justice and Public Safety</code></p></li>
384    /// <li>
385    /// <p><code>Life Sciences</code></p></li>
386    /// <li>
387    /// <p><code>Manufacturing</code></p></li>
388    /// <li>
389    /// <p><code>Media &amp; Entertainment</code></p></li>
390    /// <li>
391    /// <p><code>Mining &amp; Resources</code></p></li>
392    /// <li>
393    /// <p><code>Oil &amp; Gas</code></p></li>
394    /// <li>
395    /// <p><code>Power &amp; Utilities</code></p></li>
396    /// <li>
397    /// <p><code>Professional Services</code></p></li>
398    /// <li>
399    /// <p><code>Real Estate &amp; Construction</code></p></li>
400    /// <li>
401    /// <p><code>Retail &amp; Wholesale</code></p></li>
402    /// <li>
403    /// <p><code>Social Protection</code></p></li>
404    /// <li>
405    /// <p><code>Telecommunications</code></p></li>
406    /// <li>
407    /// <p><code>Travel, Transportation &amp; Logistics</code></p></li>
408    /// <li>
409    /// <p><code>Other</code></p></li>
410    /// </ul>
411    pub fn set_industry_type(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
412        self.inner = self.inner.set_industry_type(input);
413        self
414    }
415    /// <p>The industry type for the workload.</p>
416    /// <p>If specified, must be one of the following:</p>
417    /// <ul>
418    /// <li>
419    /// <p><code>Agriculture</code></p></li>
420    /// <li>
421    /// <p><code>Automobile</code></p></li>
422    /// <li>
423    /// <p><code>Defense</code></p></li>
424    /// <li>
425    /// <p><code>Design and Engineering</code></p></li>
426    /// <li>
427    /// <p><code>Digital Advertising</code></p></li>
428    /// <li>
429    /// <p><code>Education</code></p></li>
430    /// <li>
431    /// <p><code>Environmental Protection</code></p></li>
432    /// <li>
433    /// <p><code>Financial Services</code></p></li>
434    /// <li>
435    /// <p><code>Gaming</code></p></li>
436    /// <li>
437    /// <p><code>General Public Services</code></p></li>
438    /// <li>
439    /// <p><code>Healthcare</code></p></li>
440    /// <li>
441    /// <p><code>Hospitality</code></p></li>
442    /// <li>
443    /// <p><code>InfoTech</code></p></li>
444    /// <li>
445    /// <p><code>Justice and Public Safety</code></p></li>
446    /// <li>
447    /// <p><code>Life Sciences</code></p></li>
448    /// <li>
449    /// <p><code>Manufacturing</code></p></li>
450    /// <li>
451    /// <p><code>Media &amp; Entertainment</code></p></li>
452    /// <li>
453    /// <p><code>Mining &amp; Resources</code></p></li>
454    /// <li>
455    /// <p><code>Oil &amp; Gas</code></p></li>
456    /// <li>
457    /// <p><code>Power &amp; Utilities</code></p></li>
458    /// <li>
459    /// <p><code>Professional Services</code></p></li>
460    /// <li>
461    /// <p><code>Real Estate &amp; Construction</code></p></li>
462    /// <li>
463    /// <p><code>Retail &amp; Wholesale</code></p></li>
464    /// <li>
465    /// <p><code>Social Protection</code></p></li>
466    /// <li>
467    /// <p><code>Telecommunications</code></p></li>
468    /// <li>
469    /// <p><code>Travel, Transportation &amp; Logistics</code></p></li>
470    /// <li>
471    /// <p><code>Other</code></p></li>
472    /// </ul>
473    pub fn get_industry_type(&self) -> &::std::option::Option<::std::string::String> {
474        self.inner.get_industry_type()
475    }
476    /// <p>The industry for the workload.</p>
477    pub fn industry(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
478        self.inner = self.inner.industry(input.into());
479        self
480    }
481    /// <p>The industry for the workload.</p>
482    pub fn set_industry(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
483        self.inner = self.inner.set_industry(input);
484        self
485    }
486    /// <p>The industry for the workload.</p>
487    pub fn get_industry(&self) -> &::std::option::Option<::std::string::String> {
488        self.inner.get_industry()
489    }
490    /// <p>The notes associated with the workload.</p>
491    /// <p>For a review template, these are the notes that will be associated with the workload when the template is applied.</p>
492    pub fn notes(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
493        self.inner = self.inner.notes(input.into());
494        self
495    }
496    /// <p>The notes associated with the workload.</p>
497    /// <p>For a review template, these are the notes that will be associated with the workload when the template is applied.</p>
498    pub fn set_notes(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
499        self.inner = self.inner.set_notes(input);
500        self
501    }
502    /// <p>The notes associated with the workload.</p>
503    /// <p>For a review template, these are the notes that will be associated with the workload when the template is applied.</p>
504    pub fn get_notes(&self) -> &::std::option::Option<::std::string::String> {
505        self.inner.get_notes()
506    }
507    /// <p>The improvement status for a workload.</p>
508    pub fn improvement_status(mut self, input: crate::types::WorkloadImprovementStatus) -> Self {
509        self.inner = self.inner.improvement_status(input);
510        self
511    }
512    /// <p>The improvement status for a workload.</p>
513    pub fn set_improvement_status(mut self, input: ::std::option::Option<crate::types::WorkloadImprovementStatus>) -> Self {
514        self.inner = self.inner.set_improvement_status(input);
515        self
516    }
517    /// <p>The improvement status for a workload.</p>
518    pub fn get_improvement_status(&self) -> &::std::option::Option<crate::types::WorkloadImprovementStatus> {
519        self.inner.get_improvement_status()
520    }
521    /// <p>Well-Architected discovery configuration settings to associate to the workload.</p>
522    pub fn discovery_config(mut self, input: crate::types::WorkloadDiscoveryConfig) -> Self {
523        self.inner = self.inner.discovery_config(input);
524        self
525    }
526    /// <p>Well-Architected discovery configuration settings to associate to the workload.</p>
527    pub fn set_discovery_config(mut self, input: ::std::option::Option<crate::types::WorkloadDiscoveryConfig>) -> Self {
528        self.inner = self.inner.set_discovery_config(input);
529        self
530    }
531    /// <p>Well-Architected discovery configuration settings to associate to the workload.</p>
532    pub fn get_discovery_config(&self) -> &::std::option::Option<crate::types::WorkloadDiscoveryConfig> {
533        self.inner.get_discovery_config()
534    }
535    ///
536    /// Appends an item to `Applications`.
537    ///
538    /// To override the contents of this collection use [`set_applications`](Self::set_applications).
539    ///
540    /// <p>List of AppRegistry application ARNs to associate to the workload.</p>
541    pub fn applications(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
542        self.inner = self.inner.applications(input.into());
543        self
544    }
545    /// <p>List of AppRegistry application ARNs to associate to the workload.</p>
546    pub fn set_applications(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
547        self.inner = self.inner.set_applications(input);
548        self
549    }
550    /// <p>List of AppRegistry application ARNs to associate to the workload.</p>
551    pub fn get_applications(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
552        self.inner.get_applications()
553    }
554    /// <p>Configuration of the Jira integration.</p>
555    pub fn jira_configuration(mut self, input: crate::types::WorkloadJiraConfigurationInput) -> Self {
556        self.inner = self.inner.jira_configuration(input);
557        self
558    }
559    /// <p>Configuration of the Jira integration.</p>
560    pub fn set_jira_configuration(mut self, input: ::std::option::Option<crate::types::WorkloadJiraConfigurationInput>) -> Self {
561        self.inner = self.inner.set_jira_configuration(input);
562        self
563    }
564    /// <p>Configuration of the Jira integration.</p>
565    pub fn get_jira_configuration(&self) -> &::std::option::Option<crate::types::WorkloadJiraConfigurationInput> {
566        self.inner.get_jira_configuration()
567    }
568}