/* * 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 { /// /// The summary description of the cluster. /// public partial class ClusterSummary { private string _clusterArn; private string _id; private string _name; private int? _normalizedInstanceHours; private string _outpostArn; private ClusterStatus _status; /// /// Gets and sets the property ClusterArn. /// /// The Amazon Resource Name of the cluster. /// /// [AWSProperty(Min=20, Max=2048)] public string ClusterArn { get { return this._clusterArn; } set { this._clusterArn = value; } } // Check to see if ClusterArn property is set internal bool IsSetClusterArn() { return this._clusterArn != null; } /// /// Gets and sets the property Id. /// /// The unique identifier for the cluster. /// /// public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// /// Gets and sets the property Name. /// /// The name of the cluster. /// /// 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 NormalizedInstanceHours. /// /// An approximation of the cost of the cluster, represented in m1.small/hours. This value /// is incremented one time for every hour an m1.small instance runs. Larger instances /// are weighted more, so an Amazon EC2 instance that is roughly four times more expensive /// would result in the normalized instance hours being incremented by four. This result /// is only an approximation and does not reflect the actual billing rate. /// /// public int NormalizedInstanceHours { get { return this._normalizedInstanceHours.GetValueOrDefault(); } set { this._normalizedInstanceHours = value; } } // Check to see if NormalizedInstanceHours property is set internal bool IsSetNormalizedInstanceHours() { return this._normalizedInstanceHours.HasValue; } /// /// Gets and sets the property OutpostArn. /// /// The Amazon Resource Name (ARN) of the Outpost where the cluster is launched. /// /// [AWSProperty(Min=0, Max=2048)] public string OutpostArn { get { return this._outpostArn; } set { this._outpostArn = value; } } // Check to see if OutpostArn property is set internal bool IsSetOutpostArn() { return this._outpostArn != null; } /// /// Gets and sets the property Status. /// /// The details about the current status of the cluster. /// /// public ClusterStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }