/** * 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 UpdateGameSessionResult { public: UpdateGameSessionResult(); UpdateGameSessionResult(const Aws::AmazonWebServiceResult& result); UpdateGameSessionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The updated game session metadata.

*/ inline const GameSession& GetGameSession() const{ return m_gameSession; } /** *

The updated game session metadata.

*/ inline void SetGameSession(const GameSession& value) { m_gameSession = value; } /** *

The updated game session metadata.

*/ inline void SetGameSession(GameSession&& value) { m_gameSession = std::move(value); } /** *

The updated game session metadata.

*/ inline UpdateGameSessionResult& WithGameSession(const GameSession& value) { SetGameSession(value); return *this;} /** *

The updated game session metadata.

*/ inline UpdateGameSessionResult& WithGameSession(GameSession&& value) { SetGameSession(std::move(value)); return *this;} private: GameSession m_gameSession; }; } // namespace Model } // namespace GameLift } // namespace Aws