code: public void marshall(CreateTaskSetRequest createTaskSetRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createTaskSetRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createTaskSetRequest.getService(), SERVICE_BINDING);
              protocolMarshaller.marshall(createTaskSetRequest.getCluster(), CLUSTER_BINDING);
              protocolMarshaller.marshall(createTaskSetRequest.getExternalId(), EXTERNALID_BINDING);
              protocolMarshaller.marshall(createTaskSetRequest.getTaskDefinition(), TASKDEFINITION_BINDING);
              protocolMarshaller.marshall(createTaskSetRequest.getNetworkConfiguration(), NETWORKCONFIGURATION_BINDING);
              protocolMarshaller.marshall(createTaskSetRequest.getLoadBalancers(), LOADBALANCERS_BINDING);
              protocolMarshaller.marshall(createTaskSetRequest.getServiceRegistries(), SERVICEREGISTRIES_BINDING);
              protocolMarshaller.marshall(createTaskSetRequest.getLaunchType(), LAUNCHTYPE_BINDING);
              protocolMarshaller.marshall(createTaskSetRequest.getPlatformVersion(), PLATFORMVERSION_BINDING);
              protocolMarshaller.marshall(createTaskSetRequest.getScale(), SCALE_BINDING);
              protocolMarshaller.marshall(createTaskSetRequest.getClientToken(), CLIENTTOKEN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.