/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a layer's load-based auto scaling configuration.See
* Also:
AWS
* API Reference
The layer ID.
*/ inline const Aws::String& GetLayerId() const{ return m_layerId; } /** *The layer ID.
*/ inline bool LayerIdHasBeenSet() const { return m_layerIdHasBeenSet; } /** *The layer ID.
*/ inline void SetLayerId(const Aws::String& value) { m_layerIdHasBeenSet = true; m_layerId = value; } /** *The layer ID.
*/ inline void SetLayerId(Aws::String&& value) { m_layerIdHasBeenSet = true; m_layerId = std::move(value); } /** *The layer ID.
*/ inline void SetLayerId(const char* value) { m_layerIdHasBeenSet = true; m_layerId.assign(value); } /** *The layer ID.
*/ inline LoadBasedAutoScalingConfiguration& WithLayerId(const Aws::String& value) { SetLayerId(value); return *this;} /** *The layer ID.
*/ inline LoadBasedAutoScalingConfiguration& WithLayerId(Aws::String&& value) { SetLayerId(std::move(value)); return *this;} /** *The layer ID.
*/ inline LoadBasedAutoScalingConfiguration& WithLayerId(const char* value) { SetLayerId(value); return *this;} /** *Whether load-based auto scaling is enabled for the layer.
*/ inline bool GetEnable() const{ return m_enable; } /** *Whether load-based auto scaling is enabled for the layer.
*/ inline bool EnableHasBeenSet() const { return m_enableHasBeenSet; } /** *Whether load-based auto scaling is enabled for the layer.
*/ inline void SetEnable(bool value) { m_enableHasBeenSet = true; m_enable = value; } /** *Whether load-based auto scaling is enabled for the layer.
*/ inline LoadBasedAutoScalingConfiguration& WithEnable(bool value) { SetEnable(value); return *this;} /** *An AutoScalingThresholds
object that describes the upscaling
* configuration, which defines how and when AWS OpsWorks Stacks increases the
* number of instances.
An AutoScalingThresholds
object that describes the upscaling
* configuration, which defines how and when AWS OpsWorks Stacks increases the
* number of instances.
An AutoScalingThresholds
object that describes the upscaling
* configuration, which defines how and when AWS OpsWorks Stacks increases the
* number of instances.
An AutoScalingThresholds
object that describes the upscaling
* configuration, which defines how and when AWS OpsWorks Stacks increases the
* number of instances.
An AutoScalingThresholds
object that describes the upscaling
* configuration, which defines how and when AWS OpsWorks Stacks increases the
* number of instances.
An AutoScalingThresholds
object that describes the upscaling
* configuration, which defines how and when AWS OpsWorks Stacks increases the
* number of instances.
An AutoScalingThresholds
object that describes the downscaling
* configuration, which defines how and when AWS OpsWorks Stacks reduces the number
* of instances.
An AutoScalingThresholds
object that describes the downscaling
* configuration, which defines how and when AWS OpsWorks Stacks reduces the number
* of instances.
An AutoScalingThresholds
object that describes the downscaling
* configuration, which defines how and when AWS OpsWorks Stacks reduces the number
* of instances.
An AutoScalingThresholds
object that describes the downscaling
* configuration, which defines how and when AWS OpsWorks Stacks reduces the number
* of instances.
An AutoScalingThresholds
object that describes the downscaling
* configuration, which defines how and when AWS OpsWorks Stacks reduces the number
* of instances.
An AutoScalingThresholds
object that describes the downscaling
* configuration, which defines how and when AWS OpsWorks Stacks reduces the number
* of instances.