7#include <aws/crt/cbor/Cbor.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9#include <aws/gamelift/model/ZeroCapacityStrategy.h>
47 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
66 m_zeroCapacityStrategyHasBeenSet =
true;
67 m_zeroCapacityStrategy = value;
84 m_scaleInAfterInactivityMinutesHasBeenSet =
true;
85 m_scaleInAfterInactivityMinutes = value;
95 int64_t m_scaleInAfterInactivityMinutes{0};
96 bool m_zeroCapacityStrategyHasBeenSet =
false;
97 bool m_scaleInAfterInactivityMinutesHasBeenSet =
false;
ManagedCapacityConfiguration & WithZeroCapacityStrategy(ZeroCapacityStrategy value)
void SetScaleInAfterInactivityMinutes(int64_t value)
ManagedCapacityConfiguration & WithScaleInAfterInactivityMinutes(int64_t value)
AWS_GAMELIFT_API ManagedCapacityConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ZeroCapacityStrategyHasBeenSet() const
bool ScaleInAfterInactivityMinutesHasBeenSet() const
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
int64_t GetScaleInAfterInactivityMinutes() const
AWS_GAMELIFT_API ManagedCapacityConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API ManagedCapacityConfiguration()=default
void SetZeroCapacityStrategy(ZeroCapacityStrategy value)
ZeroCapacityStrategy GetZeroCapacityStrategy() const