/*
* 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
{
///
/// Provides application summary information, including the application Amazon Resource
/// Name (ARN), name, and status.
///
public partial class ApplicationSummary
{
private string _applicationARN;
private ApplicationMode _applicationMode;
private string _applicationName;
private ApplicationStatus _applicationStatus;
private long? _applicationVersionId;
private RuntimeEnvironment _runtimeEnvironment;
///
/// Gets and sets the property ApplicationARN.
///
/// The ARN of the application.
///
///
[AWSProperty(Required=true, Min=1, Max=2048)]
public string ApplicationARN
{
get { return this._applicationARN; }
set { this._applicationARN = value; }
}
// Check to see if ApplicationARN property is set
internal bool IsSetApplicationARN()
{
return this._applicationARN != null;
}
///
/// Gets and sets the property ApplicationMode.
///
/// For a Kinesis Data Analytics for Apache Flink application, the mode is STREAMING
.
/// For a Kinesis Data Analytics Studio notebook, it is INTERACTIVE
.
///
///
public ApplicationMode ApplicationMode
{
get { return this._applicationMode; }
set { this._applicationMode = value; }
}
// Check to see if ApplicationMode property is set
internal bool IsSetApplicationMode()
{
return this._applicationMode != null;
}
///
/// Gets and sets the property ApplicationName.
///
/// The name of the 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 ApplicationStatus.
///
/// The status of the application.
///
///
[AWSProperty(Required=true)]
public ApplicationStatus ApplicationStatus
{
get { return this._applicationStatus; }
set { this._applicationStatus = value; }
}
// Check to see if ApplicationStatus property is set
internal bool IsSetApplicationStatus()
{
return this._applicationStatus != null;
}
///
/// Gets and sets the property ApplicationVersionId.
///
/// Provides the current application version.
///
///
[AWSProperty(Required=true, Min=1, Max=999999999)]
public long ApplicationVersionId
{
get { return this._applicationVersionId.GetValueOrDefault(); }
set { this._applicationVersionId = value; }
}
// Check to see if ApplicationVersionId property is set
internal bool IsSetApplicationVersionId()
{
return this._applicationVersionId.HasValue;
}
///
/// Gets and sets the property RuntimeEnvironment.
///
/// The runtime environment for the application.
///
///
[AWSProperty(Required=true)]
public RuntimeEnvironment RuntimeEnvironment
{
get { return this._runtimeEnvironment; }
set { this._runtimeEnvironment = value; }
}
// Check to see if RuntimeEnvironment property is set
internal bool IsSetRuntimeEnvironment()
{
return this._runtimeEnvironment != null;
}
}
}