7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
59 inline void SetMinCapacity(
int value) { m_minCapacityHasBeenSet =
true; m_minCapacity = value; }
76 inline void SetMaxCapacity(
int value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
91 inline void SetAutoPause(
bool value) { m_autoPauseHasBeenSet =
true; m_autoPause = value; }
125 inline void SetTimeoutAction(
const char* value) { m_timeoutActionHasBeenSet =
true; m_timeoutAction.assign(value); }
145 bool m_minCapacityHasBeenSet =
false;
148 bool m_maxCapacityHasBeenSet =
false;
151 bool m_autoPauseHasBeenSet =
false;
153 int m_secondsUntilAutoPause;
154 bool m_secondsUntilAutoPauseHasBeenSet =
false;
157 bool m_timeoutActionHasBeenSet =
false;
159 int m_secondsBeforeTimeout;
160 bool m_secondsBeforeTimeoutHasBeenSet =
false;
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
ScalingConfiguration & WithTimeoutAction(Aws::String &&value)
int GetSecondsBeforeTimeout() const
bool MaxCapacityHasBeenSet() const
void SetMaxCapacity(int value)
void SetTimeoutAction(const Aws::String &value)
ScalingConfiguration & WithTimeoutAction(const Aws::String &value)
ScalingConfiguration & WithSecondsUntilAutoPause(int value)
int GetMinCapacity() const
ScalingConfiguration & WithTimeoutAction(const char *value)
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
AWS_RDS_API ScalingConfiguration()
void SetSecondsBeforeTimeout(int value)
void SetTimeoutAction(const char *value)
ScalingConfiguration & WithSecondsBeforeTimeout(int value)
ScalingConfiguration & WithMinCapacity(int value)
void SetTimeoutAction(Aws::String &&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