7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rds/RDS_EXPORTS.h>
54 m_minCapacityHasBeenSet =
true;
55 m_minCapacity = value;
77 m_maxCapacityHasBeenSet =
true;
78 m_maxCapacity = value;
98 m_autoPauseHasBeenSet =
true;
115 m_secondsUntilAutoPauseHasBeenSet =
true;
116 m_secondsUntilAutoPause = value;
141 template <
typename TimeoutActionT = Aws::String>
143 m_timeoutActionHasBeenSet =
true;
144 m_timeoutAction = std::forward<TimeoutActionT>(value);
146 template <
typename TimeoutActionT = Aws::String>
162 m_secondsBeforeTimeoutHasBeenSet =
true;
163 m_secondsBeforeTimeout = value;
171 int m_minCapacity{0};
173 int m_maxCapacity{0};
175 bool m_autoPause{
false};
177 int m_secondsUntilAutoPause{0};
181 int m_secondsBeforeTimeout{0};
182 bool m_minCapacityHasBeenSet =
false;
183 bool m_maxCapacityHasBeenSet =
false;
184 bool m_autoPauseHasBeenSet =
false;
185 bool m_secondsUntilAutoPauseHasBeenSet =
false;
186 bool m_timeoutActionHasBeenSet =
false;
187 bool m_secondsBeforeTimeoutHasBeenSet =
false;
ScalingConfiguration & WithTimeoutAction(TimeoutActionT &&value)
int GetSecondsUntilAutoPause() const
ScalingConfiguration & WithAutoPause(bool value)
void SetMinCapacity(int value)
bool MinCapacityHasBeenSet() const
bool SecondsBeforeTimeoutHasBeenSet() const
bool SecondsUntilAutoPauseHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSecondsUntilAutoPause(int value)
AWS_RDS_API ScalingConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TimeoutActionHasBeenSet() const
AWS_RDS_API ScalingConfiguration()=default
int GetSecondsBeforeTimeout() const
bool MaxCapacityHasBeenSet() const
void SetMaxCapacity(int value)
ScalingConfiguration & WithSecondsUntilAutoPause(int value)
int GetMinCapacity() const
void SetAutoPause(bool value)
bool AutoPauseHasBeenSet() const
int GetMaxCapacity() const
AWS_RDS_API ScalingConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetTimeoutAction() const
bool GetAutoPause() const
void SetTimeoutAction(TimeoutActionT &&value)
void SetSecondsBeforeTimeout(int value)
ScalingConfiguration & WithSecondsBeforeTimeout(int value)
ScalingConfiguration & WithMinCapacity(int value)
ScalingConfiguration & WithMaxCapacity(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream