func (o *CreateSpoeMessageCreated) SetPayload(payload *models.SpoeMessage) {
	o.Payload = payload
}
SetPayload sets the payload to the create spoe message created response
package spoe
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const CreateSpoeMessageCreatedCode int = 201
type CreateSpoeMessageCreated struct {
	Payload *models.SpoeMessage `json:"body,omitempty"`
}
func NewCreateSpoeMessageCreated() *CreateSpoeMessageCreated {
	return &CreateSpoeMessageCreated{}
}
func (o *CreateSpoeMessageCreated) WithPayload(payload *models.SpoeMessage) *CreateSpoeMessageCreated {
	o.Payload = payload
	return o
}