func (o *PostHAProxyConfigurationAccepted) SetPayload(payload string) {
	o.Payload = payload
}
SetPayload sets the payload to the post h a proxy configuration accepted response
package configuration
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const PostHAProxyConfigurationCreatedCode int = 201
type PostHAProxyConfigurationCreated struct {
	Payload string `json:"body,omitempty"`
}
func NewPostHAProxyConfigurationCreated() *PostHAProxyConfigurationCreated {
	return &PostHAProxyConfigurationCreated{}
}
func (o *PostHAProxyConfigurationCreated) WithPayload(payload string) *PostHAProxyConfigurationCreated {
	o.Payload = payload
	return o
}
func (o *PostHAProxyConfigurationCreated) SetPayload(payload string) {
	o.Payload = payload
}
func (o *PostHAProxyConfigurationCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.WriteHeader(201)
	payload := o.Payload
	if err := producer.Produce(rw, payload); err != nil {
		panic(err)  
	}
}
const PostHAProxyConfigurationAcceptedCode int = 202
type PostHAProxyConfigurationAccepted struct {
	ReloadID string `json:"Reload-ID"`
	Payload string `json:"body,omitempty"`
}
func NewPostHAProxyConfigurationAccepted() *PostHAProxyConfigurationAccepted {
	return &PostHAProxyConfigurationAccepted{}
}
func (o *PostHAProxyConfigurationAccepted) WithReloadID(reloadID string) *PostHAProxyConfigurationAccepted {
	o.ReloadID = reloadID
	return o
}
func (o *PostHAProxyConfigurationAccepted) SetReloadID(reloadID string) {
	o.ReloadID = reloadID
}
func (o *PostHAProxyConfigurationAccepted) WithPayload(payload string) *PostHAProxyConfigurationAccepted {
	o.Payload = payload
	return o
}