public void setMaxPrice(String maxPrice) {
        this.maxPrice = maxPrice;
    }
<p>
The maximum amount that you want to spend, in US dollars, per each text message. If the calculated amount to send
the text message is greater than <code>MaxPrice</code>, the message is not sent and an error is returned.
</p>

@param maxPrice
       The maximum amount that you want to spend, in US dollars, per each text message. If the calculated amount
       to send the text message is greater than <code>MaxPrice</code>, the message is not sent and an error is
       returned.
aws-java-sdk-pinpointsmsvoicev2/src/main/java/com/amazonaws/services/pinpointsmsvoicev2/model/SendTextMessageRequest.java