7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/model/GameSession.h>
9#include <aws/gamelift/model/ProtectionPolicy.h>
48 template<
typename GameSessionT = GameSession>
49 void SetGameSession(GameSessionT&& value) { m_gameSessionHasBeenSet =
true; m_gameSession = std::forward<GameSessionT>(value); }
50 template<
typename GameSessionT = GameSession>
70 bool m_gameSessionHasBeenSet =
false;
73 bool m_protectionPolicyHasBeenSet =
false;
GameSessionDetail & WithProtectionPolicy(ProtectionPolicy value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
GameSessionDetail & WithGameSession(GameSessionT &&value)
AWS_GAMELIFT_API GameSessionDetail(Aws::Utils::Json::JsonView jsonValue)
ProtectionPolicy GetProtectionPolicy() const
void SetGameSession(GameSessionT &&value)
bool ProtectionPolicyHasBeenSet() const
AWS_GAMELIFT_API GameSessionDetail()=default
const GameSession & GetGameSession() const
void SetProtectionPolicy(ProtectionPolicy value)
AWS_GAMELIFT_API GameSessionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GameSessionHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue