/* * 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 ec2-2016-11-15.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.EC2.Model { /// /// Describes a VPC in a VPC peering connection. /// public partial class VpcPeeringConnectionVpcInfo { private string _cidrBlock; private List _cidrBlockSet = new List(); private List _ipv6CidrBlockSet = new List(); private string _ownerId; private VpcPeeringConnectionOptionsDescription _peeringOptions; private string _region; private string _vpcId; /// /// Gets and sets the property CidrBlock. /// /// The IPv4 CIDR block for the VPC. /// /// public string CidrBlock { get { return this._cidrBlock; } set { this._cidrBlock = value; } } // Check to see if CidrBlock property is set internal bool IsSetCidrBlock() { return this._cidrBlock != null; } /// /// Gets and sets the property CidrBlockSet. /// /// Information about the IPv4 CIDR blocks for the VPC. /// /// public List CidrBlockSet { get { return this._cidrBlockSet; } set { this._cidrBlockSet = value; } } // Check to see if CidrBlockSet property is set internal bool IsSetCidrBlockSet() { return this._cidrBlockSet != null && this._cidrBlockSet.Count > 0; } /// /// Gets and sets the property Ipv6CidrBlockSet. /// /// The IPv6 CIDR block for the VPC. /// /// public List Ipv6CidrBlockSet { get { return this._ipv6CidrBlockSet; } set { this._ipv6CidrBlockSet = value; } } // Check to see if Ipv6CidrBlockSet property is set internal bool IsSetIpv6CidrBlockSet() { return this._ipv6CidrBlockSet != null && this._ipv6CidrBlockSet.Count > 0; } /// /// Gets and sets the property OwnerId. /// /// The ID of the Amazon Web Services account that owns the VPC. /// /// 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 PeeringOptions. /// /// Information about the VPC peering connection options for the accepter or requester /// VPC. /// /// public VpcPeeringConnectionOptionsDescription PeeringOptions { get { return this._peeringOptions; } set { this._peeringOptions = value; } } // Check to see if PeeringOptions property is set internal bool IsSetPeeringOptions() { return this._peeringOptions != null; } /// /// Gets and sets the property Region. /// /// The Region in which the VPC is located. /// /// public string Region { get { return this._region; } set { this._region = value; } } // Check to see if Region property is set internal bool IsSetRegion() { return this._region != null; } /// /// Gets and sets the property VpcId. /// /// The ID of the VPC. /// /// 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; } } }