7#include <aws/crt/cbor/Cbor.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9#include <aws/gamelift/model/GameSession.h>
10#include <aws/gamelift/model/ProtectionPolicy.h>
32 AWS_GAMELIFT_API
GameSessionDetail(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
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;
77 bool m_gameSessionHasBeenSet =
false;
78 bool m_protectionPolicyHasBeenSet =
false;
GameSessionDetail & WithProtectionPolicy(ProtectionPolicy value)
GameSessionDetail & WithGameSession(GameSessionT &&value)
ProtectionPolicy GetProtectionPolicy() const
AWS_GAMELIFT_API GameSessionDetail(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetGameSession(GameSessionT &&value)
bool ProtectionPolicyHasBeenSet() const
AWS_GAMELIFT_API GameSessionDetail()=default
const GameSession & GetGameSession() const
void SetProtectionPolicy(ProtectionPolicy value)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool GameSessionHasBeenSet() const
AWS_GAMELIFT_API GameSessionDetail & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)