AWS SDK for C++  1.9.108
AWS SDK for C++
EngineDefaults.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace RDS
24 {
25 namespace Model
26 {
27 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
50  inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
51 
56  inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
57 
62  inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
63 
68  inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); }
69 
74  inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
75 
80  inline EngineDefaults& WithDBParameterGroupFamily(const Aws::String& value) { SetDBParameterGroupFamily(value); return *this;}
81 
86  inline EngineDefaults& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(std::move(value)); return *this;}
87 
92  inline EngineDefaults& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;}
93 
94 
100  inline const Aws::String& GetMarker() const{ return m_marker; }
101 
107  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
108 
114  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
115 
121  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
122 
128  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
129 
135  inline EngineDefaults& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
136 
142  inline EngineDefaults& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
143 
149  inline EngineDefaults& WithMarker(const char* value) { SetMarker(value); return *this;}
150 
151 
155  inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
156 
160  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
161 
165  inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
166 
170  inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
171 
175  inline EngineDefaults& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
176 
180  inline EngineDefaults& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
181 
185  inline EngineDefaults& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
186 
190  inline EngineDefaults& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
191 
192  private:
193 
194  Aws::String m_dBParameterGroupFamily;
195  bool m_dBParameterGroupFamilyHasBeenSet;
196 
197  Aws::String m_marker;
198  bool m_markerHasBeenSet;
199 
200  Aws::Vector<Parameter> m_parameters;
201  bool m_parametersHasBeenSet;
202  };
203 
204 } // namespace Model
205 } // namespace RDS
206 } // namespace Aws
Aws::RDS::Model::EngineDefaults::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(const char *value)
Definition: EngineDefaults.h:74
Aws::RDS::Model::EngineDefaults::AddParameters
EngineDefaults & AddParameters(Parameter &&value)
Definition: EngineDefaults.h:190
Aws::RDS::Model::EngineDefaults::WithMarker
EngineDefaults & WithMarker(Aws::String &&value)
Definition: EngineDefaults.h:142
Parameter.h
Aws::RDS::Model::EngineDefaults::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::EngineDefaults::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: EngineDefaults.h:107
Aws::RDS::Model::EngineDefaults::operator=
EngineDefaults & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::EngineDefaults::WithParameters
EngineDefaults & WithParameters(const Aws::Vector< Parameter > &value)
Definition: EngineDefaults.h:175
Aws::RDS::Model::EngineDefaults::EngineDefaults
EngineDefaults(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::EngineDefaults::SetMarker
void SetMarker(Aws::String &&value)
Definition: EngineDefaults.h:121
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
AWSVector.h
Aws::RDS::Model::EngineDefaults::GetMarker
const Aws::String & GetMarker() const
Definition: EngineDefaults.h:100
Aws::RDS::Model::EngineDefaults::SetMarker
void SetMarker(const char *value)
Definition: EngineDefaults.h:128
Aws::RDS::Model::EngineDefaults::SetMarker
void SetMarker(const Aws::String &value)
Definition: EngineDefaults.h:114
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::EngineDefaults::WithDBParameterGroupFamily
EngineDefaults & WithDBParameterGroupFamily(const char *value)
Definition: EngineDefaults.h:92
Aws::RDS::Model::EngineDefaults::GetDBParameterGroupFamily
const Aws::String & GetDBParameterGroupFamily() const
Definition: EngineDefaults.h:50
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::EngineDefaults::WithMarker
EngineDefaults & WithMarker(const Aws::String &value)
Definition: EngineDefaults.h:135
Aws::RDS::Model::EngineDefaults::WithDBParameterGroupFamily
EngineDefaults & WithDBParameterGroupFamily(Aws::String &&value)
Definition: EngineDefaults.h:86
Aws::RDS::Model::EngineDefaults::AddParameters
EngineDefaults & AddParameters(const Parameter &value)
Definition: EngineDefaults.h:185
Aws::RDS::Model::EngineDefaults
Definition: EngineDefaults.h:36
Aws::RDS::Model::EngineDefaults::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(Aws::String &&value)
Definition: EngineDefaults.h:68
Aws::RDS::Model::EngineDefaults::DBParameterGroupFamilyHasBeenSet
bool DBParameterGroupFamilyHasBeenSet() const
Definition: EngineDefaults.h:56
Aws::RDS::Model::Parameter
Definition: Parameter.h:38
AWSString.h
Aws::RDS::Model::EngineDefaults::GetParameters
const Aws::Vector< Parameter > & GetParameters() const
Definition: EngineDefaults.h:155
Aws::RDS::Model::EngineDefaults::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: EngineDefaults.h:160
Aws::RDS::Model::EngineDefaults::WithParameters
EngineDefaults & WithParameters(Aws::Vector< Parameter > &&value)
Definition: EngineDefaults.h:180
Aws::RDS::Model::EngineDefaults::WithDBParameterGroupFamily
EngineDefaults & WithDBParameterGroupFamily(const Aws::String &value)
Definition: EngineDefaults.h:80
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::EngineDefaults::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::EngineDefaults::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(const Aws::String &value)
Definition: EngineDefaults.h:62
Aws::RDS::Model::EngineDefaults::SetParameters
void SetParameters(Aws::Vector< Parameter > &&value)
Definition: EngineDefaults.h:170
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::EngineDefaults::EngineDefaults
EngineDefaults()
Aws::RDS::Model::EngineDefaults::SetParameters
void SetParameters(const Aws::Vector< Parameter > &value)
Definition: EngineDefaults.h:165
Aws::RDS::Model::EngineDefaults::WithMarker
EngineDefaults & WithMarker(const char *value)
Definition: EngineDefaults.h:149