/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This data type is used with the Amazon GameLift FleetIQ and game server
* groups. Settings for a target-based scaling policy as part of a GameServerGroupAutoScalingPolicy
* . These settings are used to create a target-based policy that tracks the Amazon
* GameLift FleetIQ metric "PercentUtilizedGameServers"
and specifies
* a target value for the metric. As player usage changes, the policy triggers to
* adjust the game server group capacity so that the metric returns to the target
* value. See Also:
AWS
* API Reference
Desired value to use with a game server group target-based scaling policy. *
*/ inline double GetTargetValue() const{ return m_targetValue; } /** *Desired value to use with a game server group target-based scaling policy. *
*/ inline bool TargetValueHasBeenSet() const { return m_targetValueHasBeenSet; } /** *Desired value to use with a game server group target-based scaling policy. *
*/ inline void SetTargetValue(double value) { m_targetValueHasBeenSet = true; m_targetValue = value; } /** *Desired value to use with a game server group target-based scaling policy. *
*/ inline TargetTrackingConfiguration& WithTargetValue(double value) { SetTargetValue(value); return *this;} private: double m_targetValue; bool m_targetValueHasBeenSet = false; }; } // namespace Model } // namespace GameLift } // namespace Aws