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

Object that describes the newly claimed game server resource.

*/ inline const GameServer& GetGameServer() const{ return m_gameServer; } /** *

Object that describes the newly claimed game server resource.

*/ inline void SetGameServer(const GameServer& value) { m_gameServer = value; } /** *

Object that describes the newly claimed game server resource.

*/ inline void SetGameServer(GameServer&& value) { m_gameServer = std::move(value); } /** *

Object that describes the newly claimed game server resource.

*/ inline ClaimGameServerResult& WithGameServer(const GameServer& value) { SetGameServer(value); return *this;} /** *

Object that describes the newly claimed game server resource.

*/ inline ClaimGameServerResult& WithGameServer(GameServer&& value) { SetGameServer(std::move(value)); return *this;} private: GameServer m_gameServer; }; } // namespace Model } // namespace GameLift } // namespace Aws