func (s *XPackSecurityGetRoleMappingService) ErrorTrace(errorTrace bool) *XPackSecurityGetRoleMappingService {
	s.errorTrace = &errorTrace
	return s
}
ErrorTrace specifies whether to include the stack trace of returned errors.
package elastic
import (
	"context"
	"encoding/json"
	"fmt"
	"net/http"
	"net/url"
	"strings"
	"github.com/olivere/elastic/v7/uritemplates"
)
type XPackSecurityGetRoleMappingService struct {
	client *Client
	pretty     *bool        
	human      *bool        
	errorTrace *bool        
	filterPath []string     
	headers    http.Header  
	name string
}
func NewXPackSecurityGetRoleMappingService(client *Client) *XPackSecurityGetRoleMappingService {
	return &XPackSecurityGetRoleMappingService{
		client: client,
	}
}
func (s *XPackSecurityGetRoleMappingService) Pretty(pretty bool) *XPackSecurityGetRoleMappingService {
	s.pretty = &pretty
	return s
}
func (s *XPackSecurityGetRoleMappingService) Human(human bool) *XPackSecurityGetRoleMappingService {
	s.human = &human
	return s
}