Plumbing on Suction side of Pump

I read where the plumbing on the suction side of the pump should be a straight piece of solid pipe that is 5x the pipe diameter. Thus, for 2 inch pipe there should be a 10 piece of straight pipe on the suction side of the pump. Would it be OK to put either or both a straight thru shut off valve or a union within this 10 inch section?
 
Thread Status
Hello , This thread has been inactive for over 60 days. New postings here are unlikely to be seen or responded to by other members. For better visibility, consider Starting A New Thread.