def get_query_cls_name(
    with_pagination: bool,
    with_filtering: bool,
    with_sorting: bool,
) -> str:
    """Get query class name.

    :param with_pagination: have pagination
    :param with_filtering: have filtering
    :param with_sorting: have sorting
    :return: class name
    """
    cls_name = 'QueryO'
    if with_pagination:
        cls_name += 'P'  # NOQA: WPS336
    if with_sorting:
        cls_name += 'S'  # NOQA: WPS336
    if with_filtering:
        cls_name += 'F'  # NOQA: WPS336
    return cls_name