Inequalities and properties of some generalized Orlicz classes and spaces