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>
52 inline void SetDbSecurityGroupArn(
const char* value) { m_dbSecurityGroupArnHasBeenSet =
true; m_dbSecurityGroupArn.assign(value); }
66 inline void SetDbSecurityGroupDescription(
const char* value) { m_dbSecurityGroupDescriptionHasBeenSet =
true; m_dbSecurityGroupDescription.assign(value); }
80 inline void SetDbSecurityGroupName(
const char* value) { m_dbSecurityGroupNameHasBeenSet =
true; m_dbSecurityGroupName.assign(value); }
123 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
137 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
145 bool m_dbSecurityGroupArnHasBeenSet =
false;
148 bool m_dbSecurityGroupDescriptionHasBeenSet =
false;
151 bool m_dbSecurityGroupNameHasBeenSet =
false;
154 bool m_ec2SecurityGroupsHasBeenSet =
false;
157 bool m_ipRangesHasBeenSet =
false;
160 bool m_ownerIdHasBeenSet =
false;
163 bool m_vpcIdHasBeenSet =
false;
AwsRdsDbSecurityGroupDetails & WithIpRanges(const Aws::Vector< AwsRdsDbSecurityGroupIpRange > &value)
void SetDbSecurityGroupArn(const Aws::String &value)
AwsRdsDbSecurityGroupDetails & WithOwnerId(Aws::String &&value)
AwsRdsDbSecurityGroupDetails & WithDbSecurityGroupName(const Aws::String &value)
void SetDbSecurityGroupDescription(Aws::String &&value)
AwsRdsDbSecurityGroupDetails & WithOwnerId(const Aws::String &value)
void SetOwnerId(const Aws::String &value)
AwsRdsDbSecurityGroupDetails & WithOwnerId(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVpcId() const
void SetOwnerId(Aws::String &&value)
void SetDbSecurityGroupName(const char *value)
void SetIpRanges(const Aws::Vector< AwsRdsDbSecurityGroupIpRange > &value)
AWS_SECURITYHUB_API AwsRdsDbSecurityGroupDetails()
AwsRdsDbSecurityGroupDetails & WithDbSecurityGroupDescription(const char *value)
AwsRdsDbSecurityGroupDetails & WithVpcId(const char *value)
bool VpcIdHasBeenSet() const
AwsRdsDbSecurityGroupDetails & WithDbSecurityGroupDescription(const Aws::String &value)
AwsRdsDbSecurityGroupDetails & WithDbSecurityGroupArn(const char *value)
const Aws::String & GetDbSecurityGroupName() const
AwsRdsDbSecurityGroupDetails & WithDbSecurityGroupArn(Aws::String &&value)
AwsRdsDbSecurityGroupDetails & AddEc2SecurityGroups(AwsRdsDbSecurityGroupEc2SecurityGroup &&value)
void SetDbSecurityGroupDescription(const Aws::String &value)
void SetOwnerId(const char *value)
AwsRdsDbSecurityGroupDetails & AddEc2SecurityGroups(const AwsRdsDbSecurityGroupEc2SecurityGroup &value)
const Aws::String & GetDbSecurityGroupDescription() const
void SetVpcId(const Aws::String &value)
bool IpRangesHasBeenSet() const
AWS_SECURITYHUB_API AwsRdsDbSecurityGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDbSecurityGroupArn(const char *value)
AwsRdsDbSecurityGroupDetails & WithEc2SecurityGroups(const Aws::Vector< AwsRdsDbSecurityGroupEc2SecurityGroup > &value)
AwsRdsDbSecurityGroupDetails & WithIpRanges(Aws::Vector< AwsRdsDbSecurityGroupIpRange > &&value)
void SetEc2SecurityGroups(const Aws::Vector< AwsRdsDbSecurityGroupEc2SecurityGroup > &value)
AwsRdsDbSecurityGroupDetails & WithVpcId(Aws::String &&value)
bool DbSecurityGroupNameHasBeenSet() const
AwsRdsDbSecurityGroupDetails & WithDbSecurityGroupName(const char *value)
AwsRdsDbSecurityGroupDetails & WithDbSecurityGroupArn(const Aws::String &value)
void SetVpcId(Aws::String &&value)
void SetDbSecurityGroupName(Aws::String &&value)
void SetDbSecurityGroupDescription(const char *value)
bool DbSecurityGroupDescriptionHasBeenSet() const
void SetEc2SecurityGroups(Aws::Vector< AwsRdsDbSecurityGroupEc2SecurityGroup > &&value)
const Aws::Vector< AwsRdsDbSecurityGroupEc2SecurityGroup > & GetEc2SecurityGroups() const
bool OwnerIdHasBeenSet() const
AwsRdsDbSecurityGroupDetails & WithDbSecurityGroupName(Aws::String &&value)
const Aws::String & GetOwnerId() const
bool Ec2SecurityGroupsHasBeenSet() const
AWS_SECURITYHUB_API AwsRdsDbSecurityGroupDetails(Aws::Utils::Json::JsonView jsonValue)
void SetDbSecurityGroupName(const Aws::String &value)
const Aws::Vector< AwsRdsDbSecurityGroupIpRange > & GetIpRanges() const
void SetDbSecurityGroupArn(Aws::String &&value)
AwsRdsDbSecurityGroupDetails & WithEc2SecurityGroups(Aws::Vector< AwsRdsDbSecurityGroupEc2SecurityGroup > &&value)
void SetIpRanges(Aws::Vector< AwsRdsDbSecurityGroupIpRange > &&value)
AwsRdsDbSecurityGroupDetails & AddIpRanges(const AwsRdsDbSecurityGroupIpRange &value)
AwsRdsDbSecurityGroupDetails & WithDbSecurityGroupDescription(Aws::String &&value)
bool DbSecurityGroupArnHasBeenSet() const
void SetVpcId(const char *value)
const Aws::String & GetDbSecurityGroupArn() const
AwsRdsDbSecurityGroupDetails & AddIpRanges(AwsRdsDbSecurityGroupIpRange &&value)
AwsRdsDbSecurityGroupDetails & WithVpcId(const Aws::String &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