7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
48 inline void SetScalePercentage(
int value) { m_scalePercentageHasBeenSet =
true; m_scalePercentage = value; }
59 inline void SetScaleIntervalMinutes(
int value) { m_scaleIntervalMinutesHasBeenSet =
true; m_scaleIntervalMinutes = value; }
64 int m_scalePercentage{0};
65 bool m_scalePercentageHasBeenSet =
false;
67 int m_scaleIntervalMinutes{0};
68 bool m_scaleIntervalMinutesHasBeenSet =
false;
bool ScalePercentageHasBeenSet() const
int GetScaleIntervalMinutes() const
void SetScalePercentage(int value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ScaleIntervalMinutesHasBeenSet() const
ScaleConfig & WithScaleIntervalMinutes(int value)
AWS_ELASTICACHE_API ScaleConfig()=default
ScaleConfig & WithScalePercentage(int value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICACHE_API ScaleConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetScaleIntervalMinutes(int value)
AWS_ELASTICACHE_API ScaleConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
int GetScalePercentage() const
std::basic_ostream< char, std::char_traits< char > > OStream