Files
2026-02-28 12:32:28 -05:00

71 lines
2.6 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/GameServerGroup.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 CreateGameServerGroupResult
{
public:
AWS_GAMELIFT_API CreateGameServerGroupResult();
AWS_GAMELIFT_API CreateGameServerGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AWS_GAMELIFT_API CreateGameServerGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
///@{
/**
* <p>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
* <code>ACTIVE</code>. </p>
*/
inline const GameServerGroup& GetGameServerGroup() const{ return m_gameServerGroup; }
inline void SetGameServerGroup(const GameServerGroup& value) { m_gameServerGroup = value; }
inline void SetGameServerGroup(GameServerGroup&& value) { m_gameServerGroup = std::move(value); }
inline CreateGameServerGroupResult& WithGameServerGroup(const GameServerGroup& value) { SetGameServerGroup(value); return *this;}
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