/* * 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 { /// <summary> /// Describes the Network Access Scope content. /// </summary> public partial class NetworkInsightsAccessScopeContent { private List<AccessScopePath> _excludePaths = new List<AccessScopePath>(); private List<AccessScopePath> _matchPaths = new List<AccessScopePath>(); private string _networkInsightsAccessScopeId; /// <summary> /// Gets and sets the property ExcludePaths. /// <para> /// The paths to exclude. /// </para> /// </summary> public List<AccessScopePath> ExcludePaths { get { return this._excludePaths; } set { this._excludePaths = value; } } // Check to see if ExcludePaths property is set internal bool IsSetExcludePaths() { return this._excludePaths != null && this._excludePaths.Count > 0; } /// <summary> /// Gets and sets the property MatchPaths. /// <para> /// The paths to match. /// </para> /// </summary> public List<AccessScopePath> MatchPaths { get { return this._matchPaths; } set { this._matchPaths = value; } } // Check to see if MatchPaths property is set internal bool IsSetMatchPaths() { return this._matchPaths != null && this._matchPaths.Count > 0; } /// <summary> /// Gets and sets the property NetworkInsightsAccessScopeId. /// <para> /// The ID of the Network Access Scope. /// </para> /// </summary> public string NetworkInsightsAccessScopeId { get { return this._networkInsightsAccessScopeId; } set { this._networkInsightsAccessScopeId = value; } } // Check to see if NetworkInsightsAccessScopeId property is set internal bool IsSetNetworkInsightsAccessScopeId() { return this._networkInsightsAccessScopeId != null; } } }