code: public void marshall(ReservationAggregates reservationAggregates, ProtocolMarshaller protocolMarshaller) {
  
          if (reservationAggregates == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(reservationAggregates.getUtilizationPercentage(), UTILIZATIONPERCENTAGE_BINDING);
              protocolMarshaller.marshall(reservationAggregates.getUtilizationPercentageInUnits(), UTILIZATIONPERCENTAGEINUNITS_BINDING);
              protocolMarshaller.marshall(reservationAggregates.getPurchasedHours(), PURCHASEDHOURS_BINDING);
              protocolMarshaller.marshall(reservationAggregates.getPurchasedUnits(), PURCHASEDUNITS_BINDING);
              protocolMarshaller.marshall(reservationAggregates.getTotalActualHours(), TOTALACTUALHOURS_BINDING);
              protocolMarshaller.marshall(reservationAggregates.getTotalActualUnits(), TOTALACTUALUNITS_BINDING);
              protocolMarshaller.marshall(reservationAggregates.getUnusedHours(), UNUSEDHOURS_BINDING);
              protocolMarshaller.marshall(reservationAggregates.getUnusedUnits(), UNUSEDUNITS_BINDING);
              protocolMarshaller.marshall(reservationAggregates.getOnDemandCostOfRIHoursUsed(), ONDEMANDCOSTOFRIHOURSUSED_BINDING);
              protocolMarshaller.marshall(reservationAggregates.getNetRISavings(), NETRISAVINGS_BINDING);
              protocolMarshaller.marshall(reservationAggregates.getTotalPotentialRISavings(), TOTALPOTENTIALRISAVINGS_BINDING);
              protocolMarshaller.marshall(reservationAggregates.getAmortizedUpfrontFee(), AMORTIZEDUPFRONTFEE_BINDING);
              protocolMarshaller.marshall(reservationAggregates.getAmortizedRecurringFee(), AMORTIZEDRECURRINGFEE_BINDING);
              protocolMarshaller.marshall(reservationAggregates.getTotalAmortizedFee(), TOTALAMORTIZEDFEE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.