code: public void marshall(ListSmartHomeAppliancesRequest listSmartHomeAppliancesRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (listSmartHomeAppliancesRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(listSmartHomeAppliancesRequest.getRoomArn(), ROOMARN_BINDING);
              protocolMarshaller.marshall(listSmartHomeAppliancesRequest.getMaxResults(), MAXRESULTS_BINDING);
              protocolMarshaller.marshall(listSmartHomeAppliancesRequest.getNextToken(), NEXTTOKEN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.