code: public void marshall(GetScalingPlanResourceForecastDataRequest getScalingPlanResourceForecastDataRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (getScalingPlanResourceForecastDataRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(getScalingPlanResourceForecastDataRequest.getScalingPlanName(), SCALINGPLANNAME_BINDING);
              protocolMarshaller.marshall(getScalingPlanResourceForecastDataRequest.getScalingPlanVersion(), SCALINGPLANVERSION_BINDING);
              protocolMarshaller.marshall(getScalingPlanResourceForecastDataRequest.getServiceNamespace(), SERVICENAMESPACE_BINDING);
              protocolMarshaller.marshall(getScalingPlanResourceForecastDataRequest.getResourceId(), RESOURCEID_BINDING);
              protocolMarshaller.marshall(getScalingPlanResourceForecastDataRequest.getScalableDimension(), SCALABLEDIMENSION_BINDING);
              protocolMarshaller.marshall(getScalingPlanResourceForecastDataRequest.getForecastDataType(), FORECASTDATATYPE_BINDING);
              protocolMarshaller.marshall(getScalingPlanResourceForecastDataRequest.getStartTime(), STARTTIME_BINDING);
              protocolMarshaller.marshall(getScalingPlanResourceForecastDataRequest.getEndTime(), ENDTIME_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.