/* * 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 networkmanager-2019-07-05.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.NetworkManager.Model { /// /// This is the response object from the GetNetworkRoutes operation. /// public partial class GetNetworkRoutesResponse : AmazonWebServiceResponse { private CoreNetworkSegmentEdgeIdentifier _coreNetworkSegmentEdge; private List _networkRoutes = new List(); private string _routeTableArn; private DateTime? _routeTableTimestamp; private RouteTableType _routeTableType; /// /// Gets and sets the property CoreNetworkSegmentEdge. /// /// Describes a core network segment edge. /// /// public CoreNetworkSegmentEdgeIdentifier CoreNetworkSegmentEdge { get { return this._coreNetworkSegmentEdge; } set { this._coreNetworkSegmentEdge = value; } } // Check to see if CoreNetworkSegmentEdge property is set internal bool IsSetCoreNetworkSegmentEdge() { return this._coreNetworkSegmentEdge != null; } /// /// Gets and sets the property NetworkRoutes. /// /// The network routes. /// /// public List NetworkRoutes { get { return this._networkRoutes; } set { this._networkRoutes = value; } } // Check to see if NetworkRoutes property is set internal bool IsSetNetworkRoutes() { return this._networkRoutes != null && this._networkRoutes.Count > 0; } /// /// Gets and sets the property RouteTableArn. /// /// The ARN of the route table. /// /// [AWSProperty(Min=0, Max=1500)] public string RouteTableArn { get { return this._routeTableArn; } set { this._routeTableArn = value; } } // Check to see if RouteTableArn property is set internal bool IsSetRouteTableArn() { return this._routeTableArn != null; } /// /// Gets and sets the property RouteTableTimestamp. /// /// The route table creation time. /// /// public DateTime RouteTableTimestamp { get { return this._routeTableTimestamp.GetValueOrDefault(); } set { this._routeTableTimestamp = value; } } // Check to see if RouteTableTimestamp property is set internal bool IsSetRouteTableTimestamp() { return this._routeTableTimestamp.HasValue; } /// /// Gets and sets the property RouteTableType. /// /// The route table type. /// /// public RouteTableType RouteTableType { get { return this._routeTableType; } set { this._routeTableType = value; } } // Check to see if RouteTableType property is set internal bool IsSetRouteTableType() { return this._routeTableType != null; } } }