def add_intent(app_id, version_id, intent_create_object, custom_headers:nil)
      response = add_intent_async(app_id, version_id, intent_create_object, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def add_intent(app_id, version_id, intent_create_object, custom_headers:nil)
      response = add_intent_async(app_id, version_id, intent_create_object, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Adds an intent to a version of the application.

 @param app_id The application ID.
 @param version_id [String] The version ID.
 @param intent_create_object [ModelCreateObject] A model object containing the
 name of the new intent.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Uuid] operation results.