/* * 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 comprehend-2017-11-27.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.Comprehend.Model { /// /// Configuration parameters for an optional private Virtual Private Cloud (VPC) containing /// the resources you are using for the job. For more information, see Amazon /// VPC. /// public partial class VpcConfig { private List _securityGroupIds = new List(); private List _subnets = new List(); /// /// Gets and sets the property SecurityGroupIds. /// /// The ID number for a security group on an instance of your private VPC. Security groups /// on your VPC function serve as a virtual firewall to control inbound and outbound traffic /// and provides security for the resources that you’ll be accessing on the VPC. This /// ID number is preceded by "sg-", for instance: "sg-03b388029b0a285ea". For more information, /// see Security /// Groups for your VPC. /// /// [AWSProperty(Required=true, Min=1, Max=5)] public List SecurityGroupIds { get { return this._securityGroupIds; } set { this._securityGroupIds = value; } } // Check to see if SecurityGroupIds property is set internal bool IsSetSecurityGroupIds() { return this._securityGroupIds != null && this._securityGroupIds.Count > 0; } /// /// Gets and sets the property Subnets. /// /// The ID for each subnet being used in your private VPC. This subnet is a subset of /// the a range of IPv4 addresses used by the VPC and is specific to a given availability /// zone in the VPC’s Region. This ID number is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". /// For more information, see VPCs /// and Subnets. /// /// [AWSProperty(Required=true, Min=1, Max=16)] public List Subnets { get { return this._subnets; } set { this._subnets = value; } } // Check to see if Subnets property is set internal bool IsSetSubnets() { return this._subnets != null && this._subnets.Count > 0; } } }