/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the securityhub-2018-10-26.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SecurityHub.Model { /// /// Provides information about an Amazon RDS DB security group. /// public partial class AwsRdsDbSecurityGroupDetails { private string _dbSecurityGroupArn; private string _dbSecurityGroupDescription; private string _dbSecurityGroupName; private List _ec2SecurityGroups = new List(); private List _ipRanges = new List(); private string _ownerId; private string _vpcId; /// /// Gets and sets the property DbSecurityGroupArn. /// /// The ARN for the DB security group. /// /// public string DbSecurityGroupArn { get { return this._dbSecurityGroupArn; } set { this._dbSecurityGroupArn = value; } } // Check to see if DbSecurityGroupArn property is set internal bool IsSetDbSecurityGroupArn() { return this._dbSecurityGroupArn != null; } /// /// Gets and sets the property DbSecurityGroupDescription. /// /// Provides the description of the DB security group. /// /// public string DbSecurityGroupDescription { get { return this._dbSecurityGroupDescription; } set { this._dbSecurityGroupDescription = value; } } // Check to see if DbSecurityGroupDescription property is set internal bool IsSetDbSecurityGroupDescription() { return this._dbSecurityGroupDescription != null; } /// /// Gets and sets the property DbSecurityGroupName. /// /// Specifies the name of the DB security group. /// /// public string DbSecurityGroupName { get { return this._dbSecurityGroupName; } set { this._dbSecurityGroupName = value; } } // Check to see if DbSecurityGroupName property is set internal bool IsSetDbSecurityGroupName() { return this._dbSecurityGroupName != null; } /// /// Gets and sets the property Ec2SecurityGroups. /// /// Contains a list of EC2 security groups. /// /// public List Ec2SecurityGroups { get { return this._ec2SecurityGroups; } set { this._ec2SecurityGroups = value; } } // Check to see if Ec2SecurityGroups property is set internal bool IsSetEc2SecurityGroups() { return this._ec2SecurityGroups != null && this._ec2SecurityGroups.Count > 0; } /// /// Gets and sets the property IpRanges. /// /// Contains a list of IP ranges. /// /// public List IpRanges { get { return this._ipRanges; } set { this._ipRanges = value; } } // Check to see if IpRanges property is set internal bool IsSetIpRanges() { return this._ipRanges != null && this._ipRanges.Count > 0; } /// /// Gets and sets the property OwnerId. /// /// Provides the Amazon Web Services ID of the owner of a specific DB security group. /// /// public string OwnerId { get { return this._ownerId; } set { this._ownerId = value; } } // Check to see if OwnerId property is set internal bool IsSetOwnerId() { return this._ownerId != null; } /// /// Gets and sets the property VpcId. /// /// Provides VPC ID associated with the DB security group. /// /// public string VpcId { get { return this._vpcId; } set { this._vpcId = value; } } // Check to see if VpcId property is set internal bool IsSetVpcId() { return this._vpcId != null; } } }