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/rds/RDS_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/rds/model/Parameter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace RDS
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_RDS_API EngineDefaults();
39 AWS_RDS_API EngineDefaults(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
51 inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
52 inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
53 inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
54 inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); }
55 inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
57 inline EngineDefaults& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(std::move(value)); return *this;}
58 inline EngineDefaults& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;}
60
62
67 inline const Aws::String& GetMarker() const{ return m_marker; }
68 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
69 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
70 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
71 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
72 inline EngineDefaults& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
73 inline EngineDefaults& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
74 inline EngineDefaults& WithMarker(const char* value) { SetMarker(value); return *this;}
76
78
81 inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
82 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
83 inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
84 inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
85 inline EngineDefaults& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
86 inline EngineDefaults& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
87 inline EngineDefaults& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
88 inline EngineDefaults& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
90 private:
91
92 Aws::String m_dBParameterGroupFamily;
93 bool m_dBParameterGroupFamilyHasBeenSet = false;
94
95 Aws::String m_marker;
96 bool m_markerHasBeenSet = false;
97
98 Aws::Vector<Parameter> m_parameters;
99 bool m_parametersHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace RDS
104} // namespace Aws
EngineDefaults & AddParameters(Parameter &&value)
EngineDefaults & WithMarker(const char *value)
bool DBParameterGroupFamilyHasBeenSet() const
EngineDefaults & WithParameters(const Aws::Vector< Parameter > &value)
const Aws::Vector< Parameter > & GetParameters() const
EngineDefaults & WithMarker(const Aws::String &value)
EngineDefaults & WithDBParameterGroupFamily(const Aws::String &value)
void SetParameters(const Aws::Vector< Parameter > &value)
AWS_RDS_API EngineDefaults(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMarker(Aws::String &&value)
void SetDBParameterGroupFamily(Aws::String &&value)
EngineDefaults & WithMarker(Aws::String &&value)
void SetMarker(const char *value)
void SetMarker(const Aws::String &value)
const Aws::String & GetDBParameterGroupFamily() const
EngineDefaults & WithParameters(Aws::Vector< Parameter > &&value)
AWS_RDS_API EngineDefaults & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EngineDefaults & WithDBParameterGroupFamily(Aws::String &&value)
void SetDBParameterGroupFamily(const Aws::String &value)
void SetDBParameterGroupFamily(const char *value)
const Aws::String & GetMarker() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EngineDefaults & AddParameters(const Parameter &value)
void SetParameters(Aws::Vector< Parameter > &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EngineDefaults & WithDBParameterGroupFamily(const char *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