7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rds/RDS_EXPORTS.h>
11#include <aws/rds/model/OptionGroupOptionSetting.h>
12#include <aws/rds/model/OptionVersion.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 template <
typename DescriptionT = Aws::String>
65 m_descriptionHasBeenSet =
true;
66 m_description = std::forward<DescriptionT>(value);
68 template <
typename DescriptionT = Aws::String>
81 template <
typename EngineNameT = Aws::String>
83 m_engineNameHasBeenSet =
true;
84 m_engineName = std::forward<EngineNameT>(value);
86 template <
typename EngineNameT = Aws::String>
99 template <
typename MajorEngineVersionT = Aws::String>
101 m_majorEngineVersionHasBeenSet =
true;
102 m_majorEngineVersion = std::forward<MajorEngineVersionT>(value);
104 template <
typename MajorEngineVersionT = Aws::String>
117 template <
typename MinimumRequiredMinorEngineVersionT = Aws::String>
119 m_minimumRequiredMinorEngineVersionHasBeenSet =
true;
120 m_minimumRequiredMinorEngineVersion = std::forward<MinimumRequiredMinorEngineVersionT>(value);
122 template <
typename MinimumRequiredMinorEngineVersionT = Aws::String>
136 m_portRequiredHasBeenSet =
true;
137 m_portRequired = value;
152 m_defaultPortHasBeenSet =
true;
153 m_defaultPort = value;
167 template <
typename OptionsDependedOnT = Aws::Vector<Aws::String>>
169 m_optionsDependedOnHasBeenSet =
true;
170 m_optionsDependedOn = std::forward<OptionsDependedOnT>(value);
172 template <
typename OptionsDependedOnT = Aws::Vector<Aws::String>>
177 template <
typename OptionsDependedOnT = Aws::String>
179 m_optionsDependedOnHasBeenSet =
true;
180 m_optionsDependedOn.emplace_back(std::forward<OptionsDependedOnT>(value));
191 template <
typename OptionsConflictsWithT = Aws::Vector<Aws::String>>
193 m_optionsConflictsWithHasBeenSet =
true;
194 m_optionsConflictsWith = std::forward<OptionsConflictsWithT>(value);
196 template <
typename OptionsConflictsWithT = Aws::Vector<Aws::String>>
201 template <
typename OptionsConflictsWithT = Aws::String>
203 m_optionsConflictsWithHasBeenSet =
true;
204 m_optionsConflictsWith.emplace_back(std::forward<OptionsConflictsWithT>(value));
219 m_persistentHasBeenSet =
true;
220 m_persistent = value;
236 m_permanentHasBeenSet =
true;
255 m_requiresAutoMinorEngineVersionUpgradeHasBeenSet =
true;
256 m_requiresAutoMinorEngineVersionUpgrade = value;
272 m_vpcOnlyHasBeenSet =
true;
289 m_supportsOptionVersionDowngradeHasBeenSet =
true;
290 m_supportsOptionVersionDowngrade = value;
305 template <
typename OptionGroupOptionSettingsT = Aws::Vector<OptionGroupOptionSetting>>
307 m_optionGroupOptionSettingsHasBeenSet =
true;
308 m_optionGroupOptionSettings = std::forward<OptionGroupOptionSettingsT>(value);
310 template <
typename OptionGroupOptionSettingsT = Aws::Vector<OptionGroupOptionSetting>>
315 template <
typename OptionGroupOptionSettingsT = OptionGroupOptionSetting>
317 m_optionGroupOptionSettingsHasBeenSet =
true;
318 m_optionGroupOptionSettings.emplace_back(std::forward<OptionGroupOptionSettingsT>(value));
329 template <
typename OptionGroupOptionVersionsT = Aws::Vector<OptionVersion>>
331 m_optionGroupOptionVersionsHasBeenSet =
true;
332 m_optionGroupOptionVersions = std::forward<OptionGroupOptionVersionsT>(value);
334 template <
typename OptionGroupOptionVersionsT = Aws::Vector<OptionVersion>>
339 template <
typename OptionGroupOptionVersionsT = OptionVersion>
341 m_optionGroupOptionVersionsHasBeenSet =
true;
342 m_optionGroupOptionVersions.emplace_back(std::forward<OptionGroupOptionVersionsT>(value));
355 m_copyableCrossAccountHasBeenSet =
true;
356 m_copyableCrossAccount = value;
374 bool m_portRequired{
false};
376 int m_defaultPort{0};
382 bool m_persistent{
false};
384 bool m_permanent{
false};
386 bool m_requiresAutoMinorEngineVersionUpgrade{
false};
388 bool m_vpcOnly{
false};
390 bool m_supportsOptionVersionDowngrade{
false};
396 bool m_copyableCrossAccount{
false};
397 bool m_nameHasBeenSet =
false;
398 bool m_descriptionHasBeenSet =
false;
399 bool m_engineNameHasBeenSet =
false;
400 bool m_majorEngineVersionHasBeenSet =
false;
401 bool m_minimumRequiredMinorEngineVersionHasBeenSet =
false;
402 bool m_portRequiredHasBeenSet =
false;
403 bool m_defaultPortHasBeenSet =
false;
404 bool m_optionsDependedOnHasBeenSet =
false;
405 bool m_optionsConflictsWithHasBeenSet =
false;
406 bool m_persistentHasBeenSet =
false;
407 bool m_permanentHasBeenSet =
false;
408 bool m_requiresAutoMinorEngineVersionUpgradeHasBeenSet =
false;
409 bool m_vpcOnlyHasBeenSet =
false;
410 bool m_supportsOptionVersionDowngradeHasBeenSet =
false;
411 bool m_optionGroupOptionSettingsHasBeenSet =
false;
412 bool m_optionGroupOptionVersionsHasBeenSet =
false;
413 bool m_copyableCrossAccountHasBeenSet =
false;
const Aws::String & GetDescription() const
bool OptionsDependedOnHasBeenSet() const
OptionGroupOption & AddOptionGroupOptionSettings(OptionGroupOptionSettingsT &&value)
OptionGroupOption & AddOptionGroupOptionVersions(OptionGroupOptionVersionsT &&value)
const Aws::Vector< Aws::String > & GetOptionsConflictsWith() const
bool CopyableCrossAccountHasBeenSet() const
AWS_RDS_API OptionGroupOption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GetSupportsOptionVersionDowngrade() const
const Aws::Vector< OptionGroupOptionSetting > & GetOptionGroupOptionSettings() const
const Aws::Vector< OptionVersion > & GetOptionGroupOptionVersions() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool GetCopyableCrossAccount() const
bool PersistentHasBeenSet() const
bool OptionsConflictsWithHasBeenSet() const
OptionGroupOption & WithPortRequired(bool value)
void SetPermanent(bool value)
bool PortRequiredHasBeenSet() const
bool MajorEngineVersionHasBeenSet() const
void SetPersistent(bool value)
void SetRequiresAutoMinorEngineVersionUpgrade(bool value)
OptionGroupOption & WithOptionsDependedOn(OptionsDependedOnT &&value)
void SetSupportsOptionVersionDowngrade(bool value)
OptionGroupOption & WithDescription(DescriptionT &&value)
bool RequiresAutoMinorEngineVersionUpgradeHasBeenSet() const
OptionGroupOption & WithEngineName(EngineNameT &&value)
OptionGroupOption & WithPermanent(bool value)
AWS_RDS_API OptionGroupOption(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDescription(DescriptionT &&value)
bool OptionGroupOptionVersionsHasBeenSet() const
const Aws::String & GetEngineName() const
int GetDefaultPort() const
const Aws::Vector< Aws::String > & GetOptionsDependedOn() const
bool NameHasBeenSet() const
void SetOptionGroupOptionSettings(OptionGroupOptionSettingsT &&value)
OptionGroupOption & WithRequiresAutoMinorEngineVersionUpgrade(bool value)
bool MinimumRequiredMinorEngineVersionHasBeenSet() const
const Aws::String & GetMajorEngineVersion() const
bool SupportsOptionVersionDowngradeHasBeenSet() const
bool EngineNameHasBeenSet() const
OptionGroupOption & WithName(NameT &&value)
bool DefaultPortHasBeenSet() const
void SetOptionsConflictsWith(OptionsConflictsWithT &&value)
bool GetPersistent() const
OptionGroupOption & WithDefaultPort(int value)
void SetPortRequired(bool value)
OptionGroupOption & WithOptionGroupOptionVersions(OptionGroupOptionVersionsT &&value)
const Aws::String & GetName() const
void SetEngineName(EngineNameT &&value)
OptionGroupOption & WithOptionsConflictsWith(OptionsConflictsWithT &&value)
bool GetRequiresAutoMinorEngineVersionUpgrade() const
void SetMajorEngineVersion(MajorEngineVersionT &&value)
const Aws::String & GetMinimumRequiredMinorEngineVersion() const
AWS_RDS_API OptionGroupOption()=default
bool GetPermanent() const
bool PermanentHasBeenSet() const
OptionGroupOption & WithMajorEngineVersion(MajorEngineVersionT &&value)
void SetVpcOnly(bool value)
bool VpcOnlyHasBeenSet() const
void SetMinimumRequiredMinorEngineVersion(MinimumRequiredMinorEngineVersionT &&value)
OptionGroupOption & AddOptionsConflictsWith(OptionsConflictsWithT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetCopyableCrossAccount(bool value)
OptionGroupOption & WithCopyableCrossAccount(bool value)
void SetDefaultPort(int value)
void SetName(NameT &&value)
void SetOptionsDependedOn(OptionsDependedOnT &&value)
bool GetPortRequired() const
OptionGroupOption & AddOptionsDependedOn(OptionsDependedOnT &&value)
OptionGroupOption & WithPersistent(bool value)
bool DescriptionHasBeenSet() const
OptionGroupOption & WithOptionGroupOptionSettings(OptionGroupOptionSettingsT &&value)
OptionGroupOption & WithSupportsOptionVersionDowngrade(bool value)
bool OptionGroupOptionSettingsHasBeenSet() const
OptionGroupOption & WithMinimumRequiredMinorEngineVersion(MinimumRequiredMinorEngineVersionT &&value)
OptionGroupOption & WithVpcOnly(bool value)
void SetOptionGroupOptionVersions(OptionGroupOptionVersionsT &&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