Sprinting in UE5 for a FPS game using C++

I am relatively new to C++, as in starting to learn about a month ago. I have used UE5 before, but I wanted to make a game with C++ and Blueprint. All of my core game mechanics I want to be done in C++, such as movement.

I recently have been stumped on one movement mechanic I want in my game, and that is Sprinting. I have a IMC_Default that has all of my Movements (Jumping, Sprinting, Movement, etc.) and sprinting is the only thing I have trouble with so far. Below are some of the lines of code I have, but I am not sure how to implement Sprinting if I already have a Movement Input Action already made.

You forgot this.