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/OptionSetting.h>
12#include <aws/rds/model/DBSecurityGroupMembership.h>
13#include <aws/rds/model/VpcSecurityGroupMembership.h>
54 inline void SetOptionName(
const char* value) { m_optionNameHasBeenSet =
true; m_optionName.assign(value); }
68 inline void SetOptionDescription(
const char* value) { m_optionDescriptionHasBeenSet =
true; m_optionDescription.assign(value); }
80 inline void SetPersistent(
bool value) { m_persistentHasBeenSet =
true; m_persistent = value; }
90 inline void SetPermanent(
bool value) { m_permanentHasBeenSet =
true; m_permanent = value; }
98 inline int GetPort()
const{
return m_port; }
100 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
112 inline void SetOptionVersion(
const char* value) { m_optionVersionHasBeenSet =
true; m_optionVersion.assign(value); }
164 bool m_optionNameHasBeenSet =
false;
167 bool m_optionDescriptionHasBeenSet =
false;
170 bool m_persistentHasBeenSet =
false;
173 bool m_permanentHasBeenSet =
false;
176 bool m_portHasBeenSet =
false;
179 bool m_optionVersionHasBeenSet =
false;
182 bool m_optionSettingsHasBeenSet =
false;
185 bool m_dBSecurityGroupMembershipsHasBeenSet =
false;
188 bool m_vpcSecurityGroupMembershipsHasBeenSet =
false;
void SetOptionDescription(Aws::String &&value)
const Aws::Vector< VpcSecurityGroupMembership > & GetVpcSecurityGroupMemberships() const
void SetOptionVersion(Aws::String &&value)
bool PersistentHasBeenSet() const
const Aws::Vector< DBSecurityGroupMembership > & GetDBSecurityGroupMemberships() const
void SetOptionDescription(const char *value)
Option & AddDBSecurityGroupMemberships(DBSecurityGroupMembership &&value)
Option & AddVpcSecurityGroupMemberships(VpcSecurityGroupMembership &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool GetPermanent() const
Option & WithOptionSettings(const Aws::Vector< OptionSetting > &value)
Option & WithPersistent(bool value)
Option & WithOptionSettings(Aws::Vector< OptionSetting > &&value)
Option & WithOptionName(const Aws::String &value)
bool OptionDescriptionHasBeenSet() const
void SetOptionDescription(const Aws::String &value)
void SetOptionName(const char *value)
Option & WithOptionVersion(const char *value)
Option & WithPort(int value)
Option & WithOptionDescription(Aws::String &&value)
Option & AddDBSecurityGroupMemberships(const DBSecurityGroupMembership &value)
const Aws::Vector< OptionSetting > & GetOptionSettings() const
bool VpcSecurityGroupMembershipsHasBeenSet() const
bool PortHasBeenSet() const
bool DBSecurityGroupMembershipsHasBeenSet() const
Option & WithVpcSecurityGroupMemberships(const Aws::Vector< VpcSecurityGroupMembership > &value)
void SetVpcSecurityGroupMemberships(const Aws::Vector< VpcSecurityGroupMembership > &value)
const Aws::String & GetOptionVersion() const
bool OptionNameHasBeenSet() const
Option & AddVpcSecurityGroupMemberships(const VpcSecurityGroupMembership &value)
void SetOptionVersion(const char *value)
Option & WithVpcSecurityGroupMemberships(Aws::Vector< VpcSecurityGroupMembership > &&value)
void SetOptionSettings(Aws::Vector< OptionSetting > &&value)
Option & AddOptionSettings(const OptionSetting &value)
void SetPermanent(bool value)
void SetDBSecurityGroupMemberships(Aws::Vector< DBSecurityGroupMembership > &&value)
void SetOptionName(const Aws::String &value)
const Aws::String & GetOptionName() const
Option & WithPermanent(bool value)
bool GetPersistent() const
Option & WithDBSecurityGroupMemberships(const Aws::Vector< DBSecurityGroupMembership > &value)
void SetOptionName(Aws::String &&value)
void SetOptionSettings(const Aws::Vector< OptionSetting > &value)
Option & WithOptionName(Aws::String &&value)
Option & WithOptionDescription(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_RDS_API Option(const Aws::Utils::Xml::XmlNode &xmlNode)
Option & WithOptionVersion(const Aws::String &value)
void SetPersistent(bool value)
const Aws::String & GetOptionDescription() const
Option & WithOptionDescription(const char *value)
Option & WithDBSecurityGroupMemberships(Aws::Vector< DBSecurityGroupMembership > &&value)
bool OptionVersionHasBeenSet() const
void SetOptionVersion(const Aws::String &value)
void SetDBSecurityGroupMemberships(const Aws::Vector< DBSecurityGroupMembership > &value)
Option & WithOptionVersion(Aws::String &&value)
Option & WithOptionName(const char *value)
Option & AddOptionSettings(OptionSetting &&value)
void SetVpcSecurityGroupMemberships(Aws::Vector< VpcSecurityGroupMembership > &&value)
bool OptionSettingsHasBeenSet() const
bool PermanentHasBeenSet() const
AWS_RDS_API Option & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
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