7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/elasticache/ElastiCache_EXPORTS.h>
9#include <aws/elasticache/model/DataStorage.h>
10#include <aws/elasticache/model/ECPUPerSecond.h>
20namespace ElastiCache {
44 template <
typename DataStorageT = DataStorage>
46 m_dataStorageHasBeenSet =
true;
47 m_dataStorage = std::forward<DataStorageT>(value);
49 template <
typename DataStorageT = DataStorage>
60 template <
typename ECPUPerSecondT = ECPUPerSecond>
62 m_eCPUPerSecondHasBeenSet =
true;
63 m_eCPUPerSecond = std::forward<ECPUPerSecondT>(value);
65 template <
typename ECPUPerSecondT = ECPUPerSecond>
75 bool m_dataStorageHasBeenSet =
false;
76 bool m_eCPUPerSecondHasBeenSet =
false;
void SetECPUPerSecond(ECPUPerSecondT &&value)
CacheUsageLimits & WithECPUPerSecond(ECPUPerSecondT &&value)
AWS_ELASTICACHE_API CacheUsageLimits & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CacheUsageLimits & WithDataStorage(DataStorageT &&value)
AWS_ELASTICACHE_API CacheUsageLimits(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API CacheUsageLimits()=default
bool DataStorageHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const DataStorage & GetDataStorage() const
bool ECPUPerSecondHasBeenSet() const
const ECPUPerSecond & GetECPUPerSecond() const
void SetDataStorage(DataStorageT &&value)
std::basic_ostream< char, std::char_traits< char > > OStream