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/EC2SecurityGroup.h>
12#include <aws/rds/model/IPRange.h>
48 template <
typename OwnerIdT = Aws::String>
50 m_ownerIdHasBeenSet =
true;
51 m_ownerId = std::forward<OwnerIdT>(value);
53 template <
typename OwnerIdT = Aws::String>
66 template <
typename DBSecurityGroupNameT = Aws::String>
68 m_dBSecurityGroupNameHasBeenSet =
true;
69 m_dBSecurityGroupName = std::forward<DBSecurityGroupNameT>(value);
71 template <
typename DBSecurityGroupNameT = Aws::String>
84 template <
typename DBSecurityGroupDescriptionT = Aws::String>
86 m_dBSecurityGroupDescriptionHasBeenSet =
true;
87 m_dBSecurityGroupDescription = std::forward<DBSecurityGroupDescriptionT>(value);
89 template <
typename DBSecurityGroupDescriptionT = Aws::String>
102 template <
typename VpcIdT = Aws::String>
104 m_vpcIdHasBeenSet =
true;
105 m_vpcId = std::forward<VpcIdT>(value);
107 template <
typename VpcIdT = Aws::String>
109 SetVpcId(std::forward<VpcIdT>(value));
120 template <
typename EC2SecurityGroupsT = Aws::Vector<EC2SecurityGroup>>
122 m_eC2SecurityGroupsHasBeenSet =
true;
123 m_eC2SecurityGroups = std::forward<EC2SecurityGroupsT>(value);
125 template <
typename EC2SecurityGroupsT = Aws::Vector<EC2SecurityGroup>>
130 template <
typename EC2SecurityGroupsT = EC2SecurityGroup>
132 m_eC2SecurityGroupsHasBeenSet =
true;
133 m_eC2SecurityGroups.emplace_back(std::forward<EC2SecurityGroupsT>(value));
144 template <
typename IPRangesT = Aws::Vector<IPRange>>
146 m_iPRangesHasBeenSet =
true;
147 m_iPRanges = std::forward<IPRangesT>(value);
149 template <
typename IPRangesT = Aws::Vector<IPRange>>
154 template <
typename IPRangesT = IPRange>
156 m_iPRangesHasBeenSet =
true;
157 m_iPRanges.emplace_back(std::forward<IPRangesT>(value));
168 template <
typename DBSecurityGroupArnT = Aws::String>
170 m_dBSecurityGroupArnHasBeenSet =
true;
171 m_dBSecurityGroupArn = std::forward<DBSecurityGroupArnT>(value);
173 template <
typename DBSecurityGroupArnT = Aws::String>
193 bool m_ownerIdHasBeenSet =
false;
194 bool m_dBSecurityGroupNameHasBeenSet =
false;
195 bool m_dBSecurityGroupDescriptionHasBeenSet =
false;
196 bool m_vpcIdHasBeenSet =
false;
197 bool m_eC2SecurityGroupsHasBeenSet =
false;
198 bool m_iPRangesHasBeenSet =
false;
199 bool m_dBSecurityGroupArnHasBeenSet =
false;
void SetEC2SecurityGroups(EC2SecurityGroupsT &&value)
void SetDBSecurityGroupName(DBSecurityGroupNameT &&value)
void SetDBSecurityGroupArn(DBSecurityGroupArnT &&value)
void SetVpcId(VpcIdT &&value)
const Aws::String & GetDBSecurityGroupArn() const
DBSecurityGroup & WithDBSecurityGroupArn(DBSecurityGroupArnT &&value)
void SetDBSecurityGroupDescription(DBSecurityGroupDescriptionT &&value)
const Aws::String & GetVpcId() const
AWS_RDS_API DBSecurityGroup()=default
bool OwnerIdHasBeenSet() const
const Aws::String & GetOwnerId() const
const Aws::Vector< IPRange > & GetIPRanges() const
DBSecurityGroup & WithEC2SecurityGroups(EC2SecurityGroupsT &&value)
bool DBSecurityGroupNameHasBeenSet() const
void SetIPRanges(IPRangesT &&value)
AWS_RDS_API DBSecurityGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< EC2SecurityGroup > & GetEC2SecurityGroups() const
DBSecurityGroup & WithIPRanges(IPRangesT &&value)
DBSecurityGroup & AddEC2SecurityGroups(EC2SecurityGroupsT &&value)
bool EC2SecurityGroupsHasBeenSet() const
AWS_RDS_API DBSecurityGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBSecurityGroup & WithDBSecurityGroupDescription(DBSecurityGroupDescriptionT &&value)
DBSecurityGroup & WithVpcId(VpcIdT &&value)
DBSecurityGroup & WithOwnerId(OwnerIdT &&value)
void SetOwnerId(OwnerIdT &&value)
DBSecurityGroup & AddIPRanges(IPRangesT &&value)
bool DBSecurityGroupDescriptionHasBeenSet() const
bool IPRangesHasBeenSet() const
bool DBSecurityGroupArnHasBeenSet() const
DBSecurityGroup & WithDBSecurityGroupName(DBSecurityGroupNameT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool VpcIdHasBeenSet() const
const Aws::String & GetDBSecurityGroupDescription() const
const Aws::String & GetDBSecurityGroupName() 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