AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CacheEngineVersion.h
1
6#pragma once
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>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElastiCache
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ELASTICACHE_API CacheEngineVersion();
36 AWS_ELASTICACHE_API CacheEngineVersion(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICACHE_API CacheEngineVersion& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetEngine() const{ return m_engine; }
48 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
49 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
50 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
51 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
52 inline CacheEngineVersion& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
53 inline CacheEngineVersion& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
54 inline CacheEngineVersion& WithEngine(const char* value) { SetEngine(value); return *this;}
56
58
61 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
62 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
63 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
64 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
65 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
66 inline CacheEngineVersion& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
67 inline CacheEngineVersion& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
68 inline CacheEngineVersion& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
70
72
79 inline const Aws::String& GetCacheParameterGroupFamily() const{ return m_cacheParameterGroupFamily; }
80 inline bool CacheParameterGroupFamilyHasBeenSet() const { return m_cacheParameterGroupFamilyHasBeenSet; }
81 inline void SetCacheParameterGroupFamily(const Aws::String& value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily = value; }
82 inline void SetCacheParameterGroupFamily(Aws::String&& value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily = std::move(value); }
83 inline void SetCacheParameterGroupFamily(const char* value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily.assign(value); }
86 inline CacheEngineVersion& WithCacheParameterGroupFamily(const char* value) { SetCacheParameterGroupFamily(value); return *this;}
88
90
93 inline const Aws::String& GetCacheEngineDescription() const{ return m_cacheEngineDescription; }
94 inline bool CacheEngineDescriptionHasBeenSet() const { return m_cacheEngineDescriptionHasBeenSet; }
95 inline void SetCacheEngineDescription(const Aws::String& value) { m_cacheEngineDescriptionHasBeenSet = true; m_cacheEngineDescription = value; }
96 inline void SetCacheEngineDescription(Aws::String&& value) { m_cacheEngineDescriptionHasBeenSet = true; m_cacheEngineDescription = std::move(value); }
97 inline void SetCacheEngineDescription(const char* value) { m_cacheEngineDescriptionHasBeenSet = true; m_cacheEngineDescription.assign(value); }
99 inline CacheEngineVersion& WithCacheEngineDescription(Aws::String&& value) { SetCacheEngineDescription(std::move(value)); return *this;}
100 inline CacheEngineVersion& WithCacheEngineDescription(const char* value) { SetCacheEngineDescription(value); return *this;}
102
104
107 inline const Aws::String& GetCacheEngineVersionDescription() const{ return m_cacheEngineVersionDescription; }
108 inline bool CacheEngineVersionDescriptionHasBeenSet() const { return m_cacheEngineVersionDescriptionHasBeenSet; }
109 inline void SetCacheEngineVersionDescription(const Aws::String& value) { m_cacheEngineVersionDescriptionHasBeenSet = true; m_cacheEngineVersionDescription = value; }
110 inline void SetCacheEngineVersionDescription(Aws::String&& value) { m_cacheEngineVersionDescriptionHasBeenSet = true; m_cacheEngineVersionDescription = std::move(value); }
111 inline void SetCacheEngineVersionDescription(const char* value) { m_cacheEngineVersionDescriptionHasBeenSet = true; m_cacheEngineVersionDescription.assign(value); }
116 private:
117
118 Aws::String m_engine;
119 bool m_engineHasBeenSet = false;
120
121 Aws::String m_engineVersion;
122 bool m_engineVersionHasBeenSet = false;
123
124 Aws::String m_cacheParameterGroupFamily;
125 bool m_cacheParameterGroupFamilyHasBeenSet = false;
126
127 Aws::String m_cacheEngineDescription;
128 bool m_cacheEngineDescriptionHasBeenSet = false;
129
130 Aws::String m_cacheEngineVersionDescription;
131 bool m_cacheEngineVersionDescriptionHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace ElastiCache
136} // namespace Aws
const Aws::String & GetCacheEngineDescription() const
void SetCacheParameterGroupFamily(const Aws::String &value)
void SetCacheParameterGroupFamily(Aws::String &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CacheEngineVersion & WithEngine(Aws::String &&value)
CacheEngineVersion & WithCacheEngineDescription(const char *value)
CacheEngineVersion & WithCacheEngineDescription(const Aws::String &value)
CacheEngineVersion & WithCacheEngineVersionDescription(const Aws::String &value)
CacheEngineVersion & WithEngineVersion(const Aws::String &value)
CacheEngineVersion & WithEngineVersion(Aws::String &&value)
CacheEngineVersion & WithEngine(const char *value)
CacheEngineVersion & WithEngine(const Aws::String &value)
void SetCacheEngineDescription(Aws::String &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetCacheParameterGroupFamily() const
const Aws::String & GetCacheEngineVersionDescription() const
void SetCacheEngineDescription(const Aws::String &value)
CacheEngineVersion & WithCacheParameterGroupFamily(Aws::String &&value)
AWS_ELASTICACHE_API CacheEngineVersion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API CacheEngineVersion(const Aws::Utils::Xml::XmlNode &xmlNode)
CacheEngineVersion & WithCacheEngineDescription(Aws::String &&value)
CacheEngineVersion & WithCacheEngineVersionDescription(const char *value)
void SetEngineVersion(const Aws::String &value)
CacheEngineVersion & WithCacheEngineVersionDescription(Aws::String &&value)
CacheEngineVersion & WithCacheParameterGroupFamily(const Aws::String &value)
CacheEngineVersion & WithEngineVersion(const char *value)
void SetCacheEngineVersionDescription(Aws::String &&value)
void SetCacheEngineVersionDescription(const Aws::String &value)
CacheEngineVersion & WithCacheParameterGroupFamily(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream