/* * 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 expected route in the route table. /// public partial class ExpectedRoute { private List _allowedTargets = new List(); private List _contributingSubnets = new List(); private string _ipV4Cidr; private string _ipV6Cidr; private string _prefixListId; private string _routeTableId; /// /// Gets and sets the property AllowedTargets. /// /// Information about the allowed targets. /// /// public List AllowedTargets { get { return this._allowedTargets; } set { this._allowedTargets = value; } } // Check to see if AllowedTargets property is set internal bool IsSetAllowedTargets() { return this._allowedTargets != null && this._allowedTargets.Count > 0; } /// /// Gets and sets the property ContributingSubnets. /// /// Information about the contributing subnets. /// /// public List ContributingSubnets { get { return this._contributingSubnets; } set { this._contributingSubnets = value; } } // Check to see if ContributingSubnets property is set internal bool IsSetContributingSubnets() { return this._contributingSubnets != null && this._contributingSubnets.Count > 0; } /// /// Gets and sets the property IpV4Cidr. /// /// Information about the IPv4 CIDR block. /// /// [AWSProperty(Min=0, Max=256)] public string IpV4Cidr { get { return this._ipV4Cidr; } set { this._ipV4Cidr = value; } } // Check to see if IpV4Cidr property is set internal bool IsSetIpV4Cidr() { return this._ipV4Cidr != null; } /// /// Gets and sets the property IpV6Cidr. /// /// Information about the IPv6 CIDR block. /// /// [AWSProperty(Min=0, Max=256)] public string IpV6Cidr { get { return this._ipV6Cidr; } set { this._ipV6Cidr = value; } } // Check to see if IpV6Cidr property is set internal bool IsSetIpV6Cidr() { return this._ipV6Cidr != null; } /// /// Gets and sets the property PrefixListId. /// /// Information about the ID of the prefix list for the route. /// /// [AWSProperty(Min=0, Max=256)] public string PrefixListId { get { return this._prefixListId; } set { this._prefixListId = value; } } // Check to see if PrefixListId property is set internal bool IsSetPrefixListId() { return this._prefixListId != null; } /// /// Gets and sets the property RouteTableId. /// /// Information about the route table ID. /// /// [AWSProperty(Min=1, Max=1024)] 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; } } }