7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsRdsDbSecurityGroupEc2SecurityGroup.h>
11#include <aws/securityhub/model/AwsRdsDbSecurityGroupIpRange.h>
50 template<
typename DbSecurityGroupArnT = Aws::String>
51 void SetDbSecurityGroupArn(DbSecurityGroupArnT&& value) { m_dbSecurityGroupArnHasBeenSet =
true; m_dbSecurityGroupArn = std::forward<DbSecurityGroupArnT>(value); }
52 template<
typename DbSecurityGroupArnT = Aws::String>
62 template<
typename DbSecurityGroupDescriptionT = Aws::String>
63 void SetDbSecurityGroupDescription(DbSecurityGroupDescriptionT&& value) { m_dbSecurityGroupDescriptionHasBeenSet =
true; m_dbSecurityGroupDescription = std::forward<DbSecurityGroupDescriptionT>(value); }
64 template<
typename DbSecurityGroupDescriptionT = Aws::String>
74 template<
typename DbSecurityGroupNameT = Aws::String>
75 void SetDbSecurityGroupName(DbSecurityGroupNameT&& value) { m_dbSecurityGroupNameHasBeenSet =
true; m_dbSecurityGroupName = std::forward<DbSecurityGroupNameT>(value); }
76 template<
typename DbSecurityGroupNameT = Aws::String>
86 template<
typename Ec2SecurityGroupsT = Aws::Vector<AwsRdsDbSecurityGroupEc2SecurityGroup>>
87 void SetEc2SecurityGroups(Ec2SecurityGroupsT&& value) { m_ec2SecurityGroupsHasBeenSet =
true; m_ec2SecurityGroups = std::forward<Ec2SecurityGroupsT>(value); }
88 template<
typename Ec2SecurityGroupsT = Aws::Vector<AwsRdsDbSecurityGroupEc2SecurityGroup>>
90 template<
typename Ec2SecurityGroupsT = AwsRdsDbSecurityGroupEc2SecurityGroup>
100 template<
typename IpRangesT = Aws::Vector<AwsRdsDbSecurityGroupIpRange>>
101 void SetIpRanges(IpRangesT&& value) { m_ipRangesHasBeenSet =
true; m_ipRanges = std::forward<IpRangesT>(value); }
102 template<
typename IpRangesT = Aws::Vector<AwsRdsDbSecurityGroupIpRange>>
104 template<
typename IpRangesT = AwsRdsDbSecurityGroupIpRange>
115 template<
typename OwnerIdT = Aws::String>
116 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
117 template<
typename OwnerIdT = Aws::String>
127 template<
typename VpcIdT = Aws::String>
128 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
129 template<
typename VpcIdT = Aws::String>
135 bool m_dbSecurityGroupArnHasBeenSet =
false;
138 bool m_dbSecurityGroupDescriptionHasBeenSet =
false;
141 bool m_dbSecurityGroupNameHasBeenSet =
false;
144 bool m_ec2SecurityGroupsHasBeenSet =
false;
147 bool m_ipRangesHasBeenSet =
false;
150 bool m_ownerIdHasBeenSet =
false;
153 bool m_vpcIdHasBeenSet =
false;
void SetDbSecurityGroupName(DbSecurityGroupNameT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVpcId() const
void SetDbSecurityGroupDescription(DbSecurityGroupDescriptionT &&value)
void SetEc2SecurityGroups(Ec2SecurityGroupsT &&value)
AwsRdsDbSecurityGroupDetails & WithEc2SecurityGroups(Ec2SecurityGroupsT &&value)
bool VpcIdHasBeenSet() const
AWS_SECURITYHUB_API AwsRdsDbSecurityGroupDetails()=default
void SetDbSecurityGroupArn(DbSecurityGroupArnT &&value)
const Aws::String & GetDbSecurityGroupName() const
const Aws::String & GetDbSecurityGroupDescription() const
bool IpRangesHasBeenSet() const
AWS_SECURITYHUB_API AwsRdsDbSecurityGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOwnerId(OwnerIdT &&value)
void SetIpRanges(IpRangesT &&value)
bool DbSecurityGroupNameHasBeenSet() const
AwsRdsDbSecurityGroupDetails & WithOwnerId(OwnerIdT &&value)
void SetVpcId(VpcIdT &&value)
AwsRdsDbSecurityGroupDetails & AddIpRanges(IpRangesT &&value)
bool DbSecurityGroupDescriptionHasBeenSet() const
AwsRdsDbSecurityGroupDetails & WithDbSecurityGroupName(DbSecurityGroupNameT &&value)
AwsRdsDbSecurityGroupDetails & WithDbSecurityGroupArn(DbSecurityGroupArnT &&value)
const Aws::Vector< AwsRdsDbSecurityGroupEc2SecurityGroup > & GetEc2SecurityGroups() const
bool OwnerIdHasBeenSet() const
const Aws::String & GetOwnerId() const
bool Ec2SecurityGroupsHasBeenSet() const
AwsRdsDbSecurityGroupDetails & WithDbSecurityGroupDescription(DbSecurityGroupDescriptionT &&value)
AWS_SECURITYHUB_API AwsRdsDbSecurityGroupDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AwsRdsDbSecurityGroupIpRange > & GetIpRanges() const
AwsRdsDbSecurityGroupDetails & WithVpcId(VpcIdT &&value)
bool DbSecurityGroupArnHasBeenSet() const
AwsRdsDbSecurityGroupDetails & AddEc2SecurityGroups(Ec2SecurityGroupsT &&value)
const Aws::String & GetDbSecurityGroupArn() const
AwsRdsDbSecurityGroupDetails & WithIpRanges(IpRangesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue