/*
* 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 ListBuilds operation.
/// Retrieves build resources for all builds associated with the Amazon Web Services account
/// in use. You can limit results to builds that are in a specific status by using the
/// Status
parameter. Use the pagination parameters to retrieve results in
/// a set of sequential pages.
///
///
///
/// Build resources are not listed in any particular order.
///
///
///
/// Learn more
///
///
///
///
/// Upload a Custom Server Build
///
///
///
/// All
/// APIs by task
///
///
public partial class ListBuildsRequest : AmazonGameLiftRequest
{
private int? _limit;
private string _nextToken;
private BuildStatus _status;
///
/// 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, don't specify a value.
///
///
[AWSProperty(Min=1)]
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 Status.
///
/// Build status to filter results by. To retrieve all builds, leave this parameter empty.
///
///
///
/// Possible build statuses include the following:
///
/// -
///
/// INITIALIZED -- A new build has been defined, but no files have been uploaded.
/// You cannot create fleets for builds that are in this status. When a build is successfully
/// created, the build status is set to this value.
///
///
-
///
/// READY -- The game build has been successfully uploaded. You can now create
/// new fleets for this build.
///
///
-
///
/// FAILED -- The game build upload failed. You cannot create new fleets for this
/// build.
///
///
///
public BuildStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}