/* * 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 appstream-2016-12-01.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.AppStream.Model { /// /// Describes the capacity status for a fleet. /// public partial class ComputeCapacityStatus { private int? _available; private int? _desired; private int? _inUse; private int? _running; /// /// Gets and sets the property Available. /// /// The number of currently available instances that can be used to stream sessions. /// /// public int Available { get { return this._available.GetValueOrDefault(); } set { this._available = value; } } // Check to see if Available property is set internal bool IsSetAvailable() { return this._available.HasValue; } /// /// Gets and sets the property Desired. /// /// The desired number of streaming instances. /// /// [AWSProperty(Required=true)] public int Desired { get { return this._desired.GetValueOrDefault(); } set { this._desired = value; } } // Check to see if Desired property is set internal bool IsSetDesired() { return this._desired.HasValue; } /// /// Gets and sets the property InUse. /// /// The number of instances in use for streaming. /// /// public int InUse { get { return this._inUse.GetValueOrDefault(); } set { this._inUse = value; } } // Check to see if InUse property is set internal bool IsSetInUse() { return this._inUse.HasValue; } /// /// Gets and sets the property Running. /// /// The total number of simultaneous streaming instances that are running. /// /// public int Running { get { return this._running.GetValueOrDefault(); } set { this._running = value; } } // Check to see if Running property is set internal bool IsSetRunning() { return this._running.HasValue; } } }