def set_desired_capacity(options = {})
      options = options.merge(auto_scaling_group_name: @name)
      resp = @client.set_desired_capacity(options)
      resp.data
    end
def set_desired_capacity(options = {})
      options = options.merge(auto_scaling_group_name: @name)
      resp = @client.set_desired_capacity(options)
      resp.data
    end
@example Request syntax with placeholder values

   auto_scaling_group.set_desired_capacity({
     desired_capacity: 1, # required
     honor_cooldown: false,
   })
 @param [Hash] options ({})
 @option options [required, Integer] :desired_capacity
   The number of EC2 instances that should be running in the Auto Scaling
   group.
 @option options [Boolean] :honor_cooldown
   Indicates whether Amazon EC2 Auto Scaling waits for the cooldown
   period to complete before initiating a scaling activity to set your
   Auto Scaling group to its new capacity. By default, Amazon EC2 Auto
   Scaling does not honor the cooldown period during manual scaling
   activities.
 @return [EmptyStructure]