/*
* 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 gamesparks-2021-08-17.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.GameSparks.Model
{
///
/// Container for the parameters to the DisconnectPlayer operation.
/// Disconnects a player from the game runtime.
///
///
///
/// If a player has multiple connections, this operation attempts to close all of them.
///
///
///
public partial class DisconnectPlayerRequest : AmazonGameSparksRequest
{
private string _gameName;
private string _playerId;
private string _stageName;
///
/// Gets and sets the property GameName.
///
/// The name of the game.
///
///
[AWSProperty(Required=true, Min=1, Max=36)]
public string GameName
{
get { return this._gameName; }
set { this._gameName = value; }
}
// Check to see if GameName property is set
internal bool IsSetGameName()
{
return this._gameName != null;
}
///
/// Gets and sets the property PlayerId.
///
/// The unique identifier representing a player.
///
///
[AWSProperty(Required=true, Min=1, Max=44)]
public string PlayerId
{
get { return this._playerId; }
set { this._playerId = value; }
}
// Check to see if PlayerId property is set
internal bool IsSetPlayerId()
{
return this._playerId != null;
}
///
/// Gets and sets the property StageName.
///
/// The name of the stage.
///
///
[AWSProperty(Required=true, Min=1, Max=36)]
public string StageName
{
get { return this._stageName; }
set { this._stageName = value; }
}
// Check to see if StageName property is set
internal bool IsSetStageName()
{
return this._stageName != null;
}
}
}