content: /**
  
  */
  package software.amazon.serverless.apprepo.api.client.model.transform;
  
  import javax.annotation.Generated;
  
  import com.amazonaws.SdkClientException;
  import software.amazon.serverless.apprepo.api.client.model.*;
  
  import com.amazonaws.protocol.*;
  import com.amazonaws.annotation.SdkInternalApi;
  
  /**
   * ApplicationSummaryMarshaller
   */
  @Generated("com.amazonaws:aws-java-sdk-code-generator")
  @SdkInternalApi
  public class ApplicationSummaryMarshaller {
  
      private static final MarshallingInfo<String> APPLICATIONID_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
              .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("applicationId").build();
      private static final MarshallingInfo<String> CREATIONTIME_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
              .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("creationTime").build();
      private static final MarshallingInfo<String> DESCRIPTION_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
              .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("description").build();
  
      private static final ApplicationSummaryMarshaller instance = new ApplicationSummaryMarshaller();
  
      public static ApplicationSummaryMarshaller getInstance() {
          return instance;
      }
  
      /**
       * Marshall the given parameter object.
       */
      public void marshall(ApplicationSummary applicationSummary, ProtocolMarshaller protocolMarshaller) {
  
          if (applicationSummary == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(applicationSummary.getApplicationId(), APPLICATIONID_BINDING);
              protocolMarshaller.marshall(applicationSummary.getCreationTime(), CREATIONTIME_BINDING);
              protocolMarshaller.marshall(applicationSummary.getDescription(), DESCRIPTION_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
  
  }
  