aws_sdk_wellarchitected/operation/update_workload/builders.rs
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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub use crate::operation::update_workload::_update_workload_output::UpdateWorkloadOutputBuilder;
pub use crate::operation::update_workload::_update_workload_input::UpdateWorkloadInputBuilder;
impl crate::operation::update_workload::builders::UpdateWorkloadInputBuilder {
/// Sends a request with this input using the given client.
pub async fn send_with(
self,
client: &crate::Client,
) -> ::std::result::Result<
crate::operation::update_workload::UpdateWorkloadOutput,
::aws_smithy_runtime_api::client::result::SdkError<
crate::operation::update_workload::UpdateWorkloadError,
::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
>,
> {
let mut fluent_builder = client.update_workload();
fluent_builder.inner = self;
fluent_builder.send().await
}
}
/// Fluent builder constructing a request to `UpdateWorkload`.
///
/// <p>Update an existing workload.</p>
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
pub struct UpdateWorkloadFluentBuilder {
handle: ::std::sync::Arc<crate::client::Handle>,
inner: crate::operation::update_workload::builders::UpdateWorkloadInputBuilder,
config_override: ::std::option::Option<crate::config::Builder>,
}
impl
crate::client::customize::internal::CustomizableSend<
crate::operation::update_workload::UpdateWorkloadOutput,
crate::operation::update_workload::UpdateWorkloadError,
> for UpdateWorkloadFluentBuilder
{
fn send(
self,
config_override: crate::config::Builder,
) -> crate::client::customize::internal::BoxFuture<
crate::client::customize::internal::SendResult<
crate::operation::update_workload::UpdateWorkloadOutput,
crate::operation::update_workload::UpdateWorkloadError,
>,
> {
::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
}
}
impl UpdateWorkloadFluentBuilder {
/// Creates a new `UpdateWorkloadFluentBuilder`.
pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
Self {
handle,
inner: ::std::default::Default::default(),
config_override: ::std::option::Option::None,
}
}
/// Access the UpdateWorkload as a reference.
pub fn as_input(&self) -> &crate::operation::update_workload::builders::UpdateWorkloadInputBuilder {
&self.inner
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> ::std::result::Result<
crate::operation::update_workload::UpdateWorkloadOutput,
::aws_smithy_runtime_api::client::result::SdkError<
crate::operation::update_workload::UpdateWorkloadError,
::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
>,
> {
let input = self
.inner
.build()
.map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
let runtime_plugins = crate::operation::update_workload::UpdateWorkload::operation_runtime_plugins(
self.handle.runtime_plugins.clone(),
&self.handle.conf,
self.config_override,
);
crate::operation::update_workload::UpdateWorkload::orchestrate(&runtime_plugins, input).await
}
/// Consumes this builder, creating a customizable operation that can be modified before being sent.
pub fn customize(
self,
) -> crate::client::customize::CustomizableOperation<
crate::operation::update_workload::UpdateWorkloadOutput,
crate::operation::update_workload::UpdateWorkloadError,
Self,
> {
crate::client::customize::CustomizableOperation::new(self)
}
pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
self.set_config_override(::std::option::Option::Some(config_override.into()));
self
}
pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
self.config_override = config_override;
self
}
/// <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
pub fn workload_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.workload_id(input.into());
self
}
/// <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
pub fn set_workload_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_workload_id(input);
self
}
/// <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
pub fn get_workload_id(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_workload_id()
}
/// <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(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.workload_name(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.inner = self.inner.set_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.inner.get_workload_name()
}
/// <p>The description for the workload.</p>
pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.description(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.inner = self.inner.set_description(input);
self
}
/// <p>The description for the workload.</p>
pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_description()
}
/// <p>The environment for the workload.</p>
pub fn environment(mut self, input: crate::types::WorkloadEnvironment) -> Self {
self.inner = self.inner.environment(input);
self
}
/// <p>The environment for the workload.</p>
pub fn set_environment(mut self, input: ::std::option::Option<crate::types::WorkloadEnvironment>) -> Self {
self.inner = self.inner.set_environment(input);
self
}
/// <p>The environment for the workload.</p>
pub fn get_environment(&self) -> &::std::option::Option<crate::types::WorkloadEnvironment> {
self.inner.get_environment()
}
///
/// Appends an item to `AccountIds`.
///
/// 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 {
self.inner = self.inner.account_ids(input.into());
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.inner = self.inner.set_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.inner.get_account_ids()
}
///
/// Appends an item to `AwsRegions`.
///
/// 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 {
self.inner = self.inner.aws_regions(input.into());
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.inner = self.inner.set_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.inner.get_aws_regions()
}
///
/// Appends an item to `NonAwsRegions`.
///
/// 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 {
self.inner = self.inner.non_aws_regions(input.into());
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.inner = self.inner.set_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.inner.get_non_aws_regions()
}
///
/// Appends an item to `PillarPriorities`.
///
/// 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 {
self.inner = self.inner.pillar_priorities(input.into());
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.inner = self.inner.set_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.inner.get_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.inner = self.inner.architectural_design(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.inner = self.inner.set_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.inner.get_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.inner = self.inner.review_owner(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.inner = self.inner.set_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.inner.get_review_owner()
}
/// <p>Flag indicating whether the workload owner has acknowledged that the <i>Review owner</i> field is required.</p>
/// <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>
pub fn is_review_owner_update_acknowledged(mut self, input: bool) -> Self {
self.inner = self.inner.is_review_owner_update_acknowledged(input);
self
}
/// <p>Flag indicating whether the workload owner has acknowledged that the <i>Review owner</i> field is required.</p>
/// <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>
pub fn set_is_review_owner_update_acknowledged(mut self, input: ::std::option::Option<bool>) -> Self {
self.inner = self.inner.set_is_review_owner_update_acknowledged(input);
self
}
/// <p>Flag indicating whether the workload owner has acknowledged that the <i>Review owner</i> field is required.</p>
/// <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>
pub fn get_is_review_owner_update_acknowledged(&self) -> &::std::option::Option<bool> {
self.inner.get_is_review_owner_update_acknowledged()
}
/// <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 & Entertainment</code></p></li>
/// <li>
/// <p><code>Mining & Resources</code></p></li>
/// <li>
/// <p><code>Oil & Gas</code></p></li>
/// <li>
/// <p><code>Power & Utilities</code></p></li>
/// <li>
/// <p><code>Professional Services</code></p></li>
/// <li>
/// <p><code>Real Estate & Construction</code></p></li>
/// <li>
/// <p><code>Retail & Wholesale</code></p></li>
/// <li>
/// <p><code>Social Protection</code></p></li>
/// <li>
/// <p><code>Telecommunications</code></p></li>
/// <li>
/// <p><code>Travel, Transportation & 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.inner = self.inner.industry_type(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 & Entertainment</code></p></li>
/// <li>
/// <p><code>Mining & Resources</code></p></li>
/// <li>
/// <p><code>Oil & Gas</code></p></li>
/// <li>
/// <p><code>Power & Utilities</code></p></li>
/// <li>
/// <p><code>Professional Services</code></p></li>
/// <li>
/// <p><code>Real Estate & Construction</code></p></li>
/// <li>
/// <p><code>Retail & Wholesale</code></p></li>
/// <li>
/// <p><code>Social Protection</code></p></li>
/// <li>
/// <p><code>Telecommunications</code></p></li>
/// <li>
/// <p><code>Travel, Transportation & 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.inner = self.inner.set_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 & Entertainment</code></p></li>
/// <li>
/// <p><code>Mining & Resources</code></p></li>
/// <li>
/// <p><code>Oil & Gas</code></p></li>
/// <li>
/// <p><code>Power & Utilities</code></p></li>
/// <li>
/// <p><code>Professional Services</code></p></li>
/// <li>
/// <p><code>Real Estate & Construction</code></p></li>
/// <li>
/// <p><code>Retail & Wholesale</code></p></li>
/// <li>
/// <p><code>Social Protection</code></p></li>
/// <li>
/// <p><code>Telecommunications</code></p></li>
/// <li>
/// <p><code>Travel, Transportation & 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.inner.get_industry_type()
}
/// <p>The industry for the workload.</p>
pub fn industry(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.industry(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.inner = self.inner.set_industry(input);
self
}
/// <p>The industry for the workload.</p>
pub fn get_industry(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_industry()
}
/// <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.inner = self.inner.notes(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.inner = self.inner.set_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.inner.get_notes()
}
/// <p>The improvement status for a workload.</p>
pub fn improvement_status(mut self, input: crate::types::WorkloadImprovementStatus) -> Self {
self.inner = self.inner.improvement_status(input);
self
}
/// <p>The improvement status for a workload.</p>
pub fn set_improvement_status(mut self, input: ::std::option::Option<crate::types::WorkloadImprovementStatus>) -> Self {
self.inner = self.inner.set_improvement_status(input);
self
}
/// <p>The improvement status for a workload.</p>
pub fn get_improvement_status(&self) -> &::std::option::Option<crate::types::WorkloadImprovementStatus> {
self.inner.get_improvement_status()
}
/// <p>Well-Architected discovery configuration settings to associate to the workload.</p>
pub fn discovery_config(mut self, input: crate::types::WorkloadDiscoveryConfig) -> Self {
self.inner = self.inner.discovery_config(input);
self
}
/// <p>Well-Architected discovery configuration settings to associate to the workload.</p>
pub fn set_discovery_config(mut self, input: ::std::option::Option<crate::types::WorkloadDiscoveryConfig>) -> Self {
self.inner = self.inner.set_discovery_config(input);
self
}
/// <p>Well-Architected discovery configuration settings to associate to the workload.</p>
pub fn get_discovery_config(&self) -> &::std::option::Option<crate::types::WorkloadDiscoveryConfig> {
self.inner.get_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 to associate to the workload.</p>
pub fn applications(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.applications(input.into());
self
}
/// <p>List of AppRegistry application ARNs to associate to the workload.</p>
pub fn set_applications(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
self.inner = self.inner.set_applications(input);
self
}
/// <p>List of AppRegistry application ARNs to associate to the workload.</p>
pub fn get_applications(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
self.inner.get_applications()
}
/// <p>Configuration of the Jira integration.</p>
pub fn jira_configuration(mut self, input: crate::types::WorkloadJiraConfigurationInput) -> Self {
self.inner = self.inner.jira_configuration(input);
self
}
/// <p>Configuration of the Jira integration.</p>
pub fn set_jira_configuration(mut self, input: ::std::option::Option<crate::types::WorkloadJiraConfigurationInput>) -> Self {
self.inner = self.inner.set_jira_configuration(input);
self
}
/// <p>Configuration of the Jira integration.</p>
pub fn get_jira_configuration(&self) -> &::std::option::Option<crate::types::WorkloadJiraConfigurationInput> {
self.inner.get_jira_configuration()
}
}