7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ApplicationAutoScaling
55 template<
typename CodeT = Aws::String>
56 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
57 template<
typename CodeT = Aws::String>
67 inline void SetMaxCapacity(
int value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
77 inline void SetMinCapacity(
int value) { m_minCapacityHasBeenSet =
true; m_minCapacity = value; }
87 inline void SetCurrentCapacity(
int value) { m_currentCapacityHasBeenSet =
true; m_currentCapacity = value; }
93 bool m_codeHasBeenSet =
false;
96 bool m_maxCapacityHasBeenSet =
false;
99 bool m_minCapacityHasBeenSet =
false;
101 int m_currentCapacity{0};
102 bool m_currentCapacityHasBeenSet =
false;
void SetMaxCapacity(int value)
bool MaxCapacityHasBeenSet() const
bool MinCapacityHasBeenSet() const
NotScaledReason & WithMaxCapacity(int value)
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONAUTOSCALING_API NotScaledReason(Aws::Utils::Json::JsonView jsonValue)
NotScaledReason & WithCode(CodeT &&value)
void SetCurrentCapacity(int value)
void SetMinCapacity(int value)
int GetMaxCapacity() const
bool CodeHasBeenSet() const
int GetCurrentCapacity() const
NotScaledReason & WithCurrentCapacity(int value)
AWS_APPLICATIONAUTOSCALING_API NotScaledReason()=default
AWS_APPLICATIONAUTOSCALING_API NotScaledReason & operator=(Aws::Utils::Json::JsonView jsonValue)
NotScaledReason & WithMinCapacity(int value)
bool CurrentCapacityHasBeenSet() const
void SetCode(CodeT &&value)
const Aws::String & GetCode() const
int GetMinCapacity() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue