/* * 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 ListFleets operation. /// Retrieves a collection of fleet resources in an Amazon Web Services Region. You can /// call this operation to get fleets in a previously selected default Region (see https://docs.aws.amazon.com/credref/latest/refdocs/setting-global-region.htmlor /// specify a Region in your request. You can filter the result set to find only those /// fleets that are deployed with a specific build or script. For fleets that have multiple /// locations, this operation retrieves fleets based on their home Region only. /// /// /// /// This operation can be used in the following ways: /// /// /// /// Use the pagination parameters to retrieve results as a set of sequential pages. /// /// /// /// If successful, a list of fleet IDs that match the request parameters is returned. /// A NextToken value is also returned if there are more result pages to retrieve. /// /// /// /// Fleet resources are not listed in a particular order. /// /// /// /// Learn more /// /// /// /// Setting /// up Amazon GameLift fleets /// /// public partial class ListFleetsRequest : AmazonGameLiftRequest { private string _buildId; private int? _limit; private string _nextToken; private string _scriptId; /// /// Gets and sets the property BuildId. /// /// A unique identifier for the build to request fleets for. Use this parameter to return /// only fleets using a specified build. Use either the build ID or ARN value. /// /// public string BuildId { get { return this._buildId; } set { this._buildId = value; } } // Check to see if BuildId property is set internal bool IsSetBuildId() { return this._buildId != 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 ScriptId. /// /// A unique identifier for the Realtime script to request fleets for. Use this parameter /// to return only fleets using a specified script. Use either the script ID or ARN value. /// /// public string ScriptId { get { return this._scriptId; } set { this._scriptId = value; } } // Check to see if ScriptId property is set internal bool IsSetScriptId() { return this._scriptId != null; } } }