The M.2 slot on the 7070 tower is a gen 3 so you will not see the fastest speeds that a gen 4 would offer. The Samsung drive will work but at gen 3. Keeping that in mind it may be worth it to go down to a gen 3 SSD which would save you some money. The advantage to having the Samsung gen 4 SSD is that down the road if you upgrade to a system that supports gen 4, you can move that drive to the new system.
i want buy  samsung ssd m2  980 pro PCIe Gen 4.0 x 4; NVMe 1.3c - is this work with my computer optiplex 7080 TM - Core i 10  -10 Gen and if work - will the computer use its full speed or will I not benefit from it, please explain as much as possible and thanks.
help - optiplex 7080 tw