/*
* 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 fms-2018-01-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.FMS.Model
{
///
/// Information about the CreateRoute action in Amazon EC2.
///
public partial class EC2CreateRouteAction
{
private string _description;
private string _destinationCidrBlock;
private string _destinationIpv6CidrBlock;
private string _destinationPrefixListId;
private ActionTarget _gatewayId;
private ActionTarget _routeTableId;
private ActionTarget _vpcEndpointId;
///
/// Gets and sets the property Description.
///
/// A description of CreateRoute action in Amazon EC2.
///
///
[AWSProperty(Min=0, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property DestinationCidrBlock.
///
/// Information about the IPv4 CIDR address block used for the destination match.
///
///
[AWSProperty(Min=0, Max=256)]
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.
///
/// Information about the IPv6 CIDR block destination.
///
///
[AWSProperty(Min=0, Max=256)]
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.
///
/// Information about the ID of a prefix list used for the destination match.
///
///
[AWSProperty(Min=1, Max=1024)]
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 GatewayId.
///
/// Information about the ID of an internet gateway or virtual private gateway attached
/// to your VPC.
///
///
public ActionTarget GatewayId
{
get { return this._gatewayId; }
set { this._gatewayId = value; }
}
// Check to see if GatewayId property is set
internal bool IsSetGatewayId()
{
return this._gatewayId != null;
}
///
/// Gets and sets the property RouteTableId.
///
/// Information about the ID of the route table for the route.
///
///
[AWSProperty(Required=true)]
public ActionTarget RouteTableId
{
get { return this._routeTableId; }
set { this._routeTableId = value; }
}
// Check to see if RouteTableId property is set
internal bool IsSetRouteTableId()
{
return this._routeTableId != null;
}
///
/// Gets and sets the property VpcEndpointId.
///
/// Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints
/// only.
///
///
public ActionTarget VpcEndpointId
{
get { return this._vpcEndpointId; }
set { this._vpcEndpointId = value; }
}
// Check to see if VpcEndpointId property is set
internal bool IsSetVpcEndpointId()
{
return this._vpcEndpointId != null;
}
}
}