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

The newly created game server group object, including the new ARN value for * the GameLift FleetIQ game server group and the object's status. The EC2 Auto * Scaling group ARN is initially null, since the group has not yet been created. * This value is added once the game server group status reaches ACTIVE.

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

The newly created game server group object, including the new ARN value for * the GameLift FleetIQ game server group and the object's status. The EC2 Auto * Scaling group ARN is initially null, since the group has not yet been created. * This value is added once the game server group status reaches ACTIVE.

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

The newly created game server group object, including the new ARN value for * the GameLift FleetIQ game server group and the object's status. The EC2 Auto * Scaling group ARN is initially null, since the group has not yet been created. * This value is added once the game server group status reaches ACTIVE.

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

The newly created game server group object, including the new ARN value for * the GameLift FleetIQ game server group and the object's status. The EC2 Auto * Scaling group ARN is initially null, since the group has not yet been created. * This value is added once the game server group status reaches ACTIVE.

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

The newly created game server group object, including the new ARN value for * the GameLift FleetIQ game server group and the object's status. The EC2 Auto * Scaling group ARN is initially null, since the group has not yet been created. * This value is added once the game server group status reaches ACTIVE.

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