use with class file into wp_ajax hook

Use include (yourclass.php) only if the file yourclass.php is on the same folder. Otherwise you will need to put the full path to your file or use a variable for the plugin path:
public $plugin_path;
$this->plugin_path = plugin_dir_path( dirname( dirname( FILE ) ) );

and include the file using plugin_path.