Files
DedicatedServerCourse/Plugins/GameLiftPlugin/Source/AWSSDK/Include/aws/gamelift/model/UpdateGameSessionResult.h
2026-02-28 12:32:28 -05:00

67 lines
2.2 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/gamelift/GameLift_EXPORTS.h>
#include <aws/gamelift/model/GameSession.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
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<Aws::Utils::Json::JsonValue>& result);
AWS_GAMELIFT_API UpdateGameSessionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
///@{
/**
* <p>The updated game session properties.</p>
*/
inline const GameSession& GetGameSession() const{ return m_gameSession; }
inline void SetGameSession(const GameSession& value) { m_gameSession = value; }
inline void SetGameSession(GameSession&& value) { m_gameSession = std::move(value); }
inline UpdateGameSessionResult& WithGameSession(const GameSession& value) { SetGameSession(value); return *this;}
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