7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace ApplicationAutoScaling {
49 template <
typename CodeT = Aws::String>
51 m_codeHasBeenSet =
true;
52 m_code = std::forward<CodeT>(value);
54 template <
typename CodeT = Aws::String>
56 SetCode(std::forward<CodeT>(value));
68 m_maxCapacityHasBeenSet =
true;
69 m_maxCapacity = value;
84 m_minCapacityHasBeenSet =
true;
85 m_minCapacity = value;
100 m_currentCapacityHasBeenSet =
true;
101 m_currentCapacity = value;
111 int m_maxCapacity{0};
113 int m_minCapacity{0};
115 int m_currentCapacity{0};
116 bool m_codeHasBeenSet =
false;
117 bool m_maxCapacityHasBeenSet =
false;
118 bool m_minCapacityHasBeenSet =
false;
119 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