/*
* 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 elasticmapreduce-2009-03-31.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.ElasticMapReduce.Model
{
///
/// This is the response object from the DescribeReleaseLabel operation.
///
public partial class DescribeReleaseLabelResponse : AmazonWebServiceResponse
{
private List _applications = new List();
private List _availableOSReleases = new List();
private string _nextToken;
private string _releaseLabel;
///
/// Gets and sets the property Applications.
///
/// The list of applications available for the target release label. Name
/// is the name of the application. Version
is the concise version of the
/// application.
///
///
public List Applications
{
get { return this._applications; }
set { this._applications = value; }
}
// Check to see if Applications property is set
internal bool IsSetApplications()
{
return this._applications != null && this._applications.Count > 0;
}
///
/// Gets and sets the property AvailableOSReleases.
///
/// The list of available Amazon Linux release versions for an Amazon EMR release. Contains
/// a Label field that is formatted as shown in
/// Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
///
///
public List AvailableOSReleases
{
get { return this._availableOSReleases; }
set { this._availableOSReleases = value; }
}
// Check to see if AvailableOSReleases property is set
internal bool IsSetAvailableOSReleases()
{
return this._availableOSReleases != null && this._availableOSReleases.Count > 0;
}
///
/// Gets and sets the property NextToken.
///
/// The pagination token. Reserved for future use. Currently set to null.
///
///
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
///
/// Gets and sets the property ReleaseLabel.
///
/// The target release label described in the response.
///
///
public string ReleaseLabel
{
get { return this._releaseLabel; }
set { this._releaseLabel = value; }
}
// Check to see if ReleaseLabel property is set
internal bool IsSetReleaseLabel()
{
return this._releaseLabel != null;
}
}
}