7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opsworks/model/AutoScalingThresholds.h>
48 template<
typename LayerIdT = Aws::String>
49 void SetLayerId(LayerIdT&& value) { m_layerIdHasBeenSet =
true; m_layerId = std::forward<LayerIdT>(value); }
50 template<
typename LayerIdT = Aws::String>
60 inline void SetEnable(
bool value) { m_enableHasBeenSet =
true; m_enable = value; }
72 template<
typename UpScalingT = AutoScalingThresholds>
73 void SetUpScaling(UpScalingT&& value) { m_upScalingHasBeenSet =
true; m_upScaling = std::forward<UpScalingT>(value); }
74 template<
typename UpScalingT = AutoScalingThresholds>
86 template<
typename DownScalingT = AutoScalingThresholds>
87 void SetDownScaling(DownScalingT&& value) { m_downScalingHasBeenSet =
true; m_downScaling = std::forward<DownScalingT>(value); }
88 template<
typename DownScalingT = AutoScalingThresholds>
94 bool m_layerIdHasBeenSet =
false;
97 bool m_enableHasBeenSet =
false;
99 AutoScalingThresholds m_upScaling;
100 bool m_upScalingHasBeenSet =
false;
102 AutoScalingThresholds m_downScaling;
103 bool m_downScalingHasBeenSet =
false;
LoadBasedAutoScalingConfiguration & WithLayerId(LayerIdT &&value)
LoadBasedAutoScalingConfiguration & WithDownScaling(DownScalingT &&value)
void SetUpScaling(UpScalingT &&value)
const Aws::String & GetLayerId() const
void SetDownScaling(DownScalingT &&value)
AWS_OPSWORKS_API LoadBasedAutoScalingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_OPSWORKS_API LoadBasedAutoScalingConfiguration()=default
LoadBasedAutoScalingConfiguration & WithEnable(bool value)
bool LayerIdHasBeenSet() const
void SetEnable(bool value)
LoadBasedAutoScalingConfiguration & WithUpScaling(UpScalingT &&value)
AWS_OPSWORKS_API LoadBasedAutoScalingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DownScalingHasBeenSet() const
const AutoScalingThresholds & GetDownScaling() const
bool EnableHasBeenSet() const
void SetLayerId(LayerIdT &&value)
bool UpScalingHasBeenSet() const
const AutoScalingThresholds & GetUpScaling() const
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue