/*
* 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 gamelift-2015-10-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.GameLift.Model
{
///
/// Current resource capacity settings in a specified fleet or location. The location
/// value might refer to a fleet's remote location or its home Region.
///
///
///
/// Related actions
///
///
///
/// DescribeFleetCapacity
/// | DescribeFleetLocationCapacity
/// | UpdateFleetCapacity
///
///
///
public partial class FleetCapacity
{
private string _fleetArn;
private string _fleetId;
private EC2InstanceCounts _instanceCounts;
private EC2InstanceType _instanceType;
private string _location;
///
/// Gets and sets the property FleetArn.
///
/// The Amazon Resource Name (ARN)
/// that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs
/// are unique across all Regions. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.
///
///
public string FleetArn
{
get { return this._fleetArn; }
set { this._fleetArn = value; }
}
// Check to see if FleetArn property is set
internal bool IsSetFleetArn()
{
return this._fleetArn != null;
}
///
/// Gets and sets the property FleetId.
///
/// A unique identifier for the fleet associated with the location.
///
///
public string FleetId
{
get { return this._fleetId; }
set { this._fleetId = value; }
}
// Check to see if FleetId property is set
internal bool IsSetFleetId()
{
return this._fleetId != null;
}
///
/// Gets and sets the property InstanceCounts.
///
public EC2InstanceCounts InstanceCounts
{
get { return this._instanceCounts; }
set { this._instanceCounts = value; }
}
// Check to see if InstanceCounts property is set
internal bool IsSetInstanceCounts()
{
return this._instanceCounts != null;
}
///
/// Gets and sets the property InstanceType.
///
/// The Amazon EC2 instance type that is used for all instances in a fleet. The instance
/// type determines the computing resources in use, including CPU, memory, storage, and
/// networking capacity. See Amazon
/// Elastic Compute Cloud Instance Types for detailed descriptions.
///
///
public EC2InstanceType InstanceType
{
get { return this._instanceType; }
set { this._instanceType = value; }
}
// Check to see if InstanceType property is set
internal bool IsSetInstanceType()
{
return this._instanceType != null;
}
///
/// Gets and sets the property Location.
///
/// The fleet location for the instance count information, expressed as an Amazon Web
/// Services Region code, such as us-west-2
.
///
///
[AWSProperty(Min=1, Max=64)]
public string Location
{
get { return this._location; }
set { this._location = value; }
}
// Check to see if Location property is set
internal bool IsSetLocation()
{
return this._location != null;
}
}
}