7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/FleetScalingType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codebuild/model/TargetTrackingScalingConfiguration.h>
75 inline void SetMaxCapacity(
int value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
85 inline void SetDesiredCapacity(
int value) { m_desiredCapacityHasBeenSet =
true; m_desiredCapacity = value; }
91 bool m_scalingTypeHasBeenSet =
false;
94 bool m_targetTrackingScalingConfigsHasBeenSet =
false;
97 bool m_maxCapacityHasBeenSet =
false;
99 int m_desiredCapacity;
100 bool m_desiredCapacityHasBeenSet =
false;
AWS_CODEBUILD_API ScalingConfigurationOutput()
void SetScalingType(FleetScalingType &&value)
void SetTargetTrackingScalingConfigs(Aws::Vector< TargetTrackingScalingConfiguration > &&value)
void SetScalingType(const FleetScalingType &value)
void SetTargetTrackingScalingConfigs(const Aws::Vector< TargetTrackingScalingConfiguration > &value)
AWS_CODEBUILD_API ScalingConfigurationOutput(Aws::Utils::Json::JsonView jsonValue)
int GetDesiredCapacity() const
ScalingConfigurationOutput & WithMaxCapacity(int value)
ScalingConfigurationOutput & AddTargetTrackingScalingConfigs(TargetTrackingScalingConfiguration &&value)
void SetMaxCapacity(int value)
ScalingConfigurationOutput & WithTargetTrackingScalingConfigs(Aws::Vector< TargetTrackingScalingConfiguration > &&value)
void SetDesiredCapacity(int value)
ScalingConfigurationOutput & AddTargetTrackingScalingConfigs(const TargetTrackingScalingConfiguration &value)
int GetMaxCapacity() const
const Aws::Vector< TargetTrackingScalingConfiguration > & GetTargetTrackingScalingConfigs() const
bool DesiredCapacityHasBeenSet() const
bool ScalingTypeHasBeenSet() const
ScalingConfigurationOutput & WithScalingType(const FleetScalingType &value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
ScalingConfigurationOutput & WithDesiredCapacity(int value)
bool MaxCapacityHasBeenSet() const
ScalingConfigurationOutput & WithScalingType(FleetScalingType &&value)
ScalingConfigurationOutput & WithTargetTrackingScalingConfigs(const Aws::Vector< TargetTrackingScalingConfiguration > &value)
bool TargetTrackingScalingConfigsHasBeenSet() const
AWS_CODEBUILD_API ScalingConfigurationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const FleetScalingType & GetScalingType() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue