7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetScalingGroupName(
const char* value) { m_scalingGroupNameHasBeenSet =
true; m_scalingGroupName.assign(value); }
61 inline void SetMemoryLimit(
int value) { m_memoryLimitHasBeenSet =
true; m_memoryLimit = value; }
73 inline void SetMemoryReservation(
int value) { m_memoryReservationHasBeenSet =
true; m_memoryReservation = value; }
83 inline void SetNodeCount(
int value) { m_nodeCountHasBeenSet =
true; m_nodeCount = value; }
92 inline double GetCpu()
const{
return m_cpu; }
94 inline void SetCpu(
double value) { m_cpuHasBeenSet =
true; m_cpu = value; }
100 bool m_scalingGroupNameHasBeenSet =
false;
103 bool m_memoryLimitHasBeenSet =
false;
105 int m_memoryReservation;
106 bool m_memoryReservationHasBeenSet =
false;
109 bool m_nodeCountHasBeenSet =
false;
112 bool m_cpuHasBeenSet =
false;
AWS_FINSPACE_API KxScalingGroupConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMemoryReservation(int value)
void SetScalingGroupName(const Aws::String &value)
KxScalingGroupConfiguration & WithCpu(double value)
void SetNodeCount(int value)
int GetMemoryReservation() const
bool NodeCountHasBeenSet() const
void SetScalingGroupName(const char *value)
void SetCpu(double value)
KxScalingGroupConfiguration & WithMemoryLimit(int value)
KxScalingGroupConfiguration & WithMemoryReservation(int value)
AWS_FINSPACE_API KxScalingGroupConfiguration()
bool CpuHasBeenSet() const
KxScalingGroupConfiguration & WithNodeCount(int value)
bool MemoryReservationHasBeenSet() const
const Aws::String & GetScalingGroupName() const
bool MemoryLimitHasBeenSet() const
void SetScalingGroupName(Aws::String &&value)
KxScalingGroupConfiguration & WithScalingGroupName(Aws::String &&value)
KxScalingGroupConfiguration & WithScalingGroupName(const Aws::String &value)
AWS_FINSPACE_API KxScalingGroupConfiguration(Aws::Utils::Json::JsonView jsonValue)
int GetMemoryLimit() const
KxScalingGroupConfiguration & WithScalingGroupName(const char *value)
void SetMemoryLimit(int value)
bool ScalingGroupNameHasBeenSet() const
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue