7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
45 template<
typename GameSessionIdT = Aws::String>
46 void SetGameSessionId(GameSessionIdT&& value) { m_gameSessionIdHasBeenSet =
true; m_gameSessionId = std::forward<GameSessionIdT>(value); }
47 template<
typename GameSessionIdT = Aws::String>
57 template<
typename PlayerIdsT = Aws::Vector<Aws::String>>
58 void SetPlayerIds(PlayerIdsT&& value) { m_playerIdsHasBeenSet =
true; m_playerIds = std::forward<PlayerIdsT>(value); }
59 template<
typename PlayerIdsT = Aws::Vector<Aws::String>>
61 template<
typename PlayerIdsT = Aws::String>
75 template<
typename PlayerDataMapT = Aws::Map<Aws::String, Aws::String>>
76 void SetPlayerDataMap(PlayerDataMapT&& value) { m_playerDataMapHasBeenSet =
true; m_playerDataMap = std::forward<PlayerDataMapT>(value); }
77 template<
typename PlayerDataMapT = Aws::Map<Aws::String, Aws::String>>
79 template<
typename PlayerDataMapKeyT = Aws::String,
typename PlayerDataMapValueT = Aws::String>
81 m_playerDataMapHasBeenSet =
true; m_playerDataMap.emplace(std::forward<PlayerDataMapKeyT>(key), std::forward<PlayerDataMapValueT>(value));
return *
this;
87 bool m_gameSessionIdHasBeenSet =
false;
90 bool m_playerIdsHasBeenSet =
false;
93 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