func (s *IngestSimulatePipelineService) Header(name string, value string) *IngestSimulatePipelineService {
	if s.headers == nil {
		s.headers = http.Header{}
	}
	s.headers.Add(name, value)
	return s
}
Header adds a header to the request.
package elastic
import (
	"context"
	"encoding/json"
	"fmt"
	"net/http"
	"net/url"
	"strings"
	"github.com/olivere/elastic/v7/uritemplates"
)
type IngestSimulatePipelineService struct {
	client *Client
	pretty     *bool        
	human      *bool        
	errorTrace *bool        
	filterPath []string     
	headers    http.Header  
	id         string
	verbose    *bool
	bodyJson   interface{}
	bodyString string
}
func NewIngestSimulatePipelineService(client *Client) *IngestSimulatePipelineService {
	return &IngestSimulatePipelineService{
		client: client,
	}
}
func (s *IngestSimulatePipelineService) Pretty(pretty bool) *IngestSimulatePipelineService {
	s.pretty = &pretty
	return s
}
func (s *IngestSimulatePipelineService) Human(human bool) *IngestSimulatePipelineService {
	s.human = &human
	return s
}
func (s *IngestSimulatePipelineService) ErrorTrace(errorTrace bool) *IngestSimulatePipelineService {
	s.errorTrace = &errorTrace
	return s
}
func (s *IngestSimulatePipelineService) FilterPath(filterPath ...string) *IngestSimulatePipelineService {
	s.filterPath = filterPath
	return s
}