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/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/neptune/model/CharacterSet.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/neptune/model/UpgradeTarget.h>
13#include <aws/neptune/model/Timezone.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace Neptune
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_NEPTUNE_API DBEngineVersion() = default;
40 AWS_NEPTUNE_API DBEngineVersion(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_NEPTUNE_API DBEngineVersion& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
51 inline const Aws::String& GetEngine() const { return m_engine; }
52 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
53 template<typename EngineT = Aws::String>
54 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
55 template<typename EngineT = Aws::String>
56 DBEngineVersion& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
58
60
63 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
64 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
65 template<typename EngineVersionT = Aws::String>
66 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
67 template<typename EngineVersionT = Aws::String>
68 DBEngineVersion& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
70
72
75 inline const Aws::String& GetDBParameterGroupFamily() const { return m_dBParameterGroupFamily; }
76 inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
77 template<typename DBParameterGroupFamilyT = Aws::String>
78 void SetDBParameterGroupFamily(DBParameterGroupFamilyT&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::forward<DBParameterGroupFamilyT>(value); }
79 template<typename DBParameterGroupFamilyT = Aws::String>
80 DBEngineVersion& WithDBParameterGroupFamily(DBParameterGroupFamilyT&& value) { SetDBParameterGroupFamily(std::forward<DBParameterGroupFamilyT>(value)); return *this;}
82
84
87 inline const Aws::String& GetDBEngineDescription() const { return m_dBEngineDescription; }
88 inline bool DBEngineDescriptionHasBeenSet() const { return m_dBEngineDescriptionHasBeenSet; }
89 template<typename DBEngineDescriptionT = Aws::String>
90 void SetDBEngineDescription(DBEngineDescriptionT&& value) { m_dBEngineDescriptionHasBeenSet = true; m_dBEngineDescription = std::forward<DBEngineDescriptionT>(value); }
91 template<typename DBEngineDescriptionT = Aws::String>
92 DBEngineVersion& WithDBEngineDescription(DBEngineDescriptionT&& value) { SetDBEngineDescription(std::forward<DBEngineDescriptionT>(value)); return *this;}
94
96
99 inline const Aws::String& GetDBEngineVersionDescription() const { return m_dBEngineVersionDescription; }
100 inline bool DBEngineVersionDescriptionHasBeenSet() const { return m_dBEngineVersionDescriptionHasBeenSet; }
101 template<typename DBEngineVersionDescriptionT = Aws::String>
102 void SetDBEngineVersionDescription(DBEngineVersionDescriptionT&& value) { m_dBEngineVersionDescriptionHasBeenSet = true; m_dBEngineVersionDescription = std::forward<DBEngineVersionDescriptionT>(value); }
103 template<typename DBEngineVersionDescriptionT = Aws::String>
104 DBEngineVersion& WithDBEngineVersionDescription(DBEngineVersionDescriptionT&& value) { SetDBEngineVersionDescription(std::forward<DBEngineVersionDescriptionT>(value)); return *this;}
106
108
111 inline const CharacterSet& GetDefaultCharacterSet() const { return m_defaultCharacterSet; }
112 inline bool DefaultCharacterSetHasBeenSet() const { return m_defaultCharacterSetHasBeenSet; }
113 template<typename DefaultCharacterSetT = CharacterSet>
114 void SetDefaultCharacterSet(DefaultCharacterSetT&& value) { m_defaultCharacterSetHasBeenSet = true; m_defaultCharacterSet = std::forward<DefaultCharacterSetT>(value); }
115 template<typename DefaultCharacterSetT = CharacterSet>
116 DBEngineVersion& WithDefaultCharacterSet(DefaultCharacterSetT&& value) { SetDefaultCharacterSet(std::forward<DefaultCharacterSetT>(value)); return *this;}
118
120
123 inline const Aws::Vector<CharacterSet>& GetSupportedCharacterSets() const { return m_supportedCharacterSets; }
124 inline bool SupportedCharacterSetsHasBeenSet() const { return m_supportedCharacterSetsHasBeenSet; }
125 template<typename SupportedCharacterSetsT = Aws::Vector<CharacterSet>>
126 void SetSupportedCharacterSets(SupportedCharacterSetsT&& value) { m_supportedCharacterSetsHasBeenSet = true; m_supportedCharacterSets = std::forward<SupportedCharacterSetsT>(value); }
127 template<typename SupportedCharacterSetsT = Aws::Vector<CharacterSet>>
128 DBEngineVersion& WithSupportedCharacterSets(SupportedCharacterSetsT&& value) { SetSupportedCharacterSets(std::forward<SupportedCharacterSetsT>(value)); return *this;}
129 template<typename SupportedCharacterSetsT = CharacterSet>
130 DBEngineVersion& AddSupportedCharacterSets(SupportedCharacterSetsT&& value) { m_supportedCharacterSetsHasBeenSet = true; m_supportedCharacterSets.emplace_back(std::forward<SupportedCharacterSetsT>(value)); return *this; }
132
134
138 inline const Aws::Vector<UpgradeTarget>& GetValidUpgradeTarget() const { return m_validUpgradeTarget; }
139 inline bool ValidUpgradeTargetHasBeenSet() const { return m_validUpgradeTargetHasBeenSet; }
140 template<typename ValidUpgradeTargetT = Aws::Vector<UpgradeTarget>>
141 void SetValidUpgradeTarget(ValidUpgradeTargetT&& value) { m_validUpgradeTargetHasBeenSet = true; m_validUpgradeTarget = std::forward<ValidUpgradeTargetT>(value); }
142 template<typename ValidUpgradeTargetT = Aws::Vector<UpgradeTarget>>
143 DBEngineVersion& WithValidUpgradeTarget(ValidUpgradeTargetT&& value) { SetValidUpgradeTarget(std::forward<ValidUpgradeTargetT>(value)); return *this;}
144 template<typename ValidUpgradeTargetT = UpgradeTarget>
145 DBEngineVersion& AddValidUpgradeTarget(ValidUpgradeTargetT&& value) { m_validUpgradeTargetHasBeenSet = true; m_validUpgradeTarget.emplace_back(std::forward<ValidUpgradeTargetT>(value)); return *this; }
147
149
153 inline const Aws::Vector<Timezone>& GetSupportedTimezones() const { return m_supportedTimezones; }
154 inline bool SupportedTimezonesHasBeenSet() const { return m_supportedTimezonesHasBeenSet; }
155 template<typename SupportedTimezonesT = Aws::Vector<Timezone>>
156 void SetSupportedTimezones(SupportedTimezonesT&& value) { m_supportedTimezonesHasBeenSet = true; m_supportedTimezones = std::forward<SupportedTimezonesT>(value); }
157 template<typename SupportedTimezonesT = Aws::Vector<Timezone>>
158 DBEngineVersion& WithSupportedTimezones(SupportedTimezonesT&& value) { SetSupportedTimezones(std::forward<SupportedTimezonesT>(value)); return *this;}
159 template<typename SupportedTimezonesT = Timezone>
160 DBEngineVersion& AddSupportedTimezones(SupportedTimezonesT&& value) { m_supportedTimezonesHasBeenSet = true; m_supportedTimezones.emplace_back(std::forward<SupportedTimezonesT>(value)); return *this; }
162
164
168 inline const Aws::Vector<Aws::String>& GetExportableLogTypes() const { return m_exportableLogTypes; }
169 inline bool ExportableLogTypesHasBeenSet() const { return m_exportableLogTypesHasBeenSet; }
170 template<typename ExportableLogTypesT = Aws::Vector<Aws::String>>
171 void SetExportableLogTypes(ExportableLogTypesT&& value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes = std::forward<ExportableLogTypesT>(value); }
172 template<typename ExportableLogTypesT = Aws::Vector<Aws::String>>
173 DBEngineVersion& WithExportableLogTypes(ExportableLogTypesT&& value) { SetExportableLogTypes(std::forward<ExportableLogTypesT>(value)); return *this;}
174 template<typename ExportableLogTypesT = Aws::String>
175 DBEngineVersion& AddExportableLogTypes(ExportableLogTypesT&& value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes.emplace_back(std::forward<ExportableLogTypesT>(value)); return *this; }
177
179
183 inline bool GetSupportsLogExportsToCloudwatchLogs() const { return m_supportsLogExportsToCloudwatchLogs; }
184 inline bool SupportsLogExportsToCloudwatchLogsHasBeenSet() const { return m_supportsLogExportsToCloudwatchLogsHasBeenSet; }
185 inline void SetSupportsLogExportsToCloudwatchLogs(bool value) { m_supportsLogExportsToCloudwatchLogsHasBeenSet = true; m_supportsLogExportsToCloudwatchLogs = value; }
188
190
193 inline bool GetSupportsReadReplica() const { return m_supportsReadReplica; }
194 inline bool SupportsReadReplicaHasBeenSet() const { return m_supportsReadReplicaHasBeenSet; }
195 inline void SetSupportsReadReplica(bool value) { m_supportsReadReplicaHasBeenSet = true; m_supportsReadReplica = value; }
196 inline DBEngineVersion& WithSupportsReadReplica(bool value) { SetSupportsReadReplica(value); return *this;}
198
200
204 inline bool GetSupportsGlobalDatabases() const { return m_supportsGlobalDatabases; }
205 inline bool SupportsGlobalDatabasesHasBeenSet() const { return m_supportsGlobalDatabasesHasBeenSet; }
206 inline void SetSupportsGlobalDatabases(bool value) { m_supportsGlobalDatabasesHasBeenSet = true; m_supportsGlobalDatabases = value; }
207 inline DBEngineVersion& WithSupportsGlobalDatabases(bool value) { SetSupportsGlobalDatabases(value); return *this;}
209 private:
210
211 Aws::String m_engine;
212 bool m_engineHasBeenSet = false;
213
214 Aws::String m_engineVersion;
215 bool m_engineVersionHasBeenSet = false;
216
217 Aws::String m_dBParameterGroupFamily;
218 bool m_dBParameterGroupFamilyHasBeenSet = false;
219
220 Aws::String m_dBEngineDescription;
221 bool m_dBEngineDescriptionHasBeenSet = false;
222
223 Aws::String m_dBEngineVersionDescription;
224 bool m_dBEngineVersionDescriptionHasBeenSet = false;
225
226 CharacterSet m_defaultCharacterSet;
227 bool m_defaultCharacterSetHasBeenSet = false;
228
229 Aws::Vector<CharacterSet> m_supportedCharacterSets;
230 bool m_supportedCharacterSetsHasBeenSet = false;
231
232 Aws::Vector<UpgradeTarget> m_validUpgradeTarget;
233 bool m_validUpgradeTargetHasBeenSet = false;
234
235 Aws::Vector<Timezone> m_supportedTimezones;
236 bool m_supportedTimezonesHasBeenSet = false;
237
238 Aws::Vector<Aws::String> m_exportableLogTypes;
239 bool m_exportableLogTypesHasBeenSet = false;
240
241 bool m_supportsLogExportsToCloudwatchLogs{false};
242 bool m_supportsLogExportsToCloudwatchLogsHasBeenSet = false;
243
244 bool m_supportsReadReplica{false};
245 bool m_supportsReadReplicaHasBeenSet = false;
246
247 bool m_supportsGlobalDatabases{false};
248 bool m_supportsGlobalDatabasesHasBeenSet = false;
249 };
250
251} // namespace Model
252} // namespace Neptune
253} // namespace Aws
DBEngineVersion & WithSupportsGlobalDatabases(bool value)
void SetDBEngineDescription(DBEngineDescriptionT &&value)
void SetExportableLogTypes(ExportableLogTypesT &&value)
void SetSupportedTimezones(SupportedTimezonesT &&value)
DBEngineVersion & WithValidUpgradeTarget(ValidUpgradeTargetT &&value)
DBEngineVersion & WithDBEngineDescription(DBEngineDescriptionT &&value)
DBEngineVersion & AddValidUpgradeTarget(ValidUpgradeTargetT &&value)
DBEngineVersion & AddSupportedCharacterSets(SupportedCharacterSetsT &&value)
void SetValidUpgradeTarget(ValidUpgradeTargetT &&value)
DBEngineVersion & AddExportableLogTypes(ExportableLogTypesT &&value)
const CharacterSet & GetDefaultCharacterSet() const
void SetSupportedCharacterSets(SupportedCharacterSetsT &&value)
void SetDBEngineVersionDescription(DBEngineVersionDescriptionT &&value)
const Aws::String & GetDBEngineVersionDescription() const
const Aws::String & GetDBParameterGroupFamily() const
DBEngineVersion & WithSupportsLogExportsToCloudwatchLogs(bool value)
const Aws::String & GetDBEngineDescription() const
void SetEngineVersion(EngineVersionT &&value)
void SetSupportsLogExportsToCloudwatchLogs(bool value)
DBEngineVersion & WithSupportedCharacterSets(SupportedCharacterSetsT &&value)
DBEngineVersion & WithDBParameterGroupFamily(DBParameterGroupFamilyT &&value)
const Aws::String & GetEngine() const
DBEngineVersion & WithEngineVersion(EngineVersionT &&value)
AWS_NEPTUNE_API DBEngineVersion(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API DBEngineVersion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBEngineVersion & WithExportableLogTypes(ExportableLogTypesT &&value)
DBEngineVersion & WithSupportedTimezones(SupportedTimezonesT &&value)
const Aws::String & GetEngineVersion() const
DBEngineVersion & WithDefaultCharacterSet(DefaultCharacterSetT &&value)
DBEngineVersion & WithDBEngineVersionDescription(DBEngineVersionDescriptionT &&value)
const Aws::Vector< Timezone > & GetSupportedTimezones() const
AWS_NEPTUNE_API DBEngineVersion()=default
DBEngineVersion & AddSupportedTimezones(SupportedTimezonesT &&value)
void SetDBParameterGroupFamily(DBParameterGroupFamilyT &&value)
const Aws::Vector< CharacterSet > & GetSupportedCharacterSets() const
const Aws::Vector< Aws::String > & GetExportableLogTypes() const
void SetDefaultCharacterSet(DefaultCharacterSetT &&value)
const Aws::Vector< UpgradeTarget > & GetValidUpgradeTarget() const
DBEngineVersion & WithEngine(EngineT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBEngineVersion & WithSupportsReadReplica(bool 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