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>
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>
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>
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>
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>
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>
113 template<
typename DefaultCharacterSetT = CharacterSet>
114 void SetDefaultCharacterSet(DefaultCharacterSetT&& value) { m_defaultCharacterSetHasBeenSet =
true; m_defaultCharacterSet = std::forward<DefaultCharacterSetT>(value); }
115 template<
typename DefaultCharacterSetT = CharacterSet>
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>>
129 template<
typename SupportedCharacterSetsT = CharacterSet>
130 DBEngineVersion&
AddSupportedCharacterSets(SupportedCharacterSetsT&& value) { m_supportedCharacterSetsHasBeenSet =
true; m_supportedCharacterSets.emplace_back(std::forward<SupportedCharacterSetsT>(value));
return *
this; }
140 template<
typename Val
idUpgradeTargetT = Aws::Vector<UpgradeTarget>>
141 void SetValidUpgradeTarget(ValidUpgradeTargetT&& value) { m_validUpgradeTargetHasBeenSet =
true; m_validUpgradeTarget = std::forward<ValidUpgradeTargetT>(value); }
142 template<
typename Val
idUpgradeTargetT = Aws::Vector<UpgradeTarget>>
144 template<
typename Val
idUpgradeTargetT = UpgradeTarget>
145 DBEngineVersion&
AddValidUpgradeTarget(ValidUpgradeTargetT&& value) { m_validUpgradeTargetHasBeenSet =
true; m_validUpgradeTarget.emplace_back(std::forward<ValidUpgradeTargetT>(value));
return *
this; }
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>>
159 template<
typename SupportedTimezonesT = Timezone>
160 DBEngineVersion&
AddSupportedTimezones(SupportedTimezonesT&& value) { m_supportedTimezonesHasBeenSet =
true; m_supportedTimezones.emplace_back(std::forward<SupportedTimezonesT>(value));
return *
this; }
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>>
174 template<
typename ExportableLogTypesT = Aws::String>
175 DBEngineVersion&
AddExportableLogTypes(ExportableLogTypesT&& value) { m_exportableLogTypesHasBeenSet =
true; m_exportableLogTypes.emplace_back(std::forward<ExportableLogTypesT>(value));
return *
this; }
195 inline void SetSupportsReadReplica(
bool value) { m_supportsReadReplicaHasBeenSet =
true; m_supportsReadReplica = value; }
212 bool m_engineHasBeenSet =
false;
215 bool m_engineVersionHasBeenSet =
false;
218 bool m_dBParameterGroupFamilyHasBeenSet =
false;
221 bool m_dBEngineDescriptionHasBeenSet =
false;
224 bool m_dBEngineVersionDescriptionHasBeenSet =
false;
227 bool m_defaultCharacterSetHasBeenSet =
false;
230 bool m_supportedCharacterSetsHasBeenSet =
false;
233 bool m_validUpgradeTargetHasBeenSet =
false;
236 bool m_supportedTimezonesHasBeenSet =
false;
239 bool m_exportableLogTypesHasBeenSet =
false;
241 bool m_supportsLogExportsToCloudwatchLogs{
false};
242 bool m_supportsLogExportsToCloudwatchLogsHasBeenSet =
false;
244 bool m_supportsReadReplica{
false};
245 bool m_supportsReadReplicaHasBeenSet =
false;
247 bool m_supportsGlobalDatabases{
false};
248 bool m_supportsGlobalDatabasesHasBeenSet =
false;
DBEngineVersion & WithSupportsGlobalDatabases(bool value)
void SetDBEngineDescription(DBEngineDescriptionT &&value)
bool GetSupportsGlobalDatabases() const
void SetExportableLogTypes(ExportableLogTypesT &&value)
bool GetSupportsReadReplica() const
void SetSupportedTimezones(SupportedTimezonesT &&value)
DBEngineVersion & WithValidUpgradeTarget(ValidUpgradeTargetT &&value)
bool DBEngineDescriptionHasBeenSet() const
bool EngineVersionHasBeenSet() const
DBEngineVersion & WithDBEngineDescription(DBEngineDescriptionT &&value)
void SetSupportsReadReplica(bool value)
bool ExportableLogTypesHasBeenSet() const
bool GetSupportsLogExportsToCloudwatchLogs() const
DBEngineVersion & AddValidUpgradeTarget(ValidUpgradeTargetT &&value)
DBEngineVersion & AddSupportedCharacterSets(SupportedCharacterSetsT &&value)
void SetValidUpgradeTarget(ValidUpgradeTargetT &&value)
DBEngineVersion & AddExportableLogTypes(ExportableLogTypesT &&value)
bool SupportsReadReplicaHasBeenSet() const
const CharacterSet & GetDefaultCharacterSet() const
void SetSupportedCharacterSets(SupportedCharacterSetsT &&value)
void SetDBEngineVersionDescription(DBEngineVersionDescriptionT &&value)
bool DBParameterGroupFamilyHasBeenSet() const
bool EngineHasBeenSet() const
bool DBEngineVersionDescriptionHasBeenSet() const
bool SupportedTimezonesHasBeenSet() const
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)
void SetSupportsGlobalDatabases(bool value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBEngineVersion & WithExportableLogTypes(ExportableLogTypesT &&value)
DBEngineVersion & WithSupportedTimezones(SupportedTimezonesT &&value)
bool ValidUpgradeTargetHasBeenSet() const
bool SupportsGlobalDatabasesHasBeenSet() const
const Aws::String & GetEngineVersion() const
void SetEngine(EngineT &&value)
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)
bool SupportsLogExportsToCloudwatchLogsHasBeenSet() const
const Aws::Vector< CharacterSet > & GetSupportedCharacterSets() const
const Aws::Vector< Aws::String > & GetExportableLogTypes() const
void SetDefaultCharacterSet(DefaultCharacterSetT &&value)
bool SupportedCharacterSetsHasBeenSet() const
bool DefaultCharacterSetHasBeenSet() const
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