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>
44 template <
typename GameSessionIdT = Aws::String>
46 m_gameSessionIdHasBeenSet =
true;
47 m_gameSessionId = std::forward<GameSessionIdT>(value);
49 template <
typename GameSessionIdT = Aws::String>
62 template <
typename PlayerIdsT = Aws::Vector<Aws::String>>
64 m_playerIdsHasBeenSet =
true;
65 m_playerIds = std::forward<PlayerIdsT>(value);
67 template <
typename PlayerIdsT = Aws::Vector<Aws::String>>
72 template <
typename PlayerIdsT = Aws::String>
74 m_playerIdsHasBeenSet =
true;
75 m_playerIds.emplace_back(std::forward<PlayerIdsT>(value));
90 template <
typename PlayerDataMapT = Aws::Map<Aws::String, Aws::String>>
92 m_playerDataMapHasBeenSet =
true;
93 m_playerDataMap = std::forward<PlayerDataMapT>(value);
95 template <
typename PlayerDataMapT = Aws::Map<Aws::String, Aws::String>>
100 template <
typename PlayerDataMapKeyT = Aws::String,
typename PlayerDataMapValueT = Aws::String>
102 m_playerDataMapHasBeenSet =
true;
103 m_playerDataMap.emplace(std::forward<PlayerDataMapKeyT>(key), std::forward<PlayerDataMapValueT>(value));
113 bool m_gameSessionIdHasBeenSet =
false;
114 bool m_playerIdsHasBeenSet =
false;
115 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