A compound having structural Formula I: or a pharmaceutically acceptable salt thereof wherein: L is -CH 2 -, or -C -; M is -N(R 4)-, *-N(R 4)-(C 1-3)alkylene wherein the alkylene is unsubstituted or substituted by (C 1-3)alkyl, hydroxy(C 1-3)alkyl, or morpholinyl, *-N(R 4)-C -, *-N(R 4)-C -heterocyclyl-, wherein the heterocyclyl is a 4- to 6-membered monocyclic ring containing 1-2 heteroatoms selected from the group consisting of N, O, and S, *-N(R 4)-(C 3-6)cycloalkyl-, *-N(R 4)-(C 1-2)alkyl-(C 3-6)cycloalkyl-, or wherein * indicates the point of attachment to group L; X is -O-, or -NH-; R 1 is (C 1-6)alkyl, halo(C 1-8)alkyl, or (C 3-6)cycloalkyl-; ring A is 4- to 6-membered heterocyclyl containing 1-2 heteroatoms selected from the group consisting of N, O, and S, aryl, fused phenyl, 5- or 6-membered heteroaryl containing 1-4 heteroatoms selected from the group consisting of N, O, and S, or fused 8- to 10-membered heteroaryl containing 1-4 heteroatoms selected from the group consisting of N, O, and S; R 2 is (C 1-6)alkyl, halo(C 1-6)alkyl, (C 1-6)alkoxy, halo(C 1-6)alkoxy, cyano, aryl, 5- or 6-membered heteroaryl containing 1-4 heteroatoms selected from the group consisting of N, O, or S, fused 8- to 10-membered heteroaryl containing 1-4 heteroatoms selected from the group consisting of N, O, and S, oxo, (C 3-6)cycloalkyl, or halo; R 3 is (C 1-6)alkyl, halo(C 1-6)alkyl, (C 1-6)alkoxy, halo(C 1-6)alkoxy, -CO 2 (C 1-6)alkyl, halo, or hydroxy; R 4 is hydrogen, or (C 1-3)alkyl; m is 0, 1, 2, or 3; and n is 0, 1 or 2. L is -CH 2 -, or -C -; -CH 2 -, or -C -; M is -N(R 4)-, *-N(R 4)-(C 1-3)alkylene wherein the alkylene is unsubstituted or substituted by (C 1-3)alkyl, hydroxy(C 1-3)alkyl, or morpholinyl, *-N(R 4)-C -, *-N(R 4)-C -heterocyclyl-, wherein the heterocyclyl is a 4- to 6-membered monocyclic ring containing 1-2 heteroatoms selected from the group consisting of N, O, and S, *-N(R 4)-(C 3-6)cycloalkyl-, *-N(R 4)-(C 1-2)alkyl-(C 3-6)cycloalkyl-, or wherein * indicates the point of attachment to group L; -N(R 4)-, *-N(R 4)-(C 1-3)alkylene wherein the alkylene is unsubstituted or substituted by (C 1-3)alkyl, hydroxy(C 1-3)alkyl, or morpholinyl, *-N(R 4)-C -, *-N(R 4)-C -heterocyclyl-, wherein the heterocyclyl is a 4- to 6-membered monocyclic ring containing 1-2 heteroatoms selected from the group consisting of N, O, and S, *-N(R 4)-(C 3-6)cycloalkyl-, *-N(R 4)-(C 1-2)alkyl-(C 3-6)cycloalkyl-, or wherein * indicates the point of attachment to group L; X is -O-, or -NH-; -O-, or -NH-; R 1 is (C 1-6)alkyl, halo(C 1-8)alkyl, or (C 3-6)cycloalkyl-; (C 1-6)alkyl, halo(C 1-8)alkyl, or (C 3-6)cycloalkyl-; ring A is 4- to 6-membered heterocyclyl containing 1-2 heteroatoms selected from the group consisting of N, O, and S, aryl, fused phenyl, 5- or 6-membered heteroaryl containing 1-4 heteroatoms selected from the group consisting of N, O, and S, or fused 8- to 10-membered heteroaryl containing 1-4 heteroatoms selected from the group consisting of N, O, and S; 4- to 6-membered heterocyclyl containing 1-2 heteroatoms selected from the group consisting of N, O, and S, aryl, fused phenyl, 5- or 6-membered heteroaryl containing 1-4 heteroatoms selected from the group consisting of N, O, and S, or fused 8- to 10-membered heteroaryl containing 1-4 heteroatoms selected from the group consisting of N, O, and S; R 2 is (C 1-6)alkyl, halo(C 1-6)alkyl, (C 1-6)alkoxy, halo(C 1-6)alkoxy, cyano, aryl, 5- or 6-membered heteroaryl containing 1-4 heteroatoms selected from the group consisting of N, O, or S, fused 8- to 10-membered heteroaryl containing 1-4 heteroatoms selected from the group consisting of N, O, and S, oxo, (C 3-6)cycloalkyl, or halo; (C 1-6)alkyl, halo(C 1-6)alkyl, (C 1-6)alkoxy, halo(C 1-6)alkoxy, cyano, aryl, 5- or 6-membered heteroaryl containing 1-4 heteroatoms selected from the group consisting of N, O, or S, fused 8- to 10-membered heteroaryl containing 1-4 heteroatoms selected from the group consisting of N, O, and S, oxo, (C 3-6)cycloalkyl, or halo; R 3 is (C 1-6)alkyl, halo(C 1-6)alkyl, (C 1-6)alkoxy, halo(C 1-6)alkoxy, -CO 2 (C 1-6)alkyl, halo, or hydroxy; (C 1-6)alkyl, halo(C 1-6)alkyl, (C 1-6)alkoxy, halo(C 1-6)alkoxy, -CO 2 (C 1-6)alkyl, halo, or hydroxy; R 4 is hydrogen, or (C 1-3)alkyl; hydrogen, or (C 1-3)alkyl; m is 0, 1, 2, or 3; and n is 0, 1 or 2.