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/core/utils/DateTime.h>
12#include <aws/rds/model/Option.h>
51 template<
typename OptionGroupNameT = Aws::String>
52 void SetOptionGroupName(OptionGroupNameT&& value) { m_optionGroupNameHasBeenSet =
true; m_optionGroupName = std::forward<OptionGroupNameT>(value); }
53 template<
typename OptionGroupNameT = Aws::String>
63 template<
typename OptionGroupDescriptionT = Aws::String>
64 void SetOptionGroupDescription(OptionGroupDescriptionT&& value) { m_optionGroupDescriptionHasBeenSet =
true; m_optionGroupDescription = std::forward<OptionGroupDescriptionT>(value); }
65 template<
typename OptionGroupDescriptionT = Aws::String>
76 template<
typename EngineNameT = Aws::String>
77 void SetEngineName(EngineNameT&& value) { m_engineNameHasBeenSet =
true; m_engineName = std::forward<EngineNameT>(value); }
78 template<
typename EngineNameT = Aws::String>
88 template<
typename MajorEngineVersionT = Aws::String>
89 void SetMajorEngineVersion(MajorEngineVersionT&& value) { m_majorEngineVersionHasBeenSet =
true; m_majorEngineVersion = std::forward<MajorEngineVersionT>(value); }
90 template<
typename MajorEngineVersionT = Aws::String>
100 template<
typename OptionsT = Aws::Vector<Option>>
101 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
102 template<
typename OptionsT = Aws::Vector<Option>>
104 template<
typename OptionsT = Option>
105 OptionGroup&
AddOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options.emplace_back(std::forward<OptionsT>(value));
return *
this; }
131 template<
typename VpcIdT = Aws::String>
132 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
133 template<
typename VpcIdT = Aws::String>
143 template<
typename OptionGroupArnT = Aws::String>
144 void SetOptionGroupArn(OptionGroupArnT&& value) { m_optionGroupArnHasBeenSet =
true; m_optionGroupArn = std::forward<OptionGroupArnT>(value); }
145 template<
typename OptionGroupArnT = Aws::String>
156 template<
typename SourceOptionGroupT = Aws::String>
157 void SetSourceOptionGroup(SourceOptionGroupT&& value) { m_sourceOptionGroupHasBeenSet =
true; m_sourceOptionGroup = std::forward<SourceOptionGroupT>(value); }
158 template<
typename SourceOptionGroupT = Aws::String>
169 template<
typename SourceAccountIdT = Aws::String>
170 void SetSourceAccountId(SourceAccountIdT&& value) { m_sourceAccountIdHasBeenSet =
true; m_sourceAccountId = std::forward<SourceAccountIdT>(value); }
171 template<
typename SourceAccountIdT = Aws::String>
181 template<
typename CopyTimestampT = Aws::Utils::DateTime>
182 void SetCopyTimestamp(CopyTimestampT&& value) { m_copyTimestampHasBeenSet =
true; m_copyTimestamp = std::forward<CopyTimestampT>(value); }
183 template<
typename CopyTimestampT = Aws::Utils::DateTime>
189 bool m_optionGroupNameHasBeenSet =
false;
192 bool m_optionGroupDescriptionHasBeenSet =
false;
195 bool m_engineNameHasBeenSet =
false;
198 bool m_majorEngineVersionHasBeenSet =
false;
201 bool m_optionsHasBeenSet =
false;
203 bool m_allowsVpcAndNonVpcInstanceMemberships{
false};
204 bool m_allowsVpcAndNonVpcInstanceMembershipsHasBeenSet =
false;
207 bool m_vpcIdHasBeenSet =
false;
210 bool m_optionGroupArnHasBeenSet =
false;
213 bool m_sourceOptionGroupHasBeenSet =
false;
216 bool m_sourceAccountIdHasBeenSet =
false;
219 bool m_copyTimestampHasBeenSet =
false;
const Aws::String & GetVpcId() const
AWS_RDS_API OptionGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetCopyTimestamp() const
OptionGroup & WithVpcId(VpcIdT &&value)
OptionGroup & WithSourceOptionGroup(SourceOptionGroupT &&value)
void SetOptionGroupName(OptionGroupNameT &&value)
bool SourceOptionGroupHasBeenSet() const
OptionGroup & WithOptionGroupDescription(OptionGroupDescriptionT &&value)
void SetMajorEngineVersion(MajorEngineVersionT &&value)
OptionGroup & WithAllowsVpcAndNonVpcInstanceMemberships(bool value)
const Aws::String & GetMajorEngineVersion() const
void SetSourceAccountId(SourceAccountIdT &&value)
bool OptionGroupDescriptionHasBeenSet() const
void SetAllowsVpcAndNonVpcInstanceMemberships(bool value)
OptionGroup & WithOptionGroupArn(OptionGroupArnT &&value)
void SetEngineName(EngineNameT &&value)
bool AllowsVpcAndNonVpcInstanceMembershipsHasBeenSet() const
const Aws::String & GetOptionGroupDescription() const
void SetCopyTimestamp(CopyTimestampT &&value)
AWS_RDS_API OptionGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Option > & GetOptions() const
bool VpcIdHasBeenSet() const
bool OptionGroupArnHasBeenSet() const
bool EngineNameHasBeenSet() const
void SetVpcId(VpcIdT &&value)
OptionGroup & WithCopyTimestamp(CopyTimestampT &&value)
const Aws::String & GetSourceAccountId() const
OptionGroup & AddOptions(OptionsT &&value)
const Aws::String & GetOptionGroupName() const
OptionGroup & WithMajorEngineVersion(MajorEngineVersionT &&value)
OptionGroup & WithOptionGroupName(OptionGroupNameT &&value)
AWS_RDS_API OptionGroup()=default
bool OptionGroupNameHasBeenSet() const
bool SourceAccountIdHasBeenSet() const
const Aws::String & GetEngineName() const
void SetSourceOptionGroup(SourceOptionGroupT &&value)
bool OptionsHasBeenSet() const
void SetOptionGroupDescription(OptionGroupDescriptionT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetOptionGroupArn(OptionGroupArnT &&value)
bool MajorEngineVersionHasBeenSet() const
void SetOptions(OptionsT &&value)
OptionGroup & WithSourceAccountId(SourceAccountIdT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetSourceOptionGroup() const
OptionGroup & WithEngineName(EngineNameT &&value)
bool GetAllowsVpcAndNonVpcInstanceMemberships() const
const Aws::String & GetOptionGroupArn() const
OptionGroup & WithOptions(OptionsT &&value)
bool CopyTimestampHasBeenSet() const
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