AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename EngineT = Aws::String>
51 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
52 template<typename EngineT = Aws::String>
53 DBEngineVersion& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
55
57
60 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
61 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
62 template<typename EngineVersionT = Aws::String>
63 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
64 template<typename EngineVersionT = Aws::String>
65 DBEngineVersion& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDBParameterGroupFamily() const { return m_dBParameterGroupFamily; }
73 inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
74 template<typename DBParameterGroupFamilyT = Aws::String>
75 void SetDBParameterGroupFamily(DBParameterGroupFamilyT&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::forward<DBParameterGroupFamilyT>(value); }
76 template<typename DBParameterGroupFamilyT = Aws::String>
77 DBEngineVersion& WithDBParameterGroupFamily(DBParameterGroupFamilyT&& value) { SetDBParameterGroupFamily(std::forward<DBParameterGroupFamilyT>(value)); return *this;}
79
81
84 inline const Aws::String& GetDBEngineDescription() const { return m_dBEngineDescription; }
85 inline bool DBEngineDescriptionHasBeenSet() const { return m_dBEngineDescriptionHasBeenSet; }
86 template<typename DBEngineDescriptionT = Aws::String>
87 void SetDBEngineDescription(DBEngineDescriptionT&& value) { m_dBEngineDescriptionHasBeenSet = true; m_dBEngineDescription = std::forward<DBEngineDescriptionT>(value); }
88 template<typename DBEngineDescriptionT = Aws::String>
89 DBEngineVersion& WithDBEngineDescription(DBEngineDescriptionT&& value) { SetDBEngineDescription(std::forward<DBEngineDescriptionT>(value)); return *this;}
91
93
96 inline const Aws::String& GetDBEngineVersionDescription() const { return m_dBEngineVersionDescription; }
97 inline bool DBEngineVersionDescriptionHasBeenSet() const { return m_dBEngineVersionDescriptionHasBeenSet; }
98 template<typename DBEngineVersionDescriptionT = Aws::String>
99 void SetDBEngineVersionDescription(DBEngineVersionDescriptionT&& value) { m_dBEngineVersionDescriptionHasBeenSet = true; m_dBEngineVersionDescription = std::forward<DBEngineVersionDescriptionT>(value); }
100 template<typename DBEngineVersionDescriptionT = Aws::String>
101 DBEngineVersion& WithDBEngineVersionDescription(DBEngineVersionDescriptionT&& value) { SetDBEngineVersionDescription(std::forward<DBEngineVersionDescriptionT>(value)); return *this;}
103
105
109 inline const Aws::Vector<UpgradeTarget>& GetValidUpgradeTarget() const { return m_validUpgradeTarget; }
110 inline bool ValidUpgradeTargetHasBeenSet() const { return m_validUpgradeTargetHasBeenSet; }
111 template<typename ValidUpgradeTargetT = Aws::Vector<UpgradeTarget>>
112 void SetValidUpgradeTarget(ValidUpgradeTargetT&& value) { m_validUpgradeTargetHasBeenSet = true; m_validUpgradeTarget = std::forward<ValidUpgradeTargetT>(value); }
113 template<typename ValidUpgradeTargetT = Aws::Vector<UpgradeTarget>>
114 DBEngineVersion& WithValidUpgradeTarget(ValidUpgradeTargetT&& value) { SetValidUpgradeTarget(std::forward<ValidUpgradeTargetT>(value)); return *this;}
115 template<typename ValidUpgradeTargetT = UpgradeTarget>
116 DBEngineVersion& AddValidUpgradeTarget(ValidUpgradeTargetT&& value) { m_validUpgradeTargetHasBeenSet = true; m_validUpgradeTarget.emplace_back(std::forward<ValidUpgradeTargetT>(value)); return *this; }
118
120
124 inline const Aws::Vector<Aws::String>& GetExportableLogTypes() const { return m_exportableLogTypes; }
125 inline bool ExportableLogTypesHasBeenSet() const { return m_exportableLogTypesHasBeenSet; }
126 template<typename ExportableLogTypesT = Aws::Vector<Aws::String>>
127 void SetExportableLogTypes(ExportableLogTypesT&& value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes = std::forward<ExportableLogTypesT>(value); }
128 template<typename ExportableLogTypesT = Aws::Vector<Aws::String>>
129 DBEngineVersion& WithExportableLogTypes(ExportableLogTypesT&& value) { SetExportableLogTypes(std::forward<ExportableLogTypesT>(value)); return *this;}
130 template<typename ExportableLogTypesT = Aws::String>
131 DBEngineVersion& AddExportableLogTypes(ExportableLogTypesT&& value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes.emplace_back(std::forward<ExportableLogTypesT>(value)); return *this; }
133
135
139 inline bool GetSupportsLogExportsToCloudwatchLogs() const { return m_supportsLogExportsToCloudwatchLogs; }
140 inline bool SupportsLogExportsToCloudwatchLogsHasBeenSet() const { return m_supportsLogExportsToCloudwatchLogsHasBeenSet; }
141 inline void SetSupportsLogExportsToCloudwatchLogs(bool value) { m_supportsLogExportsToCloudwatchLogsHasBeenSet = true; m_supportsLogExportsToCloudwatchLogs = value; }
144
146
155 inline const Aws::Vector<Aws::String>& GetSupportedCACertificateIdentifiers() const { return m_supportedCACertificateIdentifiers; }
156 inline bool SupportedCACertificateIdentifiersHasBeenSet() const { return m_supportedCACertificateIdentifiersHasBeenSet; }
157 template<typename SupportedCACertificateIdentifiersT = Aws::Vector<Aws::String>>
158 void SetSupportedCACertificateIdentifiers(SupportedCACertificateIdentifiersT&& value) { m_supportedCACertificateIdentifiersHasBeenSet = true; m_supportedCACertificateIdentifiers = std::forward<SupportedCACertificateIdentifiersT>(value); }
159 template<typename SupportedCACertificateIdentifiersT = Aws::Vector<Aws::String>>
160 DBEngineVersion& WithSupportedCACertificateIdentifiers(SupportedCACertificateIdentifiersT&& value) { SetSupportedCACertificateIdentifiers(std::forward<SupportedCACertificateIdentifiersT>(value)); return *this;}
161 template<typename SupportedCACertificateIdentifiersT = Aws::String>
162 DBEngineVersion& AddSupportedCACertificateIdentifiers(SupportedCACertificateIdentifiersT&& value) { m_supportedCACertificateIdentifiersHasBeenSet = true; m_supportedCACertificateIdentifiers.emplace_back(std::forward<SupportedCACertificateIdentifiersT>(value)); return *this; }
164
166
170 inline bool GetSupportsCertificateRotationWithoutRestart() const { return m_supportsCertificateRotationWithoutRestart; }
171 inline bool SupportsCertificateRotationWithoutRestartHasBeenSet() const { return m_supportsCertificateRotationWithoutRestartHasBeenSet; }
172 inline void SetSupportsCertificateRotationWithoutRestart(bool value) { m_supportsCertificateRotationWithoutRestartHasBeenSet = true; m_supportsCertificateRotationWithoutRestart = value; }
175 private:
176
177 Aws::String m_engine;
178 bool m_engineHasBeenSet = false;
179
180 Aws::String m_engineVersion;
181 bool m_engineVersionHasBeenSet = false;
182
183 Aws::String m_dBParameterGroupFamily;
184 bool m_dBParameterGroupFamilyHasBeenSet = false;
185
186 Aws::String m_dBEngineDescription;
187 bool m_dBEngineDescriptionHasBeenSet = false;
188
189 Aws::String m_dBEngineVersionDescription;
190 bool m_dBEngineVersionDescriptionHasBeenSet = false;
191
192 Aws::Vector<UpgradeTarget> m_validUpgradeTarget;
193 bool m_validUpgradeTargetHasBeenSet = false;
194
195 Aws::Vector<Aws::String> m_exportableLogTypes;
196 bool m_exportableLogTypesHasBeenSet = false;
197
198 bool m_supportsLogExportsToCloudwatchLogs{false};
199 bool m_supportsLogExportsToCloudwatchLogsHasBeenSet = false;
200
201 Aws::Vector<Aws::String> m_supportedCACertificateIdentifiers;
202 bool m_supportedCACertificateIdentifiersHasBeenSet = false;
203
204 bool m_supportsCertificateRotationWithoutRestart{false};
205 bool m_supportsCertificateRotationWithoutRestartHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace DocDB
210} // namespace Aws
AWS_DOCDB_API DBEngineVersion()=default
DBEngineVersion & AddExportableLogTypes(ExportableLogTypesT &&value)
void SetExportableLogTypes(ExportableLogTypesT &&value)
DBEngineVersion & WithDBEngineDescription(DBEngineDescriptionT &&value)
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)
const Aws::Vector< Aws::String > & GetSupportedCACertificateIdentifiers() const
bool SupportsLogExportsToCloudwatchLogsHasBeenSet() const
const Aws::String & GetEngineVersion() const
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