AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CacheParameterGroup.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 CacheParameterGroup();
36 AWS_ELASTICACHE_API CacheParameterGroup(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICACHE_API CacheParameterGroup& 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& GetCacheParameterGroupName() const{ return m_cacheParameterGroupName; }
48 inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; }
49 inline void SetCacheParameterGroupName(const Aws::String& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; }
50 inline void SetCacheParameterGroupName(Aws::String&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = std::move(value); }
51 inline void SetCacheParameterGroupName(const char* value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName.assign(value); }
54 inline CacheParameterGroup& WithCacheParameterGroupName(const char* value) { SetCacheParameterGroupName(value); return *this;}
56
58
65 inline const Aws::String& GetCacheParameterGroupFamily() const{ return m_cacheParameterGroupFamily; }
66 inline bool CacheParameterGroupFamilyHasBeenSet() const { return m_cacheParameterGroupFamilyHasBeenSet; }
67 inline void SetCacheParameterGroupFamily(const Aws::String& value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily = value; }
68 inline void SetCacheParameterGroupFamily(Aws::String&& value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily = std::move(value); }
69 inline void SetCacheParameterGroupFamily(const char* value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily.assign(value); }
72 inline CacheParameterGroup& WithCacheParameterGroupFamily(const char* value) { SetCacheParameterGroupFamily(value); return *this;}
74
76
79 inline const Aws::String& GetDescription() const{ return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
82 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
83 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
84 inline CacheParameterGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
85 inline CacheParameterGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
86 inline CacheParameterGroup& WithDescription(const char* value) { SetDescription(value); return *this;}
88
90
94 inline bool GetIsGlobal() const{ return m_isGlobal; }
95 inline bool IsGlobalHasBeenSet() const { return m_isGlobalHasBeenSet; }
96 inline void SetIsGlobal(bool value) { m_isGlobalHasBeenSet = true; m_isGlobal = value; }
97 inline CacheParameterGroup& WithIsGlobal(bool value) { SetIsGlobal(value); return *this;}
99
101
104 inline const Aws::String& GetARN() const{ return m_aRN; }
105 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
106 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
107 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
108 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
109 inline CacheParameterGroup& WithARN(const Aws::String& value) { SetARN(value); return *this;}
110 inline CacheParameterGroup& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
111 inline CacheParameterGroup& WithARN(const char* value) { SetARN(value); return *this;}
113 private:
114
115 Aws::String m_cacheParameterGroupName;
116 bool m_cacheParameterGroupNameHasBeenSet = false;
117
118 Aws::String m_cacheParameterGroupFamily;
119 bool m_cacheParameterGroupFamilyHasBeenSet = false;
120
121 Aws::String m_description;
122 bool m_descriptionHasBeenSet = false;
123
124 bool m_isGlobal;
125 bool m_isGlobalHasBeenSet = false;
126
127 Aws::String m_aRN;
128 bool m_aRNHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace ElastiCache
133} // namespace Aws
CacheParameterGroup & WithCacheParameterGroupFamily(const char *value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CacheParameterGroup & WithCacheParameterGroupName(const Aws::String &value)
AWS_ELASTICACHE_API CacheParameterGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CacheParameterGroup & WithARN(const char *value)
const Aws::String & GetCacheParameterGroupFamily() const
CacheParameterGroup & WithDescription(const char *value)
CacheParameterGroup & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
CacheParameterGroup & WithARN(const Aws::String &value)
CacheParameterGroup & WithCacheParameterGroupFamily(const Aws::String &value)
void SetCacheParameterGroupFamily(const Aws::String &value)
CacheParameterGroup & WithCacheParameterGroupFamily(Aws::String &&value)
void SetCacheParameterGroupName(const Aws::String &value)
CacheParameterGroup & WithIsGlobal(bool value)
const Aws::String & GetCacheParameterGroupName() const
CacheParameterGroup & WithCacheParameterGroupName(const char *value)
AWS_ELASTICACHE_API CacheParameterGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CacheParameterGroup & WithARN(Aws::String &&value)
CacheParameterGroup & WithDescription(const Aws::String &value)
CacheParameterGroup & WithCacheParameterGroupName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream