7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename ServerlessCacheNameT = Aws::String>
50 void SetServerlessCacheName(ServerlessCacheNameT&& value) { m_serverlessCacheNameHasBeenSet =
true; m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value); }
51 template<
typename ServerlessCacheNameT = Aws::String>
61 template<
typename EngineT = Aws::String>
62 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
63 template<
typename EngineT = Aws::String>
73 template<
typename MajorEngineVersionT = Aws::String>
74 void SetMajorEngineVersion(MajorEngineVersionT&& value) { m_majorEngineVersionHasBeenSet =
true; m_majorEngineVersion = std::forward<MajorEngineVersionT>(value); }
75 template<
typename MajorEngineVersionT = Aws::String>
81 bool m_serverlessCacheNameHasBeenSet =
false;
84 bool m_engineHasBeenSet =
false;
87 bool m_majorEngineVersionHasBeenSet =
false;
void SetMajorEngineVersion(MajorEngineVersionT &&value)
const Aws::String & GetMajorEngineVersion() const
void SetServerlessCacheName(ServerlessCacheNameT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ServerlessCacheConfiguration & WithMajorEngineVersion(MajorEngineVersionT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICACHE_API ServerlessCacheConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetEngine() const
ServerlessCacheConfiguration & WithEngine(EngineT &&value)
ServerlessCacheConfiguration & WithServerlessCacheName(ServerlessCacheNameT &&value)
void SetEngine(EngineT &&value)
bool ServerlessCacheNameHasBeenSet() const
bool MajorEngineVersionHasBeenSet() const
bool EngineHasBeenSet() const
AWS_ELASTICACHE_API ServerlessCacheConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API ServerlessCacheConfiguration()=default
const Aws::String & GetServerlessCacheName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream