7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ComputeOptimizer
47 inline void SetDesiredCapacity(
int value) { m_desiredCapacityHasBeenSet =
true; m_desiredCapacity = value; }
58 inline void SetMinSize(
int value) { m_minSizeHasBeenSet =
true; m_minSize = value; }
69 inline void SetMaxSize(
int value) { m_maxSizeHasBeenSet =
true; m_maxSize = value; }
81 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
88 int m_desiredCapacity;
89 bool m_desiredCapacityHasBeenSet =
false;
92 bool m_minSizeHasBeenSet =
false;
95 bool m_maxSizeHasBeenSet =
false;
98 bool m_instanceTypeHasBeenSet =
false;
AutoScalingGroupConfiguration & WithInstanceType(Aws::String &&value)
bool InstanceTypeHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
AutoScalingGroupConfiguration & WithInstanceType(const Aws::String &value)
AWS_COMPUTEOPTIMIZER_API AutoScalingGroupConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDesiredCapacity(int value)
void SetMaxSize(int value)
bool MaxSizeHasBeenSet() const
AutoScalingGroupConfiguration & WithDesiredCapacity(int value)
int GetDesiredCapacity() const
void SetInstanceType(Aws::String &&value)
AutoScalingGroupConfiguration & WithMinSize(int value)
AutoScalingGroupConfiguration & WithInstanceType(const char *value)
void SetInstanceType(const Aws::String &value)
AWS_COMPUTEOPTIMIZER_API AutoScalingGroupConfiguration(Aws::Utils::Json::JsonView jsonValue)
AutoScalingGroupConfiguration & WithMaxSize(int value)
AWS_COMPUTEOPTIMIZER_API AutoScalingGroupConfiguration()
void SetInstanceType(const char *value)
bool MinSizeHasBeenSet() const
void SetMinSize(int value)
const Aws::String & GetInstanceType() const
bool DesiredCapacityHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue