AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBEngineVersion.h
1
6#pragma once
7#include <aws/docdb/DocDB_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/docdb/model/UpgradeTarget.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace DocDB
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DOCDB_API DBEngineVersion();
37 AWS_DOCDB_API DBEngineVersion(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_DOCDB_API DBEngineVersion& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetEngine() const{ return m_engine; }
49 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
50 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
51 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
52 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
53 inline DBEngineVersion& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
54 inline DBEngineVersion& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
55 inline DBEngineVersion& WithEngine(const char* value) { SetEngine(value); return *this;}
57
59
62 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
63 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
64 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
65 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
66 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
67 inline DBEngineVersion& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
68 inline DBEngineVersion& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
69 inline DBEngineVersion& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
71
73
76 inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
77 inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
78 inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
79 inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); }
80 inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
82 inline DBEngineVersion& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(std::move(value)); return *this;}
83 inline DBEngineVersion& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;}
85
87
90 inline const Aws::String& GetDBEngineDescription() const{ return m_dBEngineDescription; }
91 inline bool DBEngineDescriptionHasBeenSet() const { return m_dBEngineDescriptionHasBeenSet; }
92 inline void SetDBEngineDescription(const Aws::String& value) { m_dBEngineDescriptionHasBeenSet = true; m_dBEngineDescription = value; }
93 inline void SetDBEngineDescription(Aws::String&& value) { m_dBEngineDescriptionHasBeenSet = true; m_dBEngineDescription = std::move(value); }
94 inline void SetDBEngineDescription(const char* value) { m_dBEngineDescriptionHasBeenSet = true; m_dBEngineDescription.assign(value); }
95 inline DBEngineVersion& WithDBEngineDescription(const Aws::String& value) { SetDBEngineDescription(value); return *this;}
96 inline DBEngineVersion& WithDBEngineDescription(Aws::String&& value) { SetDBEngineDescription(std::move(value)); return *this;}
97 inline DBEngineVersion& WithDBEngineDescription(const char* value) { SetDBEngineDescription(value); return *this;}
99
101
104 inline const Aws::String& GetDBEngineVersionDescription() const{ return m_dBEngineVersionDescription; }
105 inline bool DBEngineVersionDescriptionHasBeenSet() const { return m_dBEngineVersionDescriptionHasBeenSet; }
106 inline void SetDBEngineVersionDescription(const Aws::String& value) { m_dBEngineVersionDescriptionHasBeenSet = true; m_dBEngineVersionDescription = value; }
107 inline void SetDBEngineVersionDescription(Aws::String&& value) { m_dBEngineVersionDescriptionHasBeenSet = true; m_dBEngineVersionDescription = std::move(value); }
108 inline void SetDBEngineVersionDescription(const char* value) { m_dBEngineVersionDescriptionHasBeenSet = true; m_dBEngineVersionDescription.assign(value); }
111 inline DBEngineVersion& WithDBEngineVersionDescription(const char* value) { SetDBEngineVersionDescription(value); return *this;}
113
115
119 inline const Aws::Vector<UpgradeTarget>& GetValidUpgradeTarget() const{ return m_validUpgradeTarget; }
120 inline bool ValidUpgradeTargetHasBeenSet() const { return m_validUpgradeTargetHasBeenSet; }
121 inline void SetValidUpgradeTarget(const Aws::Vector<UpgradeTarget>& value) { m_validUpgradeTargetHasBeenSet = true; m_validUpgradeTarget = value; }
122 inline void SetValidUpgradeTarget(Aws::Vector<UpgradeTarget>&& value) { m_validUpgradeTargetHasBeenSet = true; m_validUpgradeTarget = std::move(value); }
125 inline DBEngineVersion& AddValidUpgradeTarget(const UpgradeTarget& value) { m_validUpgradeTargetHasBeenSet = true; m_validUpgradeTarget.push_back(value); return *this; }
126 inline DBEngineVersion& AddValidUpgradeTarget(UpgradeTarget&& value) { m_validUpgradeTargetHasBeenSet = true; m_validUpgradeTarget.push_back(std::move(value)); return *this; }
128
130
134 inline const Aws::Vector<Aws::String>& GetExportableLogTypes() const{ return m_exportableLogTypes; }
135 inline bool ExportableLogTypesHasBeenSet() const { return m_exportableLogTypesHasBeenSet; }
136 inline void SetExportableLogTypes(const Aws::Vector<Aws::String>& value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes = value; }
137 inline void SetExportableLogTypes(Aws::Vector<Aws::String>&& value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes = std::move(value); }
140 inline DBEngineVersion& AddExportableLogTypes(const Aws::String& value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes.push_back(value); return *this; }
141 inline DBEngineVersion& AddExportableLogTypes(Aws::String&& value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes.push_back(std::move(value)); return *this; }
142 inline DBEngineVersion& AddExportableLogTypes(const char* value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes.push_back(value); return *this; }
144
146
150 inline bool GetSupportsLogExportsToCloudwatchLogs() const{ return m_supportsLogExportsToCloudwatchLogs; }
151 inline bool SupportsLogExportsToCloudwatchLogsHasBeenSet() const { return m_supportsLogExportsToCloudwatchLogsHasBeenSet; }
152 inline void SetSupportsLogExportsToCloudwatchLogs(bool value) { m_supportsLogExportsToCloudwatchLogsHasBeenSet = true; m_supportsLogExportsToCloudwatchLogs = value; }
155
157
166 inline const Aws::Vector<Aws::String>& GetSupportedCACertificateIdentifiers() const{ return m_supportedCACertificateIdentifiers; }
167 inline bool SupportedCACertificateIdentifiersHasBeenSet() const { return m_supportedCACertificateIdentifiersHasBeenSet; }
168 inline void SetSupportedCACertificateIdentifiers(const Aws::Vector<Aws::String>& value) { m_supportedCACertificateIdentifiersHasBeenSet = true; m_supportedCACertificateIdentifiers = value; }
169 inline void SetSupportedCACertificateIdentifiers(Aws::Vector<Aws::String>&& value) { m_supportedCACertificateIdentifiersHasBeenSet = true; m_supportedCACertificateIdentifiers = std::move(value); }
172 inline DBEngineVersion& AddSupportedCACertificateIdentifiers(const Aws::String& value) { m_supportedCACertificateIdentifiersHasBeenSet = true; m_supportedCACertificateIdentifiers.push_back(value); return *this; }
173 inline DBEngineVersion& AddSupportedCACertificateIdentifiers(Aws::String&& value) { m_supportedCACertificateIdentifiersHasBeenSet = true; m_supportedCACertificateIdentifiers.push_back(std::move(value)); return *this; }
174 inline DBEngineVersion& AddSupportedCACertificateIdentifiers(const char* value) { m_supportedCACertificateIdentifiersHasBeenSet = true; m_supportedCACertificateIdentifiers.push_back(value); return *this; }
176
178
182 inline bool GetSupportsCertificateRotationWithoutRestart() const{ return m_supportsCertificateRotationWithoutRestart; }
183 inline bool SupportsCertificateRotationWithoutRestartHasBeenSet() const { return m_supportsCertificateRotationWithoutRestartHasBeenSet; }
184 inline void SetSupportsCertificateRotationWithoutRestart(bool value) { m_supportsCertificateRotationWithoutRestartHasBeenSet = true; m_supportsCertificateRotationWithoutRestart = value; }
187 private:
188
189 Aws::String m_engine;
190 bool m_engineHasBeenSet = false;
191
192 Aws::String m_engineVersion;
193 bool m_engineVersionHasBeenSet = false;
194
195 Aws::String m_dBParameterGroupFamily;
196 bool m_dBParameterGroupFamilyHasBeenSet = false;
197
198 Aws::String m_dBEngineDescription;
199 bool m_dBEngineDescriptionHasBeenSet = false;
200
201 Aws::String m_dBEngineVersionDescription;
202 bool m_dBEngineVersionDescriptionHasBeenSet = false;
203
204 Aws::Vector<UpgradeTarget> m_validUpgradeTarget;
205 bool m_validUpgradeTargetHasBeenSet = false;
206
207 Aws::Vector<Aws::String> m_exportableLogTypes;
208 bool m_exportableLogTypesHasBeenSet = false;
209
210 bool m_supportsLogExportsToCloudwatchLogs;
211 bool m_supportsLogExportsToCloudwatchLogsHasBeenSet = false;
212
213 Aws::Vector<Aws::String> m_supportedCACertificateIdentifiers;
214 bool m_supportedCACertificateIdentifiersHasBeenSet = false;
215
216 bool m_supportsCertificateRotationWithoutRestart;
217 bool m_supportsCertificateRotationWithoutRestartHasBeenSet = false;
218 };
219
220} // namespace Model
221} // namespace DocDB
222} // namespace Aws
DBEngineVersion & WithSupportedCACertificateIdentifiers(Aws::Vector< Aws::String > &&value)
void SetExportableLogTypes(Aws::Vector< Aws::String > &&value)
void SetSupportedCACertificateIdentifiers(Aws::Vector< Aws::String > &&value)
DBEngineVersion & WithValidUpgradeTarget(const Aws::Vector< UpgradeTarget > &value)
void SetDBParameterGroupFamily(const Aws::String &value)
void SetEngine(const Aws::String &value)
DBEngineVersion & AddExportableLogTypes(Aws::String &&value)
void SetEngine(const char *value)
DBEngineVersion & WithEngine(const char *value)
void SetDBEngineVersionDescription(const char *value)
void SetEngineVersion(Aws::String &&value)
const Aws::String & GetEngine() const
void SetSupportedCACertificateIdentifiers(const Aws::Vector< Aws::String > &value)
AWS_DOCDB_API DBEngineVersion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SupportsCertificateRotationWithoutRestartHasBeenSet() const
DBEngineVersion & WithEngineVersion(const char *value)
void SetDBEngineVersionDescription(Aws::String &&value)
DBEngineVersion & AddExportableLogTypes(const Aws::String &value)
DBEngineVersion & WithSupportsLogExportsToCloudwatchLogs(bool value)
DBEngineVersion & WithSupportsCertificateRotationWithoutRestart(bool value)
DBEngineVersion & AddValidUpgradeTarget(UpgradeTarget &&value)
DBEngineVersion & WithDBParameterGroupFamily(const Aws::String &value)
DBEngineVersion & WithDBEngineVersionDescription(Aws::String &&value)
DBEngineVersion & AddValidUpgradeTarget(const UpgradeTarget &value)
DBEngineVersion & WithExportableLogTypes(const Aws::Vector< Aws::String > &value)
DBEngineVersion & WithDBEngineDescription(Aws::String &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDBEngineDescription(const char *value)
const Aws::String & GetDBEngineVersionDescription() const
bool GetSupportsCertificateRotationWithoutRestart() const
void SetDBParameterGroupFamily(Aws::String &&value)
const Aws::Vector< Aws::String > & GetExportableLogTypes() const
DBEngineVersion & WithEngineVersion(Aws::String &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_DOCDB_API DBEngineVersion(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SupportedCACertificateIdentifiersHasBeenSet() const
void SetValidUpgradeTarget(const Aws::Vector< UpgradeTarget > &value)
DBEngineVersion & WithSupportedCACertificateIdentifiers(const Aws::Vector< Aws::String > &value)
DBEngineVersion & WithEngine(Aws::String &&value)
void SetDBParameterGroupFamily(const char *value)
void SetEngine(Aws::String &&value)
const Aws::String & GetDBParameterGroupFamily() const
void SetSupportsCertificateRotationWithoutRestart(bool value)
void SetExportableLogTypes(const Aws::Vector< Aws::String > &value)
const Aws::String & GetDBEngineDescription() const
DBEngineVersion & AddSupportedCACertificateIdentifiers(Aws::String &&value)
DBEngineVersion & AddExportableLogTypes(const char *value)
DBEngineVersion & WithDBEngineDescription(const Aws::String &value)
DBEngineVersion & AddSupportedCACertificateIdentifiers(const Aws::String &value)
DBEngineVersion & WithExportableLogTypes(Aws::Vector< Aws::String > &&value)
DBEngineVersion & WithDBEngineVersionDescription(const Aws::String &value)
const Aws::Vector< UpgradeTarget > & GetValidUpgradeTarget() const
void SetEngineVersion(const char *value)
DBEngineVersion & WithEngine(const Aws::String &value)
void SetDBEngineVersionDescription(const Aws::String &value)
DBEngineVersion & WithDBEngineDescription(const char *value)
DBEngineVersion & AddSupportedCACertificateIdentifiers(const char *value)
void SetDBEngineDescription(Aws::String &&value)
void SetSupportsLogExportsToCloudwatchLogs(bool value)
DBEngineVersion & WithValidUpgradeTarget(Aws::Vector< UpgradeTarget > &&value)
DBEngineVersion & WithDBEngineVersionDescription(const char *value)
DBEngineVersion & WithDBParameterGroupFamily(Aws::String &&value)
void SetDBEngineDescription(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSupportedCACertificateIdentifiers() const
bool SupportsLogExportsToCloudwatchLogsHasBeenSet() const
const Aws::String & GetEngineVersion() const
DBEngineVersion & WithDBParameterGroupFamily(const char *value)
DBEngineVersion & WithEngineVersion(const Aws::String &value)
void SetEngineVersion(const Aws::String &value)
void SetValidUpgradeTarget(Aws::Vector< UpgradeTarget > &&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