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

The newly created game server group object, including the new ARN value for * the Amazon GameLift FleetIQ game server group and the object's status. The * Amazon 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 Amazon GameLift FleetIQ game server group and the object's status. The * Amazon 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 Amazon GameLift FleetIQ game server group and the object's status. The * Amazon 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 Amazon GameLift FleetIQ game server group and the object's status. The * Amazon 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 Amazon GameLift FleetIQ game server group and the object's status. The * Amazon 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;} 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 CreateGameServerGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateGameServerGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateGameServerGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: GameServerGroup m_gameServerGroup; Aws::String m_requestId; }; } // namespace Model } // namespace GameLift } // namespace Aws