/* * 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 { /// /// Container for the parameters to the ListGameServers operation. /// This operation is used with the Amazon GameLift FleetIQ solution and game server /// groups. /// /// /// /// Retrieves information on all game servers that are currently active in a specified /// game server group. You can opt to sort the list by game server age. Use the pagination /// parameters to retrieve results in a set of sequential segments. /// /// /// /// Learn more /// /// /// /// Amazon /// GameLift FleetIQ Guide /// /// public partial class ListGameServersRequest : AmazonGameLiftRequest { private string _gameServerGroupName; private int? _limit; private string _nextToken; private SortOrder _sortOrder; /// /// Gets and sets the property GameServerGroupName. /// /// An identifier for the game server group to retrieve a list of game servers from. Use /// either the name or ARN value. /// /// [AWSProperty(Required=true, Min=1, Max=256)] public string GameServerGroupName { get { return this._gameServerGroupName; } set { this._gameServerGroupName = value; } } // Check to see if GameServerGroupName property is set internal bool IsSetGameServerGroupName() { return this._gameServerGroupName != null; } /// /// Gets and sets the property Limit. /// /// The maximum number of results to return. Use this parameter with NextToken /// to get results as a set of sequential pages. /// /// [AWSProperty(Min=1)] public int Limit { get { return this._limit.GetValueOrDefault(); } set { this._limit = value; } } // Check to see if Limit property is set internal bool IsSetLimit() { return this._limit.HasValue; } /// /// Gets and sets the property NextToken. /// /// A token that indicates the start of the next sequential page of results. Use the token /// that is returned with a previous call to this operation. To start at the beginning /// of the result set, do not specify a value. /// /// [AWSProperty(Min=1, Max=1024)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// /// Gets and sets the property SortOrder. /// /// Indicates how to sort the returned data based on game server registration timestamp. /// Use ASCENDING to retrieve oldest game servers first, or use DESCENDING /// to retrieve newest game servers first. If this parameter is left empty, game servers /// are returned in no particular order. /// /// public SortOrder SortOrder { get { return this._sortOrder; } set { this._sortOrder = value; } } // Check to see if SortOrder property is set internal bool IsSetSortOrder() { return this._sortOrder != null; } } }