7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/gamelift/GameLiftRequest.h>
11#include <aws/gamelift/GameLift_EXPORTS.h>
41 template <
typename GameSessionIdT = Aws::String>
43 m_gameSessionIdHasBeenSet =
true;
44 m_gameSessionId = std::forward<GameSessionIdT>(value);
46 template <
typename GameSessionIdT = Aws::String>
59 template <
typename PlayerIdsT = Aws::Vector<Aws::String>>
61 m_playerIdsHasBeenSet =
true;
62 m_playerIds = std::forward<PlayerIdsT>(value);
64 template <
typename PlayerIdsT = Aws::Vector<Aws::String>>
69 template <
typename PlayerIdsT = Aws::String>
71 m_playerIdsHasBeenSet =
true;
72 m_playerIds.emplace_back(std::forward<PlayerIdsT>(value));
87 template <
typename PlayerDataMapT = Aws::Map<Aws::String, Aws::String>>
89 m_playerDataMapHasBeenSet =
true;
90 m_playerDataMap = std::forward<PlayerDataMapT>(value);
92 template <
typename PlayerDataMapT = Aws::Map<Aws::String, Aws::String>>
97 template <
typename PlayerDataMapKeyT = Aws::String,
typename PlayerDataMapValueT = Aws::String>
99 m_playerDataMapHasBeenSet =
true;
100 m_playerDataMap.emplace(std::forward<PlayerDataMapKeyT>(key), std::forward<PlayerDataMapValueT>(value));
110 bool m_gameSessionIdHasBeenSet =
false;
111 bool m_playerIdsHasBeenSet =
false;
112 bool m_playerDataMapHasBeenSet =
false;
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreatePlayerSessionsRequest & WithPlayerIds(PlayerIdsT &&value)
bool PlayerIdsHasBeenSet() const
CreatePlayerSessionsRequest & WithPlayerDataMap(PlayerDataMapT &&value)
AWS_GAMELIFT_API CreatePlayerSessionsRequest()=default
const Aws::Vector< Aws::String > & GetPlayerIds() const
const Aws::String & GetGameSessionId() const
virtual const char * GetServiceRequestName() const override
void SetGameSessionId(GameSessionIdT &&value)
CreatePlayerSessionsRequest & AddPlayerIds(PlayerIdsT &&value)
bool PlayerDataMapHasBeenSet() const
CreatePlayerSessionsRequest & AddPlayerDataMap(PlayerDataMapKeyT &&key, PlayerDataMapValueT &&value)
void SetPlayerIds(PlayerIdsT &&value)
void SetPlayerDataMap(PlayerDataMapT &&value)
bool GameSessionIdHasBeenSet() const
AWS_GAMELIFT_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetPlayerDataMap() const
CreatePlayerSessionsRequest & WithGameSessionId(GameSessionIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector