AWS SDK for C++

AWS SDK for C++ Version 1.11.637

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/ServerlessV2FeaturesSupport.h>
12#include <aws/docdb/model/UpgradeTarget.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace DocDB
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DOCDB_API DBEngineVersion() = default;
38 AWS_DOCDB_API DBEngineVersion(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_DOCDB_API DBEngineVersion& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetEngine() const { return m_engine; }
50 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
51 template<typename EngineT = Aws::String>
52 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
53 template<typename EngineT = Aws::String>
54 DBEngineVersion& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
56
58
61 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
62 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
63 template<typename EngineVersionT = Aws::String>
64 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
65 template<typename EngineVersionT = Aws::String>
66 DBEngineVersion& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDBParameterGroupFamily() const { return m_dBParameterGroupFamily; }
74 inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
75 template<typename DBParameterGroupFamilyT = Aws::String>
76 void SetDBParameterGroupFamily(DBParameterGroupFamilyT&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::forward<DBParameterGroupFamilyT>(value); }
77 template<typename DBParameterGroupFamilyT = Aws::String>
78 DBEngineVersion& WithDBParameterGroupFamily(DBParameterGroupFamilyT&& value) { SetDBParameterGroupFamily(std::forward<DBParameterGroupFamilyT>(value)); return *this;}
80
82
85 inline const Aws::String& GetDBEngineDescription() const { return m_dBEngineDescription; }
86 inline bool DBEngineDescriptionHasBeenSet() const { return m_dBEngineDescriptionHasBeenSet; }
87 template<typename DBEngineDescriptionT = Aws::String>
88 void SetDBEngineDescription(DBEngineDescriptionT&& value) { m_dBEngineDescriptionHasBeenSet = true; m_dBEngineDescription = std::forward<DBEngineDescriptionT>(value); }
89 template<typename DBEngineDescriptionT = Aws::String>
90 DBEngineVersion& WithDBEngineDescription(DBEngineDescriptionT&& value) { SetDBEngineDescription(std::forward<DBEngineDescriptionT>(value)); return *this;}
92
94
97 inline const Aws::String& GetDBEngineVersionDescription() const { return m_dBEngineVersionDescription; }
98 inline bool DBEngineVersionDescriptionHasBeenSet() const { return m_dBEngineVersionDescriptionHasBeenSet; }
99 template<typename DBEngineVersionDescriptionT = Aws::String>
100 void SetDBEngineVersionDescription(DBEngineVersionDescriptionT&& value) { m_dBEngineVersionDescriptionHasBeenSet = true; m_dBEngineVersionDescription = std::forward<DBEngineVersionDescriptionT>(value); }
101 template<typename DBEngineVersionDescriptionT = Aws::String>
102 DBEngineVersion& WithDBEngineVersionDescription(DBEngineVersionDescriptionT&& value) { SetDBEngineVersionDescription(std::forward<DBEngineVersionDescriptionT>(value)); return *this;}
104
106
110 inline const Aws::Vector<UpgradeTarget>& GetValidUpgradeTarget() const { return m_validUpgradeTarget; }
111 inline bool ValidUpgradeTargetHasBeenSet() const { return m_validUpgradeTargetHasBeenSet; }
112 template<typename ValidUpgradeTargetT = Aws::Vector<UpgradeTarget>>
113 void SetValidUpgradeTarget(ValidUpgradeTargetT&& value) { m_validUpgradeTargetHasBeenSet = true; m_validUpgradeTarget = std::forward<ValidUpgradeTargetT>(value); }
114 template<typename ValidUpgradeTargetT = Aws::Vector<UpgradeTarget>>
115 DBEngineVersion& WithValidUpgradeTarget(ValidUpgradeTargetT&& value) { SetValidUpgradeTarget(std::forward<ValidUpgradeTargetT>(value)); return *this;}
116 template<typename ValidUpgradeTargetT = UpgradeTarget>
117 DBEngineVersion& AddValidUpgradeTarget(ValidUpgradeTargetT&& value) { m_validUpgradeTargetHasBeenSet = true; m_validUpgradeTarget.emplace_back(std::forward<ValidUpgradeTargetT>(value)); return *this; }
119
121
125 inline const Aws::Vector<Aws::String>& GetExportableLogTypes() const { return m_exportableLogTypes; }
126 inline bool ExportableLogTypesHasBeenSet() const { return m_exportableLogTypesHasBeenSet; }
127 template<typename ExportableLogTypesT = Aws::Vector<Aws::String>>
128 void SetExportableLogTypes(ExportableLogTypesT&& value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes = std::forward<ExportableLogTypesT>(value); }
129 template<typename ExportableLogTypesT = Aws::Vector<Aws::String>>
130 DBEngineVersion& WithExportableLogTypes(ExportableLogTypesT&& value) { SetExportableLogTypes(std::forward<ExportableLogTypesT>(value)); return *this;}
131 template<typename ExportableLogTypesT = Aws::String>
132 DBEngineVersion& AddExportableLogTypes(ExportableLogTypesT&& value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes.emplace_back(std::forward<ExportableLogTypesT>(value)); return *this; }
134
136
140 inline bool GetSupportsLogExportsToCloudwatchLogs() const { return m_supportsLogExportsToCloudwatchLogs; }
141 inline bool SupportsLogExportsToCloudwatchLogsHasBeenSet() const { return m_supportsLogExportsToCloudwatchLogsHasBeenSet; }
142 inline void SetSupportsLogExportsToCloudwatchLogs(bool value) { m_supportsLogExportsToCloudwatchLogsHasBeenSet = true; m_supportsLogExportsToCloudwatchLogs = value; }
145
147
156 inline const Aws::Vector<Aws::String>& GetSupportedCACertificateIdentifiers() const { return m_supportedCACertificateIdentifiers; }
157 inline bool SupportedCACertificateIdentifiersHasBeenSet() const { return m_supportedCACertificateIdentifiersHasBeenSet; }
158 template<typename SupportedCACertificateIdentifiersT = Aws::Vector<Aws::String>>
159 void SetSupportedCACertificateIdentifiers(SupportedCACertificateIdentifiersT&& value) { m_supportedCACertificateIdentifiersHasBeenSet = true; m_supportedCACertificateIdentifiers = std::forward<SupportedCACertificateIdentifiersT>(value); }
160 template<typename SupportedCACertificateIdentifiersT = Aws::Vector<Aws::String>>
161 DBEngineVersion& WithSupportedCACertificateIdentifiers(SupportedCACertificateIdentifiersT&& value) { SetSupportedCACertificateIdentifiers(std::forward<SupportedCACertificateIdentifiersT>(value)); return *this;}
162 template<typename SupportedCACertificateIdentifiersT = Aws::String>
163 DBEngineVersion& AddSupportedCACertificateIdentifiers(SupportedCACertificateIdentifiersT&& value) { m_supportedCACertificateIdentifiersHasBeenSet = true; m_supportedCACertificateIdentifiers.emplace_back(std::forward<SupportedCACertificateIdentifiersT>(value)); return *this; }
165
167
171 inline bool GetSupportsCertificateRotationWithoutRestart() const { return m_supportsCertificateRotationWithoutRestart; }
172 inline bool SupportsCertificateRotationWithoutRestartHasBeenSet() const { return m_supportsCertificateRotationWithoutRestartHasBeenSet; }
173 inline void SetSupportsCertificateRotationWithoutRestart(bool value) { m_supportsCertificateRotationWithoutRestartHasBeenSet = true; m_supportsCertificateRotationWithoutRestart = value; }
176
178
186 inline const ServerlessV2FeaturesSupport& GetServerlessV2FeaturesSupport() const { return m_serverlessV2FeaturesSupport; }
187 inline bool ServerlessV2FeaturesSupportHasBeenSet() const { return m_serverlessV2FeaturesSupportHasBeenSet; }
188 template<typename ServerlessV2FeaturesSupportT = ServerlessV2FeaturesSupport>
189 void SetServerlessV2FeaturesSupport(ServerlessV2FeaturesSupportT&& value) { m_serverlessV2FeaturesSupportHasBeenSet = true; m_serverlessV2FeaturesSupport = std::forward<ServerlessV2FeaturesSupportT>(value); }
190 template<typename ServerlessV2FeaturesSupportT = ServerlessV2FeaturesSupport>
191 DBEngineVersion& WithServerlessV2FeaturesSupport(ServerlessV2FeaturesSupportT&& value) { SetServerlessV2FeaturesSupport(std::forward<ServerlessV2FeaturesSupportT>(value)); return *this;}
193 private:
194
195 Aws::String m_engine;
196 bool m_engineHasBeenSet = false;
197
198 Aws::String m_engineVersion;
199 bool m_engineVersionHasBeenSet = false;
200
201 Aws::String m_dBParameterGroupFamily;
202 bool m_dBParameterGroupFamilyHasBeenSet = false;
203
204 Aws::String m_dBEngineDescription;
205 bool m_dBEngineDescriptionHasBeenSet = false;
206
207 Aws::String m_dBEngineVersionDescription;
208 bool m_dBEngineVersionDescriptionHasBeenSet = false;
209
210 Aws::Vector<UpgradeTarget> m_validUpgradeTarget;
211 bool m_validUpgradeTargetHasBeenSet = false;
212
213 Aws::Vector<Aws::String> m_exportableLogTypes;
214 bool m_exportableLogTypesHasBeenSet = false;
215
216 bool m_supportsLogExportsToCloudwatchLogs{false};
217 bool m_supportsLogExportsToCloudwatchLogsHasBeenSet = false;
218
219 Aws::Vector<Aws::String> m_supportedCACertificateIdentifiers;
220 bool m_supportedCACertificateIdentifiersHasBeenSet = false;
221
222 bool m_supportsCertificateRotationWithoutRestart{false};
223 bool m_supportsCertificateRotationWithoutRestartHasBeenSet = false;
224
225 ServerlessV2FeaturesSupport m_serverlessV2FeaturesSupport;
226 bool m_serverlessV2FeaturesSupportHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace DocDB
231} // namespace Aws
AWS_DOCDB_API DBEngineVersion()=default
DBEngineVersion & AddExportableLogTypes(ExportableLogTypesT &&value)
void SetExportableLogTypes(ExportableLogTypesT &&value)
DBEngineVersion & WithDBEngineDescription(DBEngineDescriptionT &&value)
const ServerlessV2FeaturesSupport & GetServerlessV2FeaturesSupport() const
DBEngineVersion & WithEngine(EngineT &&value)
const Aws::String & GetEngine() const
AWS_DOCDB_API DBEngineVersion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBEngineVersion & WithEngineVersion(EngineVersionT &&value)
bool SupportsCertificateRotationWithoutRestartHasBeenSet() const
DBEngineVersion & AddSupportedCACertificateIdentifiers(SupportedCACertificateIdentifiersT &&value)
void SetDBEngineDescription(DBEngineDescriptionT &&value)
void SetEngineVersion(EngineVersionT &&value)
DBEngineVersion & WithExportableLogTypes(ExportableLogTypesT &&value)
DBEngineVersion & WithSupportsLogExportsToCloudwatchLogs(bool value)
DBEngineVersion & WithSupportsCertificateRotationWithoutRestart(bool value)
DBEngineVersion & WithDBParameterGroupFamily(DBParameterGroupFamilyT &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetValidUpgradeTarget(ValidUpgradeTargetT &&value)
DBEngineVersion & WithValidUpgradeTarget(ValidUpgradeTargetT &&value)
const Aws::String & GetDBEngineVersionDescription() const
bool GetSupportsCertificateRotationWithoutRestart() const
const Aws::Vector< Aws::String > & GetExportableLogTypes() const
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)
void SetDBEngineVersionDescription(DBEngineVersionDescriptionT &&value)
bool SupportedCACertificateIdentifiersHasBeenSet() const
DBEngineVersion & AddValidUpgradeTarget(ValidUpgradeTargetT &&value)
const Aws::String & GetDBParameterGroupFamily() const
void SetDBParameterGroupFamily(DBParameterGroupFamilyT &&value)
DBEngineVersion & WithSupportedCACertificateIdentifiers(SupportedCACertificateIdentifiersT &&value)
void SetSupportedCACertificateIdentifiers(SupportedCACertificateIdentifiersT &&value)
void SetSupportsCertificateRotationWithoutRestart(bool value)
const Aws::String & GetDBEngineDescription() const
const Aws::Vector< UpgradeTarget > & GetValidUpgradeTarget() const
DBEngineVersion & WithDBEngineVersionDescription(DBEngineVersionDescriptionT &&value)
void SetSupportsLogExportsToCloudwatchLogs(bool value)
void SetServerlessV2FeaturesSupport(ServerlessV2FeaturesSupportT &&value)
const Aws::Vector< Aws::String > & GetSupportedCACertificateIdentifiers() const
bool SupportsLogExportsToCloudwatchLogsHasBeenSet() const
const Aws::String & GetEngineVersion() const
DBEngineVersion & WithServerlessV2FeaturesSupport(ServerlessV2FeaturesSupportT &&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