/* * 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 details about the routes in the route table. /// public partial class RouteSetDetails { private string _carrierGatewayId; private string _coreNetworkArn; private string _destinationCidrBlock; private string _destinationIpv6CidrBlock; private string _destinationPrefixListId; private string _egressOnlyInternetGatewayId; private string _gatewayId; private string _instanceId; private string _instanceOwnerId; private string _localGatewayId; private string _natGatewayId; private string _networkInterfaceId; private string _origin; private string _state; private string _transitGatewayId; private string _vpcPeeringConnectionId; /// /// Gets and sets the property CarrierGatewayId. /// /// The ID of the carrier gateway. /// /// public string CarrierGatewayId { get { return this._carrierGatewayId; } set { this._carrierGatewayId = value; } } // Check to see if CarrierGatewayId property is set internal bool IsSetCarrierGatewayId() { return this._carrierGatewayId != null; } /// /// Gets and sets the property CoreNetworkArn. /// /// The Amazon Resource Name (ARN) of the core network. /// /// public string CoreNetworkArn { get { return this._coreNetworkArn; } set { this._coreNetworkArn = value; } } // Check to see if CoreNetworkArn property is set internal bool IsSetCoreNetworkArn() { return this._coreNetworkArn != null; } /// /// Gets and sets the property DestinationCidrBlock. /// /// The IPv4 CIDR block used for the destination match. /// /// 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 block used for the destination match. /// /// 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 prefix of the destination Amazon Web Service. /// /// 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 EgressOnlyInternetGatewayId. /// /// The ID of the egress-only internet gateway. /// /// public string EgressOnlyInternetGatewayId { get { return this._egressOnlyInternetGatewayId; } set { this._egressOnlyInternetGatewayId = value; } } // Check to see if EgressOnlyInternetGatewayId property is set internal bool IsSetEgressOnlyInternetGatewayId() { return this._egressOnlyInternetGatewayId != null; } /// /// Gets and sets the property GatewayId. /// /// The ID of a gateway attached to your VPC. /// /// public string 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 InstanceId. /// /// The ID of a NAT instance in your VPC. /// /// public string InstanceId { get { return this._instanceId; } set { this._instanceId = value; } } // Check to see if InstanceId property is set internal bool IsSetInstanceId() { return this._instanceId != null; } /// /// Gets and sets the property InstanceOwnerId. /// /// The ID of the Amazon Web Services account that owns the instance. /// /// public string InstanceOwnerId { get { return this._instanceOwnerId; } set { this._instanceOwnerId = value; } } // Check to see if InstanceOwnerId property is set internal bool IsSetInstanceOwnerId() { return this._instanceOwnerId != null; } /// /// Gets and sets the property LocalGatewayId. /// /// The ID of the local gateway. /// /// public string LocalGatewayId { get { return this._localGatewayId; } set { this._localGatewayId = value; } } // Check to see if LocalGatewayId property is set internal bool IsSetLocalGatewayId() { return this._localGatewayId != null; } /// /// Gets and sets the property NatGatewayId. /// /// The ID of a NAT gateway. /// /// public string NatGatewayId { get { return this._natGatewayId; } set { this._natGatewayId = value; } } // Check to see if NatGatewayId property is set internal bool IsSetNatGatewayId() { return this._natGatewayId != null; } /// /// Gets and sets the property NetworkInterfaceId. /// /// The ID of the network interface. /// /// public string NetworkInterfaceId { get { return this._networkInterfaceId; } set { this._networkInterfaceId = value; } } // Check to see if NetworkInterfaceId property is set internal bool IsSetNetworkInterfaceId() { return this._networkInterfaceId != null; } /// /// Gets and sets the property Origin. /// /// Describes how the route was created. /// /// public string Origin { get { return this._origin; } set { this._origin = value; } } // Check to see if Origin property is set internal bool IsSetOrigin() { return this._origin != null; } /// /// Gets and sets the property State. /// /// The state of the route. /// /// public string State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// /// Gets and sets the property TransitGatewayId. /// /// The ID of a transit gateway. /// /// public string TransitGatewayId { get { return this._transitGatewayId; } set { this._transitGatewayId = value; } } // Check to see if TransitGatewayId property is set internal bool IsSetTransitGatewayId() { return this._transitGatewayId != null; } /// /// Gets and sets the property VpcPeeringConnectionId. /// /// The ID of a VPC peering connection. /// /// public string VpcPeeringConnectionId { get { return this._vpcPeeringConnectionId; } set { this._vpcPeeringConnectionId = value; } } // Check to see if VpcPeeringConnectionId property is set internal bool IsSetVpcPeeringConnectionId() { return this._vpcPeeringConnectionId != null; } } }