/* * 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 { /// /// Container for the parameters to the DeleteRoute operation. /// Deletes the specified route from the specified route table. /// public partial class DeleteRouteRequest : AmazonEC2Request { private string _destinationCidrBlock; private string _destinationIpv6CidrBlock; private string _destinationPrefixListId; private string _routeTableId; /// /// Gets and sets the property DestinationCidrBlock. /// /// The IPv4 CIDR range for the route. The value you specify must match the CIDR for the /// route exactly. /// /// public string DestinationCidrBlock { get { return this._destinationCidrBlock; } set { this._destinationCidrBlock = value; } } // Check to see if DestinationCidrBlock property is set internal bool IsSetDestinationCidrBlock() { return this._destinationCidrBlock != null; } /// /// Gets and sets the property DestinationIpv6CidrBlock. /// /// The IPv6 CIDR range for the route. The value you specify must match the CIDR for the /// route exactly. /// /// public string DestinationIpv6CidrBlock { get { return this._destinationIpv6CidrBlock; } set { this._destinationIpv6CidrBlock = value; } } // Check to see if DestinationIpv6CidrBlock property is set internal bool IsSetDestinationIpv6CidrBlock() { return this._destinationIpv6CidrBlock != null; } /// /// Gets and sets the property DestinationPrefixListId. /// /// The ID of the prefix list for the route. /// /// public string DestinationPrefixListId { get { return this._destinationPrefixListId; } set { this._destinationPrefixListId = value; } } // Check to see if DestinationPrefixListId property is set internal bool IsSetDestinationPrefixListId() { return this._destinationPrefixListId != null; } /// /// Gets and sets the property RouteTableId. /// /// The ID of the route table. /// /// [AWSProperty(Required=true)] public string RouteTableId { get { return this._routeTableId; } set { this._routeTableId = value; } } // Check to see if RouteTableId property is set internal bool IsSetRouteTableId() { return this._routeTableId != null; } } }