7#include <aws/rds/RDS_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/rds/model/OptionGroupOptionSetting.h>
12#include <aws/rds/model/OptionVersion.h>
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
63 template<
typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = Aws::String>
75 template<
typename EngineNameT = Aws::String>
76 void SetEngineName(EngineNameT&& value) { m_engineNameHasBeenSet =
true; m_engineName = std::forward<EngineNameT>(value); }
77 template<
typename EngineNameT = Aws::String>
87 template<
typename MajorEngineVersionT = Aws::String>
88 void SetMajorEngineVersion(MajorEngineVersionT&& value) { m_majorEngineVersionHasBeenSet =
true; m_majorEngineVersion = std::forward<MajorEngineVersionT>(value); }
89 template<
typename MajorEngineVersionT = Aws::String>
99 template<
typename MinimumRequiredMinorEngineVersionT = Aws::String>
100 void SetMinimumRequiredMinorEngineVersion(MinimumRequiredMinorEngineVersionT&& value) { m_minimumRequiredMinorEngineVersionHasBeenSet =
true; m_minimumRequiredMinorEngineVersion = std::forward<MinimumRequiredMinorEngineVersionT>(value); }
101 template<
typename MinimumRequiredMinorEngineVersionT = Aws::String>
111 inline void SetPortRequired(
bool value) { m_portRequiredHasBeenSet =
true; m_portRequired = value; }
121 inline void SetDefaultPort(
int value) { m_defaultPortHasBeenSet =
true; m_defaultPort = value; }
131 template<
typename OptionsDependedOnT = Aws::Vector<Aws::String>>
132 void SetOptionsDependedOn(OptionsDependedOnT&& value) { m_optionsDependedOnHasBeenSet =
true; m_optionsDependedOn = std::forward<OptionsDependedOnT>(value); }
133 template<
typename OptionsDependedOnT = Aws::Vector<Aws::String>>
135 template<
typename OptionsDependedOnT = Aws::String>
136 OptionGroupOption&
AddOptionsDependedOn(OptionsDependedOnT&& value) { m_optionsDependedOnHasBeenSet =
true; m_optionsDependedOn.emplace_back(std::forward<OptionsDependedOnT>(value));
return *
this; }
145 template<
typename OptionsConflictsWithT = Aws::Vector<Aws::String>>
146 void SetOptionsConflictsWith(OptionsConflictsWithT&& value) { m_optionsConflictsWithHasBeenSet =
true; m_optionsConflictsWith = std::forward<OptionsConflictsWithT>(value); }
147 template<
typename OptionsConflictsWithT = Aws::Vector<Aws::String>>
149 template<
typename OptionsConflictsWithT = Aws::String>
150 OptionGroupOption&
AddOptionsConflictsWith(OptionsConflictsWithT&& value) { m_optionsConflictsWithHasBeenSet =
true; m_optionsConflictsWith.emplace_back(std::forward<OptionsConflictsWithT>(value));
return *
this; }
162 inline void SetPersistent(
bool value) { m_persistentHasBeenSet =
true; m_persistent = value; }
173 inline void SetPermanent(
bool value) { m_permanentHasBeenSet =
true; m_permanent = value; }
197 inline void SetVpcOnly(
bool value) { m_vpcOnlyHasBeenSet =
true; m_vpcOnly = value; }
219 template<
typename OptionGroupOptionSettingsT = Aws::Vector<OptionGroupOptionSetting>>
220 void SetOptionGroupOptionSettings(OptionGroupOptionSettingsT&& value) { m_optionGroupOptionSettingsHasBeenSet =
true; m_optionGroupOptionSettings = std::forward<OptionGroupOptionSettingsT>(value); }
221 template<
typename OptionGroupOptionSettingsT = Aws::Vector<OptionGroupOptionSetting>>
223 template<
typename OptionGroupOptionSettingsT = OptionGroupOptionSetting>
224 OptionGroupOption&
AddOptionGroupOptionSettings(OptionGroupOptionSettingsT&& value) { m_optionGroupOptionSettingsHasBeenSet =
true; m_optionGroupOptionSettings.emplace_back(std::forward<OptionGroupOptionSettingsT>(value));
return *
this; }
233 template<
typename OptionGroupOptionVersionsT = Aws::Vector<OptionVersion>>
234 void SetOptionGroupOptionVersions(OptionGroupOptionVersionsT&& value) { m_optionGroupOptionVersionsHasBeenSet =
true; m_optionGroupOptionVersions = std::forward<OptionGroupOptionVersionsT>(value); }
235 template<
typename OptionGroupOptionVersionsT = Aws::Vector<OptionVersion>>
237 template<
typename OptionGroupOptionVersionsT = OptionVersion>
238 OptionGroupOption&
AddOptionGroupOptionVersions(OptionGroupOptionVersionsT&& value) { m_optionGroupOptionVersionsHasBeenSet =
true; m_optionGroupOptionVersions.emplace_back(std::forward<OptionGroupOptionVersionsT>(value));
return *
this; }
254 bool m_nameHasBeenSet =
false;
257 bool m_descriptionHasBeenSet =
false;
260 bool m_engineNameHasBeenSet =
false;
263 bool m_majorEngineVersionHasBeenSet =
false;
266 bool m_minimumRequiredMinorEngineVersionHasBeenSet =
false;
268 bool m_portRequired{
false};
269 bool m_portRequiredHasBeenSet =
false;
271 int m_defaultPort{0};
272 bool m_defaultPortHasBeenSet =
false;
275 bool m_optionsDependedOnHasBeenSet =
false;
278 bool m_optionsConflictsWithHasBeenSet =
false;
280 bool m_persistent{
false};
281 bool m_persistentHasBeenSet =
false;
283 bool m_permanent{
false};
284 bool m_permanentHasBeenSet =
false;
286 bool m_requiresAutoMinorEngineVersionUpgrade{
false};
287 bool m_requiresAutoMinorEngineVersionUpgradeHasBeenSet =
false;
289 bool m_vpcOnly{
false};
290 bool m_vpcOnlyHasBeenSet =
false;
292 bool m_supportsOptionVersionDowngrade{
false};
293 bool m_supportsOptionVersionDowngradeHasBeenSet =
false;
296 bool m_optionGroupOptionSettingsHasBeenSet =
false;
299 bool m_optionGroupOptionVersionsHasBeenSet =
false;
301 bool m_copyableCrossAccount{
false};
302 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