/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This data type is part of Amazon GameLift FleetIQ with game server
* groups, which is in preview release and is subject to change. Settings for a target-based scaling policy applied to Auto Scaling group.
* These settings are used to create a target-based policy that tracks the 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; }; } // namespace Model } // namespace GameLift } // namespace Aws