/*
* 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 kinesisanalyticsv2-2018-05-23.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.KinesisAnalyticsV2.Model
{
///
/// Describes updates to the VPC configuration used by the application.
///
public partial class VpcConfigurationUpdate
{
private List _securityGroupIdUpdates = new List();
private List _subnetIdUpdates = new List();
private string _vpcConfigurationId;
///
/// Gets and sets the property SecurityGroupIdUpdates.
///
/// Describes updates to the array of SecurityGroup
/// IDs used by the VPC configuration.
///
///
[AWSProperty(Min=1, Max=5)]
public List SecurityGroupIdUpdates
{
get { return this._securityGroupIdUpdates; }
set { this._securityGroupIdUpdates = value; }
}
// Check to see if SecurityGroupIdUpdates property is set
internal bool IsSetSecurityGroupIdUpdates()
{
return this._securityGroupIdUpdates != null && this._securityGroupIdUpdates.Count > 0;
}
///
/// Gets and sets the property SubnetIdUpdates.
///
/// Describes updates to the array of Subnet
/// IDs used by the VPC configuration.
///
///
[AWSProperty(Min=1, Max=16)]
public List SubnetIdUpdates
{
get { return this._subnetIdUpdates; }
set { this._subnetIdUpdates = value; }
}
// Check to see if SubnetIdUpdates property is set
internal bool IsSetSubnetIdUpdates()
{
return this._subnetIdUpdates != null && this._subnetIdUpdates.Count > 0;
}
///
/// Gets and sets the property VpcConfigurationId.
///
/// Describes an update to the ID of the VPC configuration.
///
///
[AWSProperty(Required=true, Min=1, Max=50)]
public string VpcConfigurationId
{
get { return this._vpcConfigurationId; }
set { this._vpcConfigurationId = value; }
}
// Check to see if VpcConfigurationId property is set
internal bool IsSetVpcConfigurationId()
{
return this._vpcConfigurationId != null;
}
}
}