code: @Override
      public SetDesiredCapacityResult setDesiredCapacity(SetDesiredCapacityRequest request) {
          request = beforeClientExecution(request);
          return executeSetDesiredCapacity(request);
      }
docs: <p>
  Sets the size of the specified Auto Scaling group.
  </p>
  <p>
  For more information about desired capacity, see <a
  href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html">What Is Amazon
  EC2 Auto Scaling?</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.
  </p>
  
  @param setDesiredCapacityRequest
  @return Result of the SetDesiredCapacity operation returned by the service.
  @throws ScalingActivityInProgressException
  The operation can't be performed because there are scaling activities in progress.
  @throws ResourceContentionException
  You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling
  group, instance, or load balancer).
  @sample AmazonAutoScaling.SetDesiredCapacity
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacity" target="_top">AWS
  API Documentation</a>