func (o *DeleteAWSRegionNotFound) SetPayload(payload *models.Error) {
	o.Payload = payload
}
SetPayload sets the payload to the delete a w s region not found response
package service_discovery
import (
	"net/http"
	"github.com/go-openapi/runtime"
	"github.com/haproxytech/client-native/v2/models"
)
const DeleteAWSRegionNoContentCode int = 204
type DeleteAWSRegionNoContent struct {
}
func NewDeleteAWSRegionNoContent() *DeleteAWSRegionNoContent {
	return &DeleteAWSRegionNoContent{}
}
func (o *DeleteAWSRegionNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
	rw.Header().Del(runtime.HeaderContentType)  
	rw.WriteHeader(204)
}
const DeleteAWSRegionNotFoundCode int = 404
type DeleteAWSRegionNotFound struct {
	ConfigurationVersion string `json:"Configuration-Version"`
	Payload *models.Error `json:"body,omitempty"`
}
func NewDeleteAWSRegionNotFound() *DeleteAWSRegionNotFound {
	return &DeleteAWSRegionNotFound{}
}
func (o *DeleteAWSRegionNotFound) WithConfigurationVersion(configurationVersion string) *DeleteAWSRegionNotFound {
	o.ConfigurationVersion = configurationVersion
	return o
}
func (o *DeleteAWSRegionNotFound) SetConfigurationVersion(configurationVersion string) {
	o.ConfigurationVersion = configurationVersion
}
func (o *DeleteAWSRegionNotFound) WithPayload(payload *models.Error) *DeleteAWSRegionNotFound {
	o.Payload = payload
	return o
}