// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`SetLoadBasedAutoScaling`](crate::operation::set_load_based_auto_scaling::builders::SetLoadBasedAutoScalingFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`layer_id(impl Into<String>)`](crate::operation::set_load_based_auto_scaling::builders::SetLoadBasedAutoScalingFluentBuilder::layer_id) / [`set_layer_id(Option<String>)`](crate::operation::set_load_based_auto_scaling::builders::SetLoadBasedAutoScalingFluentBuilder::set_layer_id): <p>The layer ID.</p>
/// - [`enable(bool)`](crate::operation::set_load_based_auto_scaling::builders::SetLoadBasedAutoScalingFluentBuilder::enable) / [`set_enable(Option<bool>)`](crate::operation::set_load_based_auto_scaling::builders::SetLoadBasedAutoScalingFluentBuilder::set_enable): <p>Enables load-based auto scaling for the layer.</p>
/// - [`up_scaling(AutoScalingThresholds)`](crate::operation::set_load_based_auto_scaling::builders::SetLoadBasedAutoScalingFluentBuilder::up_scaling) / [`set_up_scaling(Option<AutoScalingThresholds>)`](crate::operation::set_load_based_auto_scaling::builders::SetLoadBasedAutoScalingFluentBuilder::set_up_scaling): <p>An <code>AutoScalingThresholds</code> object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks Stacks starts a specified number of instances.</p>
/// - [`down_scaling(AutoScalingThresholds)`](crate::operation::set_load_based_auto_scaling::builders::SetLoadBasedAutoScalingFluentBuilder::down_scaling) / [`set_down_scaling(Option<AutoScalingThresholds>)`](crate::operation::set_load_based_auto_scaling::builders::SetLoadBasedAutoScalingFluentBuilder::set_down_scaling): <p>An <code>AutoScalingThresholds</code> object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks Stacks stops a specified number of instances.</p>
/// - On success, responds with [`SetLoadBasedAutoScalingOutput`](crate::operation::set_load_based_auto_scaling::SetLoadBasedAutoScalingOutput)
/// - On failure, responds with [`SdkError<SetLoadBasedAutoScalingError>`](crate::operation::set_load_based_auto_scaling::SetLoadBasedAutoScalingError)
pub fn set_load_based_auto_scaling(&self) -> crate::operation::set_load_based_auto_scaling::builders::SetLoadBasedAutoScalingFluentBuilder {
crate::operation::set_load_based_auto_scaling::builders::SetLoadBasedAutoScalingFluentBuilder::new(self.handle.clone())
}
}