/* * 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 route53-2013-04-01.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.Route53.Model { /// /// Container for the parameters to the DisassociateVPCFromHostedZone operation. /// Disassociates an Amazon Virtual Private Cloud (Amazon VPC) from an Amazon Route 53 /// private hosted zone. Note the following: /// /// /// /// When revoking access, the hosted zone and the Amazon VPC must belong to the same partition. /// A partition is a group of Amazon Web Services Regions. Each Amazon Web Services account /// is scoped to one partition. /// /// /// /// The following are the supported partitions: /// /// /// /// For more information, see Access /// Management in the Amazon Web Services General Reference. /// /// /// public partial class DisassociateVPCFromHostedZoneRequest : AmazonRoute53Request { private string _hostedZoneId; private VPC _vpc; private string _comment; /// /// Gets and sets the property HostedZoneId. /// /// The ID of the private hosted zone that you want to disassociate a VPC from. /// /// [AWSProperty(Required=true, Max=32)] public string HostedZoneId { get { return this._hostedZoneId; } set { this._hostedZoneId = value; } } // Check to see if HostedZoneId property is set internal bool IsSetHostedZoneId() { return this._hostedZoneId != null; } /// /// Gets and sets the property VPC. /// /// A complex type that contains information about the VPC that you're disassociating /// from the specified hosted zone. /// /// [AWSProperty(Required=true)] public VPC VPC { get { return this._vpc; } set { this._vpc = value; } } // Check to see if VPC property is set internal bool IsSetVPC() { return this._vpc != null; } /// /// Gets and sets the property Comment. /// /// Optional: A comment about the disassociation request. /// /// public string Comment { get { return this._comment; } set { this._comment = value; } } // Check to see if Comment property is set internal bool IsSetComment() { return this._comment != null; } } }