7#include <aws/core/utils/DateTime.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/RDS_EXPORTS.h>
12#include <aws/rds/model/Option.h>
45 template <
typename OptionGroupNameT = Aws::String>
47 m_optionGroupNameHasBeenSet =
true;
48 m_optionGroupName = std::forward<OptionGroupNameT>(value);
50 template <
typename OptionGroupNameT = Aws::String>
63 template <
typename OptionGroupDescriptionT = Aws::String>
65 m_optionGroupDescriptionHasBeenSet =
true;
66 m_optionGroupDescription = std::forward<OptionGroupDescriptionT>(value);
68 template <
typename OptionGroupDescriptionT = Aws::String>
82 template <
typename EngineNameT = Aws::String>
84 m_engineNameHasBeenSet =
true;
85 m_engineName = std::forward<EngineNameT>(value);
87 template <
typename EngineNameT = Aws::String>
100 template <
typename MajorEngineVersionT = Aws::String>
102 m_majorEngineVersionHasBeenSet =
true;
103 m_majorEngineVersion = std::forward<MajorEngineVersionT>(value);
105 template <
typename MajorEngineVersionT = Aws::String>
118 template <
typename OptionsT = Aws::Vector<Option>>
120 m_optionsHasBeenSet =
true;
121 m_options = std::forward<OptionsT>(value);
123 template <
typename OptionsT = Aws::Vector<Option>>
128 template <
typename OptionsT = Option>
130 m_optionsHasBeenSet =
true;
131 m_options.emplace_back(std::forward<OptionsT>(value));
145 m_allowsVpcAndNonVpcInstanceMembershipsHasBeenSet =
true;
146 m_allowsVpcAndNonVpcInstanceMemberships = value;
165 template <
typename VpcIdT = Aws::String>
167 m_vpcIdHasBeenSet =
true;
168 m_vpcId = std::forward<VpcIdT>(value);
170 template <
typename VpcIdT = Aws::String>
172 SetVpcId(std::forward<VpcIdT>(value));
183 template <
typename OptionGroupArnT = Aws::String>
185 m_optionGroupArnHasBeenSet =
true;
186 m_optionGroupArn = std::forward<OptionGroupArnT>(value);
188 template <
typename OptionGroupArnT = Aws::String>
202 template <
typename SourceOptionGroupT = Aws::String>
204 m_sourceOptionGroupHasBeenSet =
true;
205 m_sourceOptionGroup = std::forward<SourceOptionGroupT>(value);
207 template <
typename SourceOptionGroupT = Aws::String>
221 template <
typename SourceAccountIdT = Aws::String>
223 m_sourceAccountIdHasBeenSet =
true;
224 m_sourceAccountId = std::forward<SourceAccountIdT>(value);
226 template <
typename SourceAccountIdT = Aws::String>
239 template <
typename CopyTimestampT = Aws::Utils::DateTime>
241 m_copyTimestampHasBeenSet =
true;
242 m_copyTimestamp = std::forward<CopyTimestampT>(value);
244 template <
typename CopyTimestampT = Aws::Utils::DateTime>
261 bool m_allowsVpcAndNonVpcInstanceMemberships{
false};
272 bool m_optionGroupNameHasBeenSet =
false;
273 bool m_optionGroupDescriptionHasBeenSet =
false;
274 bool m_engineNameHasBeenSet =
false;
275 bool m_majorEngineVersionHasBeenSet =
false;
276 bool m_optionsHasBeenSet =
false;
277 bool m_allowsVpcAndNonVpcInstanceMembershipsHasBeenSet =
false;
278 bool m_vpcIdHasBeenSet =
false;
279 bool m_optionGroupArnHasBeenSet =
false;
280 bool m_sourceOptionGroupHasBeenSet =
false;
281 bool m_sourceAccountIdHasBeenSet =
false;
282 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