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

An object that describes the game server group resource, with the * SuspendedActions property updated to reflect the suspended activity.

*/ inline const GameServerGroup& GetGameServerGroup() const{ return m_gameServerGroup; } /** *

An object that describes the game server group resource, with the * SuspendedActions property updated to reflect the suspended activity.

*/ inline void SetGameServerGroup(const GameServerGroup& value) { m_gameServerGroup = value; } /** *

An object that describes the game server group resource, with the * SuspendedActions property updated to reflect the suspended activity.

*/ inline void SetGameServerGroup(GameServerGroup&& value) { m_gameServerGroup = std::move(value); } /** *

An object that describes the game server group resource, with the * SuspendedActions property updated to reflect the suspended activity.

*/ inline SuspendGameServerGroupResult& WithGameServerGroup(const GameServerGroup& value) { SetGameServerGroup(value); return *this;} /** *

An object that describes the game server group resource, with the * SuspendedActions property updated to reflect the suspended activity.

*/ inline SuspendGameServerGroupResult& WithGameServerGroup(GameServerGroup&& value) { SetGameServerGroup(std::move(value)); return *this;} private: GameServerGroup m_gameServerGroup; }; } // namespace Model } // namespace GameLift } // namespace Aws