/*
* 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 robomaker-2018-06-29.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.RoboMaker.Model
{
///
/// VPC configuration associated with your simulation job.
///
public partial class VPCConfigResponse
{
private bool? _assignPublicIp;
private List _securityGroups = new List();
private List _subnets = new List();
private string _vpcId;
///
/// Gets and sets the property AssignPublicIp.
///
/// A boolean indicating if a public IP was assigned.
///
///
public bool AssignPublicIp
{
get { return this._assignPublicIp.GetValueOrDefault(); }
set { this._assignPublicIp = value; }
}
// Check to see if AssignPublicIp property is set
internal bool IsSetAssignPublicIp()
{
return this._assignPublicIp.HasValue;
}
///
/// Gets and sets the property SecurityGroups.
///
/// A list of security group IDs associated with the simulation job.
///
///
[AWSProperty(Min=1, Max=5)]
public List SecurityGroups
{
get { return this._securityGroups; }
set { this._securityGroups = value; }
}
// Check to see if SecurityGroups property is set
internal bool IsSetSecurityGroups()
{
return this._securityGroups != null && this._securityGroups.Count > 0;
}
///
/// Gets and sets the property Subnets.
///
/// A list of subnet IDs associated with the simulation job.
///
///
[AWSProperty(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;
}
///
/// Gets and sets the property VpcId.
///
/// The VPC ID associated with your simulation job.
///
///
[AWSProperty(Min=0, Max=1024)]
public string VpcId
{
get { return this._vpcId; }
set { this._vpcId = value; }
}
// Check to see if VpcId property is set
internal bool IsSetVpcId()
{
return this._vpcId != null;
}
}
}