/*
* 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
{
///
/// Container for the parameters to the DeleteApplicationVpcConfiguration operation.
/// Removes a VPC configuration from a Kinesis Data Analytics application.
///
public partial class DeleteApplicationVpcConfigurationRequest : AmazonKinesisAnalyticsV2Request
{
private string _applicationName;
private string _conditionalToken;
private long? _currentApplicationVersionId;
private string _vpcConfigurationId;
///
/// Gets and sets the property ApplicationName.
///
/// The name of an existing application.
///
///
[AWSProperty(Required=true, Min=1, Max=128)]
public string ApplicationName
{
get { return this._applicationName; }
set { this._applicationName = value; }
}
// Check to see if ApplicationName property is set
internal bool IsSetApplicationName()
{
return this._applicationName != null;
}
///
/// Gets and sets the property ConditionalToken.
///
/// A value you use to implement strong concurrency for application updates. You must
/// provide the CurrentApplicationVersionId
or the ConditionalToken
.
/// You get the application's current ConditionalToken
using DescribeApplication.
/// For better concurrency support, use the ConditionalToken
parameter instead
/// of CurrentApplicationVersionId
.
///
///
[AWSProperty(Min=1, Max=512)]
public string ConditionalToken
{
get { return this._conditionalToken; }
set { this._conditionalToken = value; }
}
// Check to see if ConditionalToken property is set
internal bool IsSetConditionalToken()
{
return this._conditionalToken != null;
}
///
/// Gets and sets the property CurrentApplicationVersionId.
///
/// The current application version ID. You must provide the CurrentApplicationVersionId
/// or the ConditionalToken
. You can retrieve the application version ID
/// using DescribeApplication. For better concurrency support, use the ConditionalToken
/// parameter instead of CurrentApplicationVersionId
.
///
///
[AWSProperty(Min=1, Max=999999999)]
public long CurrentApplicationVersionId
{
get { return this._currentApplicationVersionId.GetValueOrDefault(); }
set { this._currentApplicationVersionId = value; }
}
// Check to see if CurrentApplicationVersionId property is set
internal bool IsSetCurrentApplicationVersionId()
{
return this._currentApplicationVersionId.HasValue;
}
///
/// Gets and sets the property VpcConfigurationId.
///
/// The ID of the VPC configuration to delete.
///
///
[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;
}
}
}