code: public void marshall(TaskSet taskSet, ProtocolMarshaller protocolMarshaller) {
  
          if (taskSet == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(taskSet.getId(), ID_BINDING);
              protocolMarshaller.marshall(taskSet.getTaskSetArn(), TASKSETARN_BINDING);
              protocolMarshaller.marshall(taskSet.getServiceArn(), SERVICEARN_BINDING);
              protocolMarshaller.marshall(taskSet.getClusterArn(), CLUSTERARN_BINDING);
              protocolMarshaller.marshall(taskSet.getStartedBy(), STARTEDBY_BINDING);
              protocolMarshaller.marshall(taskSet.getExternalId(), EXTERNALID_BINDING);
              protocolMarshaller.marshall(taskSet.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(taskSet.getTaskDefinition(), TASKDEFINITION_BINDING);
              protocolMarshaller.marshall(taskSet.getComputedDesiredCount(), COMPUTEDDESIREDCOUNT_BINDING);
              protocolMarshaller.marshall(taskSet.getPendingCount(), PENDINGCOUNT_BINDING);
              protocolMarshaller.marshall(taskSet.getRunningCount(), RUNNINGCOUNT_BINDING);
              protocolMarshaller.marshall(taskSet.getCreatedAt(), CREATEDAT_BINDING);
              protocolMarshaller.marshall(taskSet.getUpdatedAt(), UPDATEDAT_BINDING);
              protocolMarshaller.marshall(taskSet.getLaunchType(), LAUNCHTYPE_BINDING);
              protocolMarshaller.marshall(taskSet.getPlatformVersion(), PLATFORMVERSION_BINDING);
              protocolMarshaller.marshall(taskSet.getNetworkConfiguration(), NETWORKCONFIGURATION_BINDING);
              protocolMarshaller.marshall(taskSet.getLoadBalancers(), LOADBALANCERS_BINDING);
              protocolMarshaller.marshall(taskSet.getServiceRegistries(), SERVICEREGISTRIES_BINDING);
              protocolMarshaller.marshall(taskSet.getScale(), SCALE_BINDING);
              protocolMarshaller.marshall(taskSet.getStabilityStatus(), STABILITYSTATUS_BINDING);
              protocolMarshaller.marshall(taskSet.getStabilityStatusAt(), STABILITYSTATUSAT_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.