How to use GET_MEMBER_NAME_CHECKED with UPROPERTIES that are private in the base class?

I’m upgrading some C++ code from 2.22 to 2.24. One code snippet is (sort of) as follows:

void UMyComponent::PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent)
{
	// Other code here.
	bool bDoUpdate = PropertyChangedEvent.Property == GET_MEMBER_NAME_CHECKED(UMyComponent, RelateiveScale3D);
	// Other code here.
}

In 2.24 I get a warning saying that RelativeScale3D will become private in the future.

What does this mean for my code snippet?

How can I do the equivalent check without warning and in a way that will work when RelativeScale3D become private?

Will I even still get the PostEditChangeProperty callback when the trasition to function-only access is finalized?

There are Get<PROPERTY>PropertyName functions for this.

I got warning C4996: ‘UWidget::RenderTransform’: Direct access to RenderTransform is deprecated. Please use the getter or setter. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

Could u enlight me how to fix?

code:
void UMyAutoScaleButton::PostEditChangeProperty(FPropertyChangedEvent& e)
{

if (PropertyName == GET_MEMBER_NAME_CHECKED(UMyAutoScaleButton, RenderTransform))
{
    ...
}

....

}

I can’t find a GetRenderTransformPropertyName function, or anything similar, on UWidget so that solution doesn’t work in this case. I see no other solution than hard-coding it:

if (PropertyName == FName("RenderTransform"))

and checking from time time time, preferably with a unit test, that the if-block is executed when you expect it to. If the property is ever renamed then there is nothing the compiler can do to help you with a hard-coded property name like this.

Jusu use like that,
UI->GetRenderTransform().Scale
whic is in Widget.cpp line 219.