/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input for a request action.See Also:
AWS
* API Reference
A unique identifier for the game session to add players to.
*/ inline const Aws::String& GetGameSessionId() const{ return m_gameSessionId; } /** *A unique identifier for the game session to add players to.
*/ inline bool GameSessionIdHasBeenSet() const { return m_gameSessionIdHasBeenSet; } /** *A unique identifier for the game session to add players to.
*/ inline void SetGameSessionId(const Aws::String& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = value; } /** *A unique identifier for the game session to add players to.
*/ inline void SetGameSessionId(Aws::String&& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = std::move(value); } /** *A unique identifier for the game session to add players to.
*/ inline void SetGameSessionId(const char* value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId.assign(value); } /** *A unique identifier for the game session to add players to.
*/ inline CreatePlayerSessionsRequest& WithGameSessionId(const Aws::String& value) { SetGameSessionId(value); return *this;} /** *A unique identifier for the game session to add players to.
*/ inline CreatePlayerSessionsRequest& WithGameSessionId(Aws::String&& value) { SetGameSessionId(std::move(value)); return *this;} /** *A unique identifier for the game session to add players to.
*/ inline CreatePlayerSessionsRequest& WithGameSessionId(const char* value) { SetGameSessionId(value); return *this;} /** *List of unique identifiers for the players to be added.
*/ inline const Aws::VectorList of unique identifiers for the players to be added.
*/ inline bool PlayerIdsHasBeenSet() const { return m_playerIdsHasBeenSet; } /** *List of unique identifiers for the players to be added.
*/ inline void SetPlayerIds(const Aws::VectorList of unique identifiers for the players to be added.
*/ inline void SetPlayerIds(Aws::VectorList of unique identifiers for the players to be added.
*/ inline CreatePlayerSessionsRequest& WithPlayerIds(const Aws::VectorList of unique identifiers for the players to be added.
*/ inline CreatePlayerSessionsRequest& WithPlayerIds(Aws::VectorList of unique identifiers for the players to be added.
*/ inline CreatePlayerSessionsRequest& AddPlayerIds(const Aws::String& value) { m_playerIdsHasBeenSet = true; m_playerIds.push_back(value); return *this; } /** *List of unique identifiers for the players to be added.
*/ inline CreatePlayerSessionsRequest& AddPlayerIds(Aws::String&& value) { m_playerIdsHasBeenSet = true; m_playerIds.push_back(std::move(value)); return *this; } /** *List of unique identifiers for the players to be added.
*/ inline CreatePlayerSessionsRequest& AddPlayerIds(const char* value) { m_playerIdsHasBeenSet = true; m_playerIds.push_back(value); return *this; } /** *Map of string pairs, each specifying a player ID and a set of
* developer-defined information related to the player. Amazon GameLift does not
* use this data, so it can be formatted as needed for use in the game. Player data
* strings for player IDs not included in the PlayerIds parameter are
* ignored.
Map of string pairs, each specifying a player ID and a set of
* developer-defined information related to the player. Amazon GameLift does not
* use this data, so it can be formatted as needed for use in the game. Player data
* strings for player IDs not included in the PlayerIds parameter are
* ignored.
Map of string pairs, each specifying a player ID and a set of
* developer-defined information related to the player. Amazon GameLift does not
* use this data, so it can be formatted as needed for use in the game. Player data
* strings for player IDs not included in the PlayerIds parameter are
* ignored.
Map of string pairs, each specifying a player ID and a set of
* developer-defined information related to the player. Amazon GameLift does not
* use this data, so it can be formatted as needed for use in the game. Player data
* strings for player IDs not included in the PlayerIds parameter are
* ignored.
Map of string pairs, each specifying a player ID and a set of
* developer-defined information related to the player. Amazon GameLift does not
* use this data, so it can be formatted as needed for use in the game. Player data
* strings for player IDs not included in the PlayerIds parameter are
* ignored.
Map of string pairs, each specifying a player ID and a set of
* developer-defined information related to the player. Amazon GameLift does not
* use this data, so it can be formatted as needed for use in the game. Player data
* strings for player IDs not included in the PlayerIds parameter are
* ignored.
Map of string pairs, each specifying a player ID and a set of
* developer-defined information related to the player. Amazon GameLift does not
* use this data, so it can be formatted as needed for use in the game. Player data
* strings for player IDs not included in the PlayerIds parameter are
* ignored.
Map of string pairs, each specifying a player ID and a set of
* developer-defined information related to the player. Amazon GameLift does not
* use this data, so it can be formatted as needed for use in the game. Player data
* strings for player IDs not included in the PlayerIds parameter are
* ignored.
Map of string pairs, each specifying a player ID and a set of
* developer-defined information related to the player. Amazon GameLift does not
* use this data, so it can be formatted as needed for use in the game. Player data
* strings for player IDs not included in the PlayerIds parameter are
* ignored.
Map of string pairs, each specifying a player ID and a set of
* developer-defined information related to the player. Amazon GameLift does not
* use this data, so it can be formatted as needed for use in the game. Player data
* strings for player IDs not included in the PlayerIds parameter are
* ignored.
Map of string pairs, each specifying a player ID and a set of
* developer-defined information related to the player. Amazon GameLift does not
* use this data, so it can be formatted as needed for use in the game. Player data
* strings for player IDs not included in the PlayerIds parameter are
* ignored.
Map of string pairs, each specifying a player ID and a set of
* developer-defined information related to the player. Amazon GameLift does not
* use this data, so it can be formatted as needed for use in the game. Player data
* strings for player IDs not included in the PlayerIds parameter are
* ignored.
Map of string pairs, each specifying a player ID and a set of
* developer-defined information related to the player. Amazon GameLift does not
* use this data, so it can be formatted as needed for use in the game. Player data
* strings for player IDs not included in the PlayerIds parameter are
* ignored.