As soft active materials, shape-memory polymers (SMPs) and liquid crystal elastomers (LCEs) have attracted considerable research interest due to their potential applications in various areas. SMPs refer to polymeric materials that can return to their permanent shape in response to external stimuli, such as heat, light, and solvent. In this sense, LCEs can exhibit intrinsic shape-memory behaviors since LCEs can switch between two shapes with temperature change due to the order-disorder transition of liquid crystals. In this work, we fabricate both the polydomain and monodomain nematic LCEs through direct ink writing 3D printing. With increasing the temperature of the substrates, the printed LCEs change from the monodomain state to the polydomain state. For polydomain LCEs, a reversible shape change can occur upon constant loading, while the monodomain can switch the shape with temperature in the stress-free state. This two-way shape-memory behavior is caused by the nematic-isotropic phase transition. We further show that the printed LCEs exhibit a good one-way shape-memory effect due to glass transition. The shape recovery region increases with the programming temperature, which is a typical temperature memory effect. Finally, it is demonstrated that complex shape-memory performance can be designed by combining one-way and two-way shape-memory effects. Specifically, for the monodomain LCEs, with increasing temperature, the programmed shape first recovers, and a second shape change can further occur due to the nematic-isotropic transition.