# This file was auto-generated by Fern from our API Definition.

import enum
import typing

T_Result = typing.TypeVar("T_Result")


class AzurePiiGuardrailConfigDomain(str, enum.Enum):
    """
    +label=Domain
    +usage=Domain for PII detection
    +sort=400
    """

    NONE = "none"
    HEALTHCARE = "healthcare"

    def visit(self, none: typing.Callable[[], T_Result], healthcare: typing.Callable[[], T_Result]) -> T_Result:
        if self is AzurePiiGuardrailConfigDomain.NONE:
            return none()
        if self is AzurePiiGuardrailConfigDomain.HEALTHCARE:
            return healthcare()
