func (m *MockSageMakerClientBuilder) AddDescribeEndpointResponse(data sagemaker.DescribeEndpointOutput) *MockSageMakerClientBuilder {
	m.responses.PushBack(describeEndpointResponse{
		err:  nil,
		data: &data,
	})
	return m
}
Add a DescribeEndpoint response to the client.
package controllertest
import (
	"fmt"
	"net/http"
	. "container/list"
	. "github.com/onsi/ginkgo"
	"github.com/aws/aws-sdk-go/aws/awserr"
	awsrequest "github.com/aws/aws-sdk-go/aws/request"
	"github.com/aws/aws-sdk-go/service/sagemaker"
	"github.com/aws/aws-sdk-go/service/sagemaker/sagemakeriface"
)
func NewMockSageMakerClientBuilder(testReporter GinkgoTInterface) *MockSageMakerClientBuilder {
	builder := MockSageMakerClientBuilder{
		testReporter: testReporter,
	}
	return &builder
}
type MockSageMakerClientBuilder struct {
	testReporter GinkgoTInterface
	responses List
	requests *List
}
type createProcessingJobResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.CreateProcessingJobOutput
}
type describeProcessingJobResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.DescribeProcessingJobOutput
}
type stopProcessingJobResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.StopProcessingJobOutput
}
type describeTrainingJobResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.DescribeTrainingJobOutput
}
type createTrainingJobResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.CreateTrainingJobOutput
}
type listTrainingJobsForHyperParameterTuningJobResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput
}
type stopTrainingJobResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.StopTrainingJobOutput
}
type describeHyperParameterTuningJobResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.DescribeHyperParameterTuningJobOutput
}
type createHyperParameterTuningJobResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.CreateHyperParameterTuningJobOutput
}
type stopHyperParameterTuningJobResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.StopHyperParameterTuningJobOutput
}
type describeEndpointResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.DescribeEndpointOutput
}
type describeModelResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.DescribeModelOutput
}
type createModelResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.CreateModelOutput
}
type deleteModelResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.DeleteModelOutput
}
type describeTransformJobResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.DescribeTransformJobOutput
}
type stopTransformJobResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.StopTransformJobOutput
}
type describeEndpointConfigResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.DescribeEndpointConfigOutput
}
type createEndpointConfigResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.CreateEndpointConfigOutput
}
type updateEndpointResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.UpdateEndpointOutput
}
type deleteEndpointResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.DeleteEndpointOutput
}
type deleteEndpointConfigResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.DeleteEndpointConfigOutput
}
type createEndpointResponse struct {
	err  awserr.RequestFailure
	data *sagemaker.CreateEndpointOutput
}
func (m *MockSageMakerClientBuilder) AddDescribeProcessingJobErrorResponse(code string, message string, statusCode int, reqId string) *MockSageMakerClientBuilder {
	m.responses.PushBack(describeProcessingJobResponse{
		err:  awserr.NewRequestFailure(awserr.New(code, message, fmt.Errorf(code)), statusCode, reqId),
		data: nil,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddDescribeProcessingJobResponse(data sagemaker.DescribeProcessingJobOutput) *MockSageMakerClientBuilder {
	m.responses.PushBack(describeProcessingJobResponse{
		err:  nil,
		data: &data,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddStopProcessingJobResponse(data sagemaker.StopProcessingJobOutput) *MockSageMakerClientBuilder {
	m.responses.PushBack(stopProcessingJobResponse{
		err:  nil,
		data: &data,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddCreateProcessingJobErrorResponse(code string, message string, statusCode int, reqId string) *MockSageMakerClientBuilder {
	m.responses.PushBack(createProcessingJobResponse{
		err:  awserr.NewRequestFailure(awserr.New(code, message, fmt.Errorf(code)), statusCode, reqId),
		data: nil,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddCreateProcessingJobResponse(data sagemaker.CreateProcessingJobOutput) *MockSageMakerClientBuilder {
	m.responses.PushBack(createProcessingJobResponse{
		err:  nil,
		data: &data,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddDescribeTrainingJobErrorResponse(code string, message string, statusCode int, reqId string) *MockSageMakerClientBuilder {
	m.responses.PushBack(describeTrainingJobResponse{
		err:  awserr.NewRequestFailure(awserr.New(code, message, fmt.Errorf(code)), statusCode, reqId),
		data: nil,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddDescribeTrainingJobResponse(data sagemaker.DescribeTrainingJobOutput) *MockSageMakerClientBuilder {
	m.responses.PushBack(describeTrainingJobResponse{
		err:  nil,
		data: &data,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddCreateTrainingJobResponse(data sagemaker.CreateTrainingJobOutput) *MockSageMakerClientBuilder {
	m.responses.PushBack(createTrainingJobResponse{
		err:  nil,
		data: &data,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddListTrainingJobsForHyperParameterTuningJobErrorResponse(code string, statusCode int, reqId string) *MockSageMakerClientBuilder {
	m.responses.PushBack(listTrainingJobsForHyperParameterTuningJobResponse{
		err:  awserr.NewRequestFailure(awserr.New(code, "mock error message", fmt.Errorf(code)), statusCode, reqId),
		data: nil,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddListTrainingJobsForHyperParameterTuningJobResponse(data sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput) *MockSageMakerClientBuilder {
	m.responses.PushBack(listTrainingJobsForHyperParameterTuningJobResponse{
		err:  nil,
		data: &data,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddStopTrainingJobErrorResponse(code string, statusCode int, reqId string) *MockSageMakerClientBuilder {
	m.responses.PushBack(stopTrainingJobResponse{
		err:  awserr.NewRequestFailure(awserr.New(code, "mock error message", fmt.Errorf(code)), statusCode, reqId),
		data: nil,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddStopTrainingJobResponse(data sagemaker.StopTrainingJobOutput) *MockSageMakerClientBuilder {
	m.responses.PushBack(stopTrainingJobResponse{
		err:  nil,
		data: &data,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddDescribeHyperParameterTuningJobErrorResponse(code string, message string, statusCode int, reqId string) *MockSageMakerClientBuilder {
	m.responses.PushBack(describeHyperParameterTuningJobResponse{
		err:  awserr.NewRequestFailure(awserr.New(code, message, fmt.Errorf(code)), statusCode, reqId),
		data: nil,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddDescribeHyperParameterTuningJobResponse(data sagemaker.DescribeHyperParameterTuningJobOutput) *MockSageMakerClientBuilder {
	m.responses.PushBack(describeHyperParameterTuningJobResponse{
		err:  nil,
		data: &data,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddCreateHyperParameterTuningJobErrorResponse(code string, message string, statusCode int, reqId string) *MockSageMakerClientBuilder {
	m.responses.PushBack(createHyperParameterTuningJobResponse{
		err:  awserr.NewRequestFailure(awserr.New(code, message, fmt.Errorf(code)), statusCode, reqId),
		data: nil,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddCreateHyperParameterTuningJobResponse(data sagemaker.CreateHyperParameterTuningJobOutput) *MockSageMakerClientBuilder {
	m.responses.PushBack(createHyperParameterTuningJobResponse{
		err:  nil,
		data: &data,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddStopHyperParameterTuningJobResponse(data sagemaker.StopHyperParameterTuningJobOutput) *MockSageMakerClientBuilder {
	m.responses.PushBack(stopHyperParameterTuningJobResponse{
		err:  nil,
		data: &data,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddDescribeEndpointErrorResponse(code string, message string, statusCode int, reqId string) *MockSageMakerClientBuilder {
	m.responses.PushBack(describeEndpointResponse{
		err:  awserr.NewRequestFailure(awserr.New(code, message, fmt.Errorf(code)), statusCode, reqId),
		data: nil,
	})
	return m
}
func (m *MockSageMakerClientBuilder) AddDescribeTransformJobErrorResponse(code string, statusCode int, reqId, message string) *MockSageMakerClientBuilder {
	m.responses.PushBack(describeTransformJobResponse{
		err:  awserr.NewRequestFailure(awserr.New(code, message, fmt.Errorf(code)), statusCode, reqId),
		data: nil,
	})
	return m
}