def validate_predictivescalingmaxcapacitybehavior(predictivescalingmaxcapacitybehavior):
    """
    Validate PredictiveScalingMaxCapacityBehavior for ScalingInstruction
    Property: ScalingInstruction.PredictiveScalingMaxCapacityBehavior
    """

    VALID_PREDICTIVESCALINGMAXCAPACITYBEHAVIOR = (
        "SetForecastCapacityToMaxCapacity",
        "SetMaxCapacityToForecastCapacity",
        "SetMaxCapacityAboveForecastCapacity",
    )

    if (
        predictivescalingmaxcapacitybehavior
        not in VALID_PREDICTIVESCALINGMAXCAPACITYBEHAVIOR
    ):  # noqa
        raise ValueError(
            "ScalingInstruction PredictiveScalingMaxCapacityBehavior must be one of: %s"
            % ", ".join(VALID_PREDICTIVESCALINGMAXCAPACITYBEHAVIOR)  # noqa
        )
    return predictivescalingmaxcapacitybehavior