7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/model/GameSession.h>
9#include <aws/gamelift/model/ProtectionPolicy.h>
42 template <
typename GameSessionT = GameSession>
44 m_gameSessionHasBeenSet =
true;
45 m_gameSession = std::forward<GameSessionT>(value);
47 template <
typename GameSessionT = GameSession>
65 m_protectionPolicyHasBeenSet =
true;
66 m_protectionPolicy = value;
75 bool m_gameSessionHasBeenSet =
false;
78 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