AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EngineDefaults.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/model/Parameter.h>
12#include <aws/elasticache/model/CacheNodeTypeSpecificParameter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace ElastiCache
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_ELASTICACHE_API EngineDefaults();
39 AWS_ELASTICACHE_API EngineDefaults(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_ELASTICACHE_API EngineDefaults& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
55 inline const Aws::String& GetCacheParameterGroupFamily() const{ return m_cacheParameterGroupFamily; }
56 inline bool CacheParameterGroupFamilyHasBeenSet() const { return m_cacheParameterGroupFamilyHasBeenSet; }
57 inline void SetCacheParameterGroupFamily(const Aws::String& value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily = value; }
58 inline void SetCacheParameterGroupFamily(Aws::String&& value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily = std::move(value); }
59 inline void SetCacheParameterGroupFamily(const char* value) { m_cacheParameterGroupFamilyHasBeenSet = true; m_cacheParameterGroupFamily.assign(value); }
61 inline EngineDefaults& WithCacheParameterGroupFamily(Aws::String&& value) { SetCacheParameterGroupFamily(std::move(value)); return *this;}
62 inline EngineDefaults& WithCacheParameterGroupFamily(const char* value) { SetCacheParameterGroupFamily(value); return *this;}
64
66
69 inline const Aws::String& GetMarker() const{ return m_marker; }
70 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
71 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
72 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
73 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
74 inline EngineDefaults& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
75 inline EngineDefaults& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
76 inline EngineDefaults& WithMarker(const char* value) { SetMarker(value); return *this;}
78
80
83 inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
84 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
85 inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
86 inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
87 inline EngineDefaults& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
88 inline EngineDefaults& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
89 inline EngineDefaults& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
90 inline EngineDefaults& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
92
94
98 inline const Aws::Vector<CacheNodeTypeSpecificParameter>& GetCacheNodeTypeSpecificParameters() const{ return m_cacheNodeTypeSpecificParameters; }
99 inline bool CacheNodeTypeSpecificParametersHasBeenSet() const { return m_cacheNodeTypeSpecificParametersHasBeenSet; }
100 inline void SetCacheNodeTypeSpecificParameters(const Aws::Vector<CacheNodeTypeSpecificParameter>& value) { m_cacheNodeTypeSpecificParametersHasBeenSet = true; m_cacheNodeTypeSpecificParameters = value; }
101 inline void SetCacheNodeTypeSpecificParameters(Aws::Vector<CacheNodeTypeSpecificParameter>&& value) { m_cacheNodeTypeSpecificParametersHasBeenSet = true; m_cacheNodeTypeSpecificParameters = std::move(value); }
104 inline EngineDefaults& AddCacheNodeTypeSpecificParameters(const CacheNodeTypeSpecificParameter& value) { m_cacheNodeTypeSpecificParametersHasBeenSet = true; m_cacheNodeTypeSpecificParameters.push_back(value); return *this; }
105 inline EngineDefaults& AddCacheNodeTypeSpecificParameters(CacheNodeTypeSpecificParameter&& value) { m_cacheNodeTypeSpecificParametersHasBeenSet = true; m_cacheNodeTypeSpecificParameters.push_back(std::move(value)); return *this; }
107 private:
108
109 Aws::String m_cacheParameterGroupFamily;
110 bool m_cacheParameterGroupFamilyHasBeenSet = false;
111
112 Aws::String m_marker;
113 bool m_markerHasBeenSet = false;
114
115 Aws::Vector<Parameter> m_parameters;
116 bool m_parametersHasBeenSet = false;
117
118 Aws::Vector<CacheNodeTypeSpecificParameter> m_cacheNodeTypeSpecificParameters;
119 bool m_cacheNodeTypeSpecificParametersHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace ElastiCache
124} // namespace Aws
EngineDefaults & AddCacheNodeTypeSpecificParameters(const CacheNodeTypeSpecificParameter &value)
EngineDefaults & WithCacheNodeTypeSpecificParameters(Aws::Vector< CacheNodeTypeSpecificParameter > &&value)
void SetMarker(const Aws::String &value)
EngineDefaults & WithCacheNodeTypeSpecificParameters(const Aws::Vector< CacheNodeTypeSpecificParameter > &value)
EngineDefaults & WithMarker(const char *value)
void SetCacheParameterGroupFamily(const Aws::String &value)
EngineDefaults & AddParameters(Parameter &&value)
void SetMarker(Aws::String &&value)
const Aws::String & GetCacheParameterGroupFamily() const
AWS_ELASTICACHE_API EngineDefaults & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetParameters(const Aws::Vector< Parameter > &value)
EngineDefaults & WithMarker(Aws::String &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EngineDefaults & WithCacheParameterGroupFamily(const Aws::String &value)
EngineDefaults & WithMarker(const Aws::String &value)
void SetCacheNodeTypeSpecificParameters(Aws::Vector< CacheNodeTypeSpecificParameter > &&value)
EngineDefaults & AddParameters(const Parameter &value)
const Aws::Vector< CacheNodeTypeSpecificParameter > & GetCacheNodeTypeSpecificParameters() const
AWS_ELASTICACHE_API EngineDefaults(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCacheParameterGroupFamily(const char *value)
const Aws::String & GetMarker() const
void SetParameters(Aws::Vector< Parameter > &&value)
void SetCacheNodeTypeSpecificParameters(const Aws::Vector< CacheNodeTypeSpecificParameter > &value)
EngineDefaults & WithCacheParameterGroupFamily(const char *value)
void SetCacheParameterGroupFamily(Aws::String &&value)
EngineDefaults & WithCacheParameterGroupFamily(Aws::String &&value)
const Aws::Vector< Parameter > & GetParameters() const
EngineDefaults & WithParameters(const Aws::Vector< Parameter > &value)
EngineDefaults & WithParameters(Aws::Vector< Parameter > &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EngineDefaults & AddCacheNodeTypeSpecificParameters(CacheNodeTypeSpecificParameter &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream