/*
* 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
{
///
/// With Amazon EMR release version 4.0 and later, the only accepted parameter is the
/// application name. To pass arguments to applications, you use configuration classifications
/// specified using configuration JSON objects. For more information, see Configuring
/// Applications.
///
///
///
/// With earlier Amazon EMR releases, the application is any Amazon or third-party software
/// that you can add to the cluster. This structure contains a list of strings that indicates
/// the software to use with the cluster and accepts a user argument list. Amazon EMR
/// accepts and forwards the argument list to the corresponding installation script as
/// bootstrap action argument.
///
///
public partial class Application
{
private Dictionary _additionalInfo = new Dictionary();
private List _args = new List();
private string _name;
private string _version;
///
/// Gets and sets the property AdditionalInfo.
///
/// This option is for advanced users only. This is meta information about third-party
/// applications that third-party vendors use for testing purposes.
///
///
public Dictionary AdditionalInfo
{
get { return this._additionalInfo; }
set { this._additionalInfo = value; }
}
// Check to see if AdditionalInfo property is set
internal bool IsSetAdditionalInfo()
{
return this._additionalInfo != null && this._additionalInfo.Count > 0;
}
///
/// Gets and sets the property Args.
///
/// Arguments for Amazon EMR to pass to the application.
///
///
public List Args
{
get { return this._args; }
set { this._args = value; }
}
// Check to see if Args property is set
internal bool IsSetArgs()
{
return this._args != null && this._args.Count > 0;
}
///
/// Gets and sets the property Name.
///
/// The name of the application.
///
///
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Version.
///
/// The version of the application.
///
///
public string Version
{
get { return this._version; }
set { this._version = value; }
}
// Check to see if Version property is set
internal bool IsSetVersion()
{
return this._version != null;
}
}
}