/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GameLift { namespace Model { class UpdateGameSessionResult { public: AWS_GAMELIFT_API UpdateGameSessionResult(); AWS_GAMELIFT_API UpdateGameSessionResult(const Aws::AmazonWebServiceResult& result); AWS_GAMELIFT_API UpdateGameSessionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The updated game session properties.

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

The updated game session properties.

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

The updated game session properties.

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

The updated game session properties.

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

The updated game session properties.

*/ inline UpdateGameSessionResult& WithGameSession(GameSession&& value) { SetGameSession(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateGameSessionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateGameSessionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateGameSessionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: GameSession m_gameSession; Aws::String m_requestId; }; } // namespace Model } // namespace GameLift } // namespace Aws