/** * 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 { /** *

Represents the returned data in response to a request action.

See * Also:

AWS * API Reference

*/ class AWS_GAMELIFT_API CreateFleetResult { public: CreateFleetResult(); CreateFleetResult(const Aws::AmazonWebServiceResult& result); CreateFleetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Properties for the newly created fleet.

*/ inline const FleetAttributes& GetFleetAttributes() const{ return m_fleetAttributes; } /** *

Properties for the newly created fleet.

*/ inline void SetFleetAttributes(const FleetAttributes& value) { m_fleetAttributes = value; } /** *

Properties for the newly created fleet.

*/ inline void SetFleetAttributes(FleetAttributes&& value) { m_fleetAttributes = std::move(value); } /** *

Properties for the newly created fleet.

*/ inline CreateFleetResult& WithFleetAttributes(const FleetAttributes& value) { SetFleetAttributes(value); return *this;} /** *

Properties for the newly created fleet.

*/ inline CreateFleetResult& WithFleetAttributes(FleetAttributes&& value) { SetFleetAttributes(std::move(value)); return *this;} private: FleetAttributes m_fleetAttributes; }; } // namespace Model } // namespace GameLift } // namespace Aws