/*
* 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 opsworks-2013-02-18.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.OpsWorks.Model
{
///
/// Describes how many instances a stack has for each status.
///
public partial class InstancesCount
{
private int? _assigning;
private int? _booting;
private int? _connectionLost;
private int? _deregistering;
private int? _online;
private int? _pending;
private int? _rebooting;
private int? _registered;
private int? _registering;
private int? _requested;
private int? _runningSetup;
private int? _setupFailed;
private int? _shuttingDown;
private int? _startFailed;
private int? _stopFailed;
private int? _stopped;
private int? _stopping;
private int? _terminated;
private int? _terminating;
private int? _unassigning;
///
/// Gets and sets the property Assigning.
///
/// The number of instances in the Assigning state.
///
///
public int Assigning
{
get { return this._assigning.GetValueOrDefault(); }
set { this._assigning = value; }
}
// Check to see if Assigning property is set
internal bool IsSetAssigning()
{
return this._assigning.HasValue;
}
///
/// Gets and sets the property Booting.
///
/// The number of instances with booting
status.
///
///
public int Booting
{
get { return this._booting.GetValueOrDefault(); }
set { this._booting = value; }
}
// Check to see if Booting property is set
internal bool IsSetBooting()
{
return this._booting.HasValue;
}
///
/// Gets and sets the property ConnectionLost.
///
/// The number of instances with connection_lost
status.
///
///
public int ConnectionLost
{
get { return this._connectionLost.GetValueOrDefault(); }
set { this._connectionLost = value; }
}
// Check to see if ConnectionLost property is set
internal bool IsSetConnectionLost()
{
return this._connectionLost.HasValue;
}
///
/// Gets and sets the property Deregistering.
///
/// The number of instances in the Deregistering state.
///
///
public int Deregistering
{
get { return this._deregistering.GetValueOrDefault(); }
set { this._deregistering = value; }
}
// Check to see if Deregistering property is set
internal bool IsSetDeregistering()
{
return this._deregistering.HasValue;
}
///
/// Gets and sets the property Online.
///
/// The number of instances with online
status.
///
///
public int Online
{
get { return this._online.GetValueOrDefault(); }
set { this._online = value; }
}
// Check to see if Online property is set
internal bool IsSetOnline()
{
return this._online.HasValue;
}
///
/// Gets and sets the property Pending.
///
/// The number of instances with pending
status.
///
///
public int Pending
{
get { return this._pending.GetValueOrDefault(); }
set { this._pending = value; }
}
// Check to see if Pending property is set
internal bool IsSetPending()
{
return this._pending.HasValue;
}
///
/// Gets and sets the property Rebooting.
///
/// The number of instances with rebooting
status.
///
///
public int Rebooting
{
get { return this._rebooting.GetValueOrDefault(); }
set { this._rebooting = value; }
}
// Check to see if Rebooting property is set
internal bool IsSetRebooting()
{
return this._rebooting.HasValue;
}
///
/// Gets and sets the property Registered.
///
/// The number of instances in the Registered state.
///
///
public int Registered
{
get { return this._registered.GetValueOrDefault(); }
set { this._registered = value; }
}
// Check to see if Registered property is set
internal bool IsSetRegistered()
{
return this._registered.HasValue;
}
///
/// Gets and sets the property Registering.
///
/// The number of instances in the Registering state.
///
///
public int Registering
{
get { return this._registering.GetValueOrDefault(); }
set { this._registering = value; }
}
// Check to see if Registering property is set
internal bool IsSetRegistering()
{
return this._registering.HasValue;
}
///
/// Gets and sets the property Requested.
///
/// The number of instances with requested
status.
///
///
public int Requested
{
get { return this._requested.GetValueOrDefault(); }
set { this._requested = value; }
}
// Check to see if Requested property is set
internal bool IsSetRequested()
{
return this._requested.HasValue;
}
///
/// Gets and sets the property RunningSetup.
///
/// The number of instances with running_setup
status.
///
///
public int RunningSetup
{
get { return this._runningSetup.GetValueOrDefault(); }
set { this._runningSetup = value; }
}
// Check to see if RunningSetup property is set
internal bool IsSetRunningSetup()
{
return this._runningSetup.HasValue;
}
///
/// Gets and sets the property SetupFailed.
///
/// The number of instances with setup_failed
status.
///
///
public int SetupFailed
{
get { return this._setupFailed.GetValueOrDefault(); }
set { this._setupFailed = value; }
}
// Check to see if SetupFailed property is set
internal bool IsSetSetupFailed()
{
return this._setupFailed.HasValue;
}
///
/// Gets and sets the property ShuttingDown.
///
/// The number of instances with shutting_down
status.
///
///
public int ShuttingDown
{
get { return this._shuttingDown.GetValueOrDefault(); }
set { this._shuttingDown = value; }
}
// Check to see if ShuttingDown property is set
internal bool IsSetShuttingDown()
{
return this._shuttingDown.HasValue;
}
///
/// Gets and sets the property StartFailed.
///
/// The number of instances with start_failed
status.
///
///
public int StartFailed
{
get { return this._startFailed.GetValueOrDefault(); }
set { this._startFailed = value; }
}
// Check to see if StartFailed property is set
internal bool IsSetStartFailed()
{
return this._startFailed.HasValue;
}
///
/// Gets and sets the property StopFailed.
///
/// The number of instances with stop_failed
status.
///
///
public int StopFailed
{
get { return this._stopFailed.GetValueOrDefault(); }
set { this._stopFailed = value; }
}
// Check to see if StopFailed property is set
internal bool IsSetStopFailed()
{
return this._stopFailed.HasValue;
}
///
/// Gets and sets the property Stopped.
///
/// The number of instances with stopped
status.
///
///
public int Stopped
{
get { return this._stopped.GetValueOrDefault(); }
set { this._stopped = value; }
}
// Check to see if Stopped property is set
internal bool IsSetStopped()
{
return this._stopped.HasValue;
}
///
/// Gets and sets the property Stopping.
///
/// The number of instances with stopping
status.
///
///
public int Stopping
{
get { return this._stopping.GetValueOrDefault(); }
set { this._stopping = value; }
}
// Check to see if Stopping property is set
internal bool IsSetStopping()
{
return this._stopping.HasValue;
}
///
/// Gets and sets the property Terminated.
///
/// The number of instances with terminated
status.
///
///
public int Terminated
{
get { return this._terminated.GetValueOrDefault(); }
set { this._terminated = value; }
}
// Check to see if Terminated property is set
internal bool IsSetTerminated()
{
return this._terminated.HasValue;
}
///
/// Gets and sets the property Terminating.
///
/// The number of instances with terminating
status.
///
///
public int Terminating
{
get { return this._terminating.GetValueOrDefault(); }
set { this._terminating = value; }
}
// Check to see if Terminating property is set
internal bool IsSetTerminating()
{
return this._terminating.HasValue;
}
///
/// Gets and sets the property Unassigning.
///
/// The number of instances in the Unassigning state.
///
///
public int Unassigning
{
get { return this._unassigning.GetValueOrDefault(); }
set { this._unassigning = value; }
}
// Check to see if Unassigning property is set
internal bool IsSetUnassigning()
{
return this._unassigning.HasValue;
}
}
}