You only need top-left and bottom-right (they store all four edges). If you want the other corners, you can create from those two.
Bottom-right is simply top-left + size, thus:
bottomRight = topLeft + view.getSize();
You could also get top-left a bit simpler by mapping (0, 0) to coords instead of the view's centre, thus:
topLeft = window.mapPixelToCoords(sf::Vector2i(0, 0));
The other option for bottom-right is to map it directly, rather than an offset from top-left, thus:
bottomRight = window.mapPixelToCoords(sf::Vector2i(window.getSize()));
Notice that it's the size of the window, not the size of the view.