AWS SDK for C++  1.9.158
AWS SDK for C++
EngineDefaults.h
Go to the documentation of this file.
1 
6 #pragma once
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 Neptune
24 {
25 namespace Model
26 {
27 
35  {
36  public:
40 
41  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42  void OutputToStream(Aws::OStream& oStream, const char* location) const;
43 
44 
49  inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
50 
55  inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
56 
61  inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
62 
67  inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); }
68 
73  inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
74 
79  inline EngineDefaults& WithDBParameterGroupFamily(const Aws::String& value) { SetDBParameterGroupFamily(value); return *this;}
80 
85  inline EngineDefaults& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(std::move(value)); return *this;}
86 
91  inline EngineDefaults& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;}
92 
93 
99  inline const Aws::String& GetMarker() const{ return m_marker; }
100 
106  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
107 
113  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
114 
120  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
121 
127  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
128 
134  inline EngineDefaults& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
135 
141  inline EngineDefaults& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
142 
148  inline EngineDefaults& WithMarker(const char* value) { SetMarker(value); return *this;}
149 
150 
154  inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
155 
159  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
160 
164  inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
165 
169  inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
170 
174  inline EngineDefaults& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
175 
179  inline EngineDefaults& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
180 
184  inline EngineDefaults& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
185 
189  inline EngineDefaults& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
190 
191  private:
192 
193  Aws::String m_dBParameterGroupFamily;
194  bool m_dBParameterGroupFamilyHasBeenSet;
195 
196  Aws::String m_marker;
197  bool m_markerHasBeenSet;
198 
199  Aws::Vector<Parameter> m_parameters;
200  bool m_parametersHasBeenSet;
201  };
202 
203 } // namespace Model
204 } // namespace Neptune
205 } // namespace Aws
Aws::Neptune::Model::EngineDefaults::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: EngineDefaults.h:159
Aws::Neptune::Model::EngineDefaults
Definition: EngineDefaults.h:35
Aws::Neptune::Model::EngineDefaults::WithParameters
EngineDefaults & WithParameters(Aws::Vector< Parameter > &&value)
Definition: EngineDefaults.h:179
Aws::Neptune::Model::EngineDefaults::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Neptune::Model::EngineDefaults::GetMarker
const Aws::String & GetMarker() const
Definition: EngineDefaults.h:99
Neptune_EXPORTS.h
Aws::Neptune::Model::EngineDefaults::DBParameterGroupFamilyHasBeenSet
bool DBParameterGroupFamilyHasBeenSet() const
Definition: EngineDefaults.h:55
Aws::Neptune::Model::EngineDefaults::WithMarker
EngineDefaults & WithMarker(Aws::String &&value)
Definition: EngineDefaults.h:141
Aws::Neptune::Model::EngineDefaults::SetMarker
void SetMarker(const Aws::String &value)
Definition: EngineDefaults.h:113
AWS_NEPTUNE_API
#define AWS_NEPTUNE_API
Definition: Neptune_EXPORTS.h:28
Aws::Neptune::Model::EngineDefaults::WithParameters
EngineDefaults & WithParameters(const Aws::Vector< Parameter > &value)
Definition: EngineDefaults.h:174
Aws::Neptune::Model::EngineDefaults::EngineDefaults
EngineDefaults()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
Aws::Neptune::Model::EngineDefaults::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(const char *value)
Definition: EngineDefaults.h:73
Aws::Neptune::Model::EngineDefaults::GetDBParameterGroupFamily
const Aws::String & GetDBParameterGroupFamily() const
Definition: EngineDefaults.h:49
AWSVector.h
Parameter.h
Aws::Neptune::Model::EngineDefaults::AddParameters
EngineDefaults & AddParameters(Parameter &&value)
Definition: EngineDefaults.h:189
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Neptune::Model::EngineDefaults::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Neptune::Model::EngineDefaults::WithMarker
EngineDefaults & WithMarker(const Aws::String &value)
Definition: EngineDefaults.h:134
Aws::Neptune::Model::EngineDefaults::SetParameters
void SetParameters(Aws::Vector< Parameter > &&value)
Definition: EngineDefaults.h:169
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Neptune::Model::EngineDefaults::SetMarker
void SetMarker(const char *value)
Definition: EngineDefaults.h:127
AWSString.h
Aws::Neptune::Model::EngineDefaults::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: EngineDefaults.h:106
Aws::Neptune::Model::EngineDefaults::operator=
EngineDefaults & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Neptune::Model::EngineDefaults::WithDBParameterGroupFamily
EngineDefaults & WithDBParameterGroupFamily(Aws::String &&value)
Definition: EngineDefaults.h:85
Aws::Neptune::Model::EngineDefaults::AddParameters
EngineDefaults & AddParameters(const Parameter &value)
Definition: EngineDefaults.h:184
Aws::Neptune::Model::EngineDefaults::SetParameters
void SetParameters(const Aws::Vector< Parameter > &value)
Definition: EngineDefaults.h:164
Aws
Definition: AccessManagementClient.h:15
Aws::Neptune::Model::EngineDefaults::WithMarker
EngineDefaults & WithMarker(const char *value)
Definition: EngineDefaults.h:148
Aws::Neptune::Model::EngineDefaults::SetMarker
void SetMarker(Aws::String &&value)
Definition: EngineDefaults.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Neptune::Model::EngineDefaults::WithDBParameterGroupFamily
EngineDefaults & WithDBParameterGroupFamily(const Aws::String &value)
Definition: EngineDefaults.h:79
Aws::Neptune::Model::Parameter
Definition: Parameter.h:33
index
int index
Definition: cJSON.h:181
Aws::Neptune::Model::EngineDefaults::WithDBParameterGroupFamily
EngineDefaults & WithDBParameterGroupFamily(const char *value)
Definition: EngineDefaults.h:91
Aws::Neptune::Model::EngineDefaults::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(const Aws::String &value)
Definition: EngineDefaults.h:61
Aws::Neptune::Model::EngineDefaults::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(Aws::String &&value)
Definition: EngineDefaults.h:67
Aws::Neptune::Model::EngineDefaults::GetParameters
const Aws::Vector< Parameter > & GetParameters() const
Definition: EngineDefaults.h:154
Aws::Neptune::Model::EngineDefaults::EngineDefaults
EngineDefaults(const Aws::Utils::Xml::XmlNode &xmlNode)