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/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();
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 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
54 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
55 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
56 inline DBEngineVersion& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
57 inline DBEngineVersion& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
58 inline DBEngineVersion& WithEngine(const char* value) { SetEngine(value); return *this;}
60
62
65 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
66 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
67 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
68 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
69 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
70 inline DBEngineVersion& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
71 inline DBEngineVersion& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
72 inline DBEngineVersion& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
74
76
79 inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
80 inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
81 inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
82 inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); }
83 inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
85 inline DBEngineVersion& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(std::move(value)); return *this;}
86 inline DBEngineVersion& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;}
88
90
93 inline const Aws::String& GetDBEngineDescription() const{ return m_dBEngineDescription; }
94 inline bool DBEngineDescriptionHasBeenSet() const { return m_dBEngineDescriptionHasBeenSet; }
95 inline void SetDBEngineDescription(const Aws::String& value) { m_dBEngineDescriptionHasBeenSet = true; m_dBEngineDescription = value; }
96 inline void SetDBEngineDescription(Aws::String&& value) { m_dBEngineDescriptionHasBeenSet = true; m_dBEngineDescription = std::move(value); }
97 inline void SetDBEngineDescription(const char* value) { m_dBEngineDescriptionHasBeenSet = true; m_dBEngineDescription.assign(value); }
98 inline DBEngineVersion& WithDBEngineDescription(const Aws::String& value) { SetDBEngineDescription(value); return *this;}
99 inline DBEngineVersion& WithDBEngineDescription(Aws::String&& value) { SetDBEngineDescription(std::move(value)); return *this;}
100 inline DBEngineVersion& WithDBEngineDescription(const char* value) { SetDBEngineDescription(value); return *this;}
102
104
107 inline const Aws::String& GetDBEngineVersionDescription() const{ return m_dBEngineVersionDescription; }
108 inline bool DBEngineVersionDescriptionHasBeenSet() const { return m_dBEngineVersionDescriptionHasBeenSet; }
109 inline void SetDBEngineVersionDescription(const Aws::String& value) { m_dBEngineVersionDescriptionHasBeenSet = true; m_dBEngineVersionDescription = value; }
110 inline void SetDBEngineVersionDescription(Aws::String&& value) { m_dBEngineVersionDescriptionHasBeenSet = true; m_dBEngineVersionDescription = std::move(value); }
111 inline void SetDBEngineVersionDescription(const char* value) { m_dBEngineVersionDescriptionHasBeenSet = true; m_dBEngineVersionDescription.assign(value); }
114 inline DBEngineVersion& WithDBEngineVersionDescription(const char* value) { SetDBEngineVersionDescription(value); return *this;}
116
118
121 inline const CharacterSet& GetDefaultCharacterSet() const{ return m_defaultCharacterSet; }
122 inline bool DefaultCharacterSetHasBeenSet() const { return m_defaultCharacterSetHasBeenSet; }
123 inline void SetDefaultCharacterSet(const CharacterSet& value) { m_defaultCharacterSetHasBeenSet = true; m_defaultCharacterSet = value; }
124 inline void SetDefaultCharacterSet(CharacterSet&& value) { m_defaultCharacterSetHasBeenSet = true; m_defaultCharacterSet = std::move(value); }
125 inline DBEngineVersion& WithDefaultCharacterSet(const CharacterSet& value) { SetDefaultCharacterSet(value); return *this;}
126 inline DBEngineVersion& WithDefaultCharacterSet(CharacterSet&& value) { SetDefaultCharacterSet(std::move(value)); return *this;}
128
130
133 inline const Aws::Vector<CharacterSet>& GetSupportedCharacterSets() const{ return m_supportedCharacterSets; }
134 inline bool SupportedCharacterSetsHasBeenSet() const { return m_supportedCharacterSetsHasBeenSet; }
135 inline void SetSupportedCharacterSets(const Aws::Vector<CharacterSet>& value) { m_supportedCharacterSetsHasBeenSet = true; m_supportedCharacterSets = value; }
136 inline void SetSupportedCharacterSets(Aws::Vector<CharacterSet>&& value) { m_supportedCharacterSetsHasBeenSet = true; m_supportedCharacterSets = std::move(value); }
139 inline DBEngineVersion& AddSupportedCharacterSets(const CharacterSet& value) { m_supportedCharacterSetsHasBeenSet = true; m_supportedCharacterSets.push_back(value); return *this; }
140 inline DBEngineVersion& AddSupportedCharacterSets(CharacterSet&& value) { m_supportedCharacterSetsHasBeenSet = true; m_supportedCharacterSets.push_back(std::move(value)); return *this; }
142
144
148 inline const Aws::Vector<UpgradeTarget>& GetValidUpgradeTarget() const{ return m_validUpgradeTarget; }
149 inline bool ValidUpgradeTargetHasBeenSet() const { return m_validUpgradeTargetHasBeenSet; }
150 inline void SetValidUpgradeTarget(const Aws::Vector<UpgradeTarget>& value) { m_validUpgradeTargetHasBeenSet = true; m_validUpgradeTarget = value; }
151 inline void SetValidUpgradeTarget(Aws::Vector<UpgradeTarget>&& value) { m_validUpgradeTargetHasBeenSet = true; m_validUpgradeTarget = std::move(value); }
154 inline DBEngineVersion& AddValidUpgradeTarget(const UpgradeTarget& value) { m_validUpgradeTargetHasBeenSet = true; m_validUpgradeTarget.push_back(value); return *this; }
155 inline DBEngineVersion& AddValidUpgradeTarget(UpgradeTarget&& value) { m_validUpgradeTargetHasBeenSet = true; m_validUpgradeTarget.push_back(std::move(value)); return *this; }
157
159
163 inline const Aws::Vector<Timezone>& GetSupportedTimezones() const{ return m_supportedTimezones; }
164 inline bool SupportedTimezonesHasBeenSet() const { return m_supportedTimezonesHasBeenSet; }
165 inline void SetSupportedTimezones(const Aws::Vector<Timezone>& value) { m_supportedTimezonesHasBeenSet = true; m_supportedTimezones = value; }
166 inline void SetSupportedTimezones(Aws::Vector<Timezone>&& value) { m_supportedTimezonesHasBeenSet = true; m_supportedTimezones = std::move(value); }
168 inline DBEngineVersion& WithSupportedTimezones(Aws::Vector<Timezone>&& value) { SetSupportedTimezones(std::move(value)); return *this;}
169 inline DBEngineVersion& AddSupportedTimezones(const Timezone& value) { m_supportedTimezonesHasBeenSet = true; m_supportedTimezones.push_back(value); return *this; }
170 inline DBEngineVersion& AddSupportedTimezones(Timezone&& value) { m_supportedTimezonesHasBeenSet = true; m_supportedTimezones.push_back(std::move(value)); return *this; }
172
174
178 inline const Aws::Vector<Aws::String>& GetExportableLogTypes() const{ return m_exportableLogTypes; }
179 inline bool ExportableLogTypesHasBeenSet() const { return m_exportableLogTypesHasBeenSet; }
180 inline void SetExportableLogTypes(const Aws::Vector<Aws::String>& value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes = value; }
181 inline void SetExportableLogTypes(Aws::Vector<Aws::String>&& value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes = std::move(value); }
184 inline DBEngineVersion& AddExportableLogTypes(const Aws::String& value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes.push_back(value); return *this; }
185 inline DBEngineVersion& AddExportableLogTypes(Aws::String&& value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes.push_back(std::move(value)); return *this; }
186 inline DBEngineVersion& AddExportableLogTypes(const char* value) { m_exportableLogTypesHasBeenSet = true; m_exportableLogTypes.push_back(value); return *this; }
188
190
194 inline bool GetSupportsLogExportsToCloudwatchLogs() const{ return m_supportsLogExportsToCloudwatchLogs; }
195 inline bool SupportsLogExportsToCloudwatchLogsHasBeenSet() const { return m_supportsLogExportsToCloudwatchLogsHasBeenSet; }
196 inline void SetSupportsLogExportsToCloudwatchLogs(bool value) { m_supportsLogExportsToCloudwatchLogsHasBeenSet = true; m_supportsLogExportsToCloudwatchLogs = value; }
199
201
204 inline bool GetSupportsReadReplica() const{ return m_supportsReadReplica; }
205 inline bool SupportsReadReplicaHasBeenSet() const { return m_supportsReadReplicaHasBeenSet; }
206 inline void SetSupportsReadReplica(bool value) { m_supportsReadReplicaHasBeenSet = true; m_supportsReadReplica = value; }
207 inline DBEngineVersion& WithSupportsReadReplica(bool value) { SetSupportsReadReplica(value); return *this;}
209
211
215 inline bool GetSupportsGlobalDatabases() const{ return m_supportsGlobalDatabases; }
216 inline bool SupportsGlobalDatabasesHasBeenSet() const { return m_supportsGlobalDatabasesHasBeenSet; }
217 inline void SetSupportsGlobalDatabases(bool value) { m_supportsGlobalDatabasesHasBeenSet = true; m_supportsGlobalDatabases = value; }
218 inline DBEngineVersion& WithSupportsGlobalDatabases(bool value) { SetSupportsGlobalDatabases(value); return *this;}
220 private:
221
222 Aws::String m_engine;
223 bool m_engineHasBeenSet = false;
224
225 Aws::String m_engineVersion;
226 bool m_engineVersionHasBeenSet = false;
227
228 Aws::String m_dBParameterGroupFamily;
229 bool m_dBParameterGroupFamilyHasBeenSet = false;
230
231 Aws::String m_dBEngineDescription;
232 bool m_dBEngineDescriptionHasBeenSet = false;
233
234 Aws::String m_dBEngineVersionDescription;
235 bool m_dBEngineVersionDescriptionHasBeenSet = false;
236
237 CharacterSet m_defaultCharacterSet;
238 bool m_defaultCharacterSetHasBeenSet = false;
239
240 Aws::Vector<CharacterSet> m_supportedCharacterSets;
241 bool m_supportedCharacterSetsHasBeenSet = false;
242
243 Aws::Vector<UpgradeTarget> m_validUpgradeTarget;
244 bool m_validUpgradeTargetHasBeenSet = false;
245
246 Aws::Vector<Timezone> m_supportedTimezones;
247 bool m_supportedTimezonesHasBeenSet = false;
248
249 Aws::Vector<Aws::String> m_exportableLogTypes;
250 bool m_exportableLogTypesHasBeenSet = false;
251
252 bool m_supportsLogExportsToCloudwatchLogs;
253 bool m_supportsLogExportsToCloudwatchLogsHasBeenSet = false;
254
255 bool m_supportsReadReplica;
256 bool m_supportsReadReplicaHasBeenSet = false;
257
258 bool m_supportsGlobalDatabases;
259 bool m_supportsGlobalDatabasesHasBeenSet = false;
260 };
261
262} // namespace Model
263} // namespace Neptune
264} // namespace Aws
DBEngineVersion & WithSupportsGlobalDatabases(bool value)
DBEngineVersion & WithDBEngineVersionDescription(const Aws::String &value)
DBEngineVersion & WithEngine(const char *value)
DBEngineVersion & WithSupportedTimezones(Aws::Vector< Timezone > &&value)
DBEngineVersion & WithEngineVersion(const Aws::String &value)
DBEngineVersion & WithDBParameterGroupFamily(const char *value)
void SetDBEngineVersionDescription(const char *value)
DBEngineVersion & WithDBEngineDescription(Aws::String &&value)
void SetDefaultCharacterSet(CharacterSet &&value)
void SetExportableLogTypes(Aws::Vector< Aws::String > &&value)
DBEngineVersion & WithEngineVersion(Aws::String &&value)
void SetDBEngineVersionDescription(Aws::String &&value)
DBEngineVersion & WithSupportedCharacterSets(Aws::Vector< CharacterSet > &&value)
DBEngineVersion & AddExportableLogTypes(Aws::String &&value)
DBEngineVersion & WithEngine(const Aws::String &value)
DBEngineVersion & WithDBParameterGroupFamily(const Aws::String &value)
void SetSupportedTimezones(const Aws::Vector< Timezone > &value)
void SetValidUpgradeTarget(Aws::Vector< UpgradeTarget > &&value)
const CharacterSet & GetDefaultCharacterSet() const
DBEngineVersion & WithExportableLogTypes(Aws::Vector< Aws::String > &&value)
void SetExportableLogTypes(const Aws::Vector< Aws::String > &value)
void SetSupportedCharacterSets(Aws::Vector< CharacterSet > &&value)
DBEngineVersion & WithDBEngineDescription(const Aws::String &value)
void SetDBParameterGroupFamily(const char *value)
void SetDBEngineVersionDescription(const Aws::String &value)
DBEngineVersion & WithDBEngineVersionDescription(const char *value)
DBEngineVersion & WithExportableLogTypes(const Aws::Vector< Aws::String > &value)
const Aws::String & GetDBEngineVersionDescription() const
void SetDBEngineDescription(const char *value)
DBEngineVersion & WithDBParameterGroupFamily(Aws::String &&value)
const Aws::String & GetDBParameterGroupFamily() const
DBEngineVersion & WithValidUpgradeTarget(const Aws::Vector< UpgradeTarget > &value)
DBEngineVersion & WithSupportsLogExportsToCloudwatchLogs(bool value)
void SetDBParameterGroupFamily(const Aws::String &value)
const Aws::String & GetDBEngineDescription() const
void SetEngine(const Aws::String &value)
DBEngineVersion & AddValidUpgradeTarget(UpgradeTarget &&value)
void SetSupportsLogExportsToCloudwatchLogs(bool value)
DBEngineVersion & AddExportableLogTypes(const Aws::String &value)
DBEngineVersion & WithSupportedCharacterSets(const Aws::Vector< CharacterSet > &value)
DBEngineVersion & AddValidUpgradeTarget(const UpgradeTarget &value)
const Aws::String & GetEngine() const
DBEngineVersion & WithValidUpgradeTarget(Aws::Vector< UpgradeTarget > &&value)
void SetEngine(Aws::String &&value)
void SetDBParameterGroupFamily(Aws::String &&value)
void SetValidUpgradeTarget(const Aws::Vector< UpgradeTarget > &value)
DBEngineVersion & AddSupportedCharacterSets(CharacterSet &&value)
AWS_NEPTUNE_API DBEngineVersion(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API DBEngineVersion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBEngineVersion & WithDefaultCharacterSet(CharacterSet &&value)
DBEngineVersion & WithDBEngineVersionDescription(Aws::String &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetSupportedCharacterSets(const Aws::Vector< CharacterSet > &value)
const Aws::String & GetEngineVersion() const
DBEngineVersion & AddSupportedTimezones(Timezone &&value)
DBEngineVersion & WithEngineVersion(const char *value)
void SetDBEngineDescription(Aws::String &&value)
const Aws::Vector< Timezone > & GetSupportedTimezones() const
void SetSupportedTimezones(Aws::Vector< Timezone > &&value)
void SetDBEngineDescription(const Aws::String &value)
void SetDefaultCharacterSet(const CharacterSet &value)
DBEngineVersion & WithEngine(Aws::String &&value)
DBEngineVersion & AddSupportedCharacterSets(const CharacterSet &value)
const Aws::Vector< CharacterSet > & GetSupportedCharacterSets() const
const Aws::Vector< Aws::String > & GetExportableLogTypes() const
DBEngineVersion & WithSupportedTimezones(const Aws::Vector< Timezone > &value)
void SetEngineVersion(const Aws::String &value)
DBEngineVersion & WithDBEngineDescription(const char *value)
DBEngineVersion & AddSupportedTimezones(const Timezone &value)
void SetEngineVersion(Aws::String &&value)
void SetEngineVersion(const char *value)
const Aws::Vector< UpgradeTarget > & GetValidUpgradeTarget() const
DBEngineVersion & WithDefaultCharacterSet(const CharacterSet &value)
DBEngineVersion & AddExportableLogTypes(const char *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