code: public void marshall(WorkflowExecutionContinuedAsNewEventAttributes workflowExecutionContinuedAsNewEventAttributes, ProtocolMarshaller protocolMarshaller) {
  
          if (workflowExecutionContinuedAsNewEventAttributes == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(workflowExecutionContinuedAsNewEventAttributes.getInput(), INPUT_BINDING);
              protocolMarshaller.marshall(workflowExecutionContinuedAsNewEventAttributes.getDecisionTaskCompletedEventId(), DECISIONTASKCOMPLETEDEVENTID_BINDING);
              protocolMarshaller.marshall(workflowExecutionContinuedAsNewEventAttributes.getNewExecutionRunId(), NEWEXECUTIONRUNID_BINDING);
              protocolMarshaller.marshall(workflowExecutionContinuedAsNewEventAttributes.getExecutionStartToCloseTimeout(), EXECUTIONSTARTTOCLOSETIMEOUT_BINDING);
              protocolMarshaller.marshall(workflowExecutionContinuedAsNewEventAttributes.getTaskList(), TASKLIST_BINDING);
              protocolMarshaller.marshall(workflowExecutionContinuedAsNewEventAttributes.getTaskPriority(), TASKPRIORITY_BINDING);
              protocolMarshaller.marshall(workflowExecutionContinuedAsNewEventAttributes.getTaskStartToCloseTimeout(), TASKSTARTTOCLOSETIMEOUT_BINDING);
              protocolMarshaller.marshall(workflowExecutionContinuedAsNewEventAttributes.getChildPolicy(), CHILDPOLICY_BINDING);
              protocolMarshaller.marshall(workflowExecutionContinuedAsNewEventAttributes.getTagList(), TAGLIST_BINDING);
              protocolMarshaller.marshall(workflowExecutionContinuedAsNewEventAttributes.getWorkflowType(), WORKFLOWTYPE_BINDING);
              protocolMarshaller.marshall(workflowExecutionContinuedAsNewEventAttributes.getLambdaRole(), LAMBDAROLE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.