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

Resource capacity information for the requested fleet location. Capacity * objects are returned only for fleets and locations that currently exist.

*/ inline const FleetCapacity& GetFleetCapacity() const{ return m_fleetCapacity; } /** *

Resource capacity information for the requested fleet location. Capacity * objects are returned only for fleets and locations that currently exist.

*/ inline void SetFleetCapacity(const FleetCapacity& value) { m_fleetCapacity = value; } /** *

Resource capacity information for the requested fleet location. Capacity * objects are returned only for fleets and locations that currently exist.

*/ inline void SetFleetCapacity(FleetCapacity&& value) { m_fleetCapacity = std::move(value); } /** *

Resource capacity information for the requested fleet location. Capacity * objects are returned only for fleets and locations that currently exist.

*/ inline DescribeFleetLocationCapacityResult& WithFleetCapacity(const FleetCapacity& value) { SetFleetCapacity(value); return *this;} /** *

Resource capacity information for the requested fleet location. Capacity * objects are returned only for fleets and locations that currently exist.

*/ inline DescribeFleetLocationCapacityResult& WithFleetCapacity(FleetCapacity&& value) { SetFleetCapacity(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 DescribeFleetLocationCapacityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeFleetLocationCapacityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeFleetLocationCapacityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: FleetCapacity m_fleetCapacity; Aws::String m_requestId; }; } // namespace Model } // namespace GameLift } // namespace Aws