7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opsworks/model/AutoScalingThresholds.h>
50 inline void SetLayerId(
const char* value) { m_layerIdHasBeenSet =
true; m_layerId.assign(value); }
62 inline void SetEnable(
bool value) { m_enableHasBeenSet =
true; m_enable = value; }
96 bool m_layerIdHasBeenSet =
false;
99 bool m_enableHasBeenSet =
false;
102 bool m_upScalingHasBeenSet =
false;
105 bool m_downScalingHasBeenSet =
false;
void SetLayerId(Aws::String &&value)
LoadBasedAutoScalingConfiguration & WithDownScaling(const AutoScalingThresholds &value)
const Aws::String & GetLayerId() const
LoadBasedAutoScalingConfiguration & WithUpScaling(AutoScalingThresholds &&value)
void SetDownScaling(const AutoScalingThresholds &value)
AWS_OPSWORKS_API LoadBasedAutoScalingConfiguration(Aws::Utils::Json::JsonView jsonValue)
LoadBasedAutoScalingConfiguration & WithEnable(bool value)
bool LayerIdHasBeenSet() const
LoadBasedAutoScalingConfiguration & WithUpScaling(const AutoScalingThresholds &value)
void SetEnable(bool value)
AWS_OPSWORKS_API LoadBasedAutoScalingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
LoadBasedAutoScalingConfiguration & WithLayerId(const Aws::String &value)
bool DownScalingHasBeenSet() const
const AutoScalingThresholds & GetDownScaling() const
LoadBasedAutoScalingConfiguration & WithLayerId(Aws::String &&value)
LoadBasedAutoScalingConfiguration & WithLayerId(const char *value)
bool EnableHasBeenSet() const
void SetLayerId(const Aws::String &value)
void SetLayerId(const char *value)
void SetUpScaling(const AutoScalingThresholds &value)
bool UpScalingHasBeenSet() const
void SetUpScaling(AutoScalingThresholds &&value)
void SetDownScaling(AutoScalingThresholds &&value)
const AutoScalingThresholds & GetUpScaling() const
AWS_OPSWORKS_API LoadBasedAutoScalingConfiguration()
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
LoadBasedAutoScalingConfiguration & WithDownScaling(AutoScalingThresholds &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue