You can't use the Attributes function for that purpose.
But you can write statements similar to what you have setting the conditions for x to True, Then you can use them as Assumptions in Simplify and similar statements, or in Assuming or in ConditionalExpression.