Redelegation

If i have delegated my STX and decided to revoke before the reward cycle period, will i still be able to get the reward or it must have been lost due to my revoking it.