/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GameLift { namespace Model { /** *

Represents the returned data in response to a request action.

See * Also:

AWS * API Reference

*/ class AWS_GAMELIFT_API CreatePlayerSessionResult { public: CreatePlayerSessionResult(); CreatePlayerSessionResult(const Aws::AmazonWebServiceResult& result); CreatePlayerSessionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Object that describes the newly created player session record.

*/ inline const PlayerSession& GetPlayerSession() const{ return m_playerSession; } /** *

Object that describes the newly created player session record.

*/ inline void SetPlayerSession(const PlayerSession& value) { m_playerSession = value; } /** *

Object that describes the newly created player session record.

*/ inline void SetPlayerSession(PlayerSession&& value) { m_playerSession = std::move(value); } /** *

Object that describes the newly created player session record.

*/ inline CreatePlayerSessionResult& WithPlayerSession(const PlayerSession& value) { SetPlayerSession(value); return *this;} /** *

Object that describes the newly created player session record.

*/ inline CreatePlayerSessionResult& WithPlayerSession(PlayerSession&& value) { SetPlayerSession(std::move(value)); return *this;} private: PlayerSession m_playerSession; }; } // namespace Model } // namespace GameLift } // namespace Aws