Generalized Hausdorff inverse moment problem