7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/elasticache/ElastiCache_EXPORTS.h>
16namespace ElastiCache {
42 m_scalePercentageHasBeenSet =
true;
43 m_scalePercentage = value;
59 m_scaleIntervalMinutesHasBeenSet =
true;
60 m_scaleIntervalMinutes = value;
68 int m_scalePercentage{0};
70 int m_scaleIntervalMinutes{0};
71 bool m_scalePercentageHasBeenSet =
false;
72 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