func NewDeleteAWSAccountsMixin0Forbidden() *DeleteAWSAccountsMixin0Forbidden {
	return &DeleteAWSAccountsMixin0Forbidden{}
}
NewDeleteAWSAccountsMixin0Forbidden creates a DeleteAWSAccountsMixin0Forbidden with default headers values
package kubernetes_protection
import (
	"fmt"
	"io"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
	"github.com/crowdstrike/gofalcon/falcon/models"
)
type DeleteAWSAccountsMixin0Reader struct {
	formats strfmt.Registry
}
func (o *DeleteAWSAccountsMixin0Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
	switch response.Code() {
	case 200:
		result := NewDeleteAWSAccountsMixin0OK()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	case 207:
		result := NewDeleteAWSAccountsMixin0MultiStatus()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	case 400:
		result := NewDeleteAWSAccountsMixin0BadRequest()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 403:
		result := NewDeleteAWSAccountsMixin0Forbidden()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 429:
		result := NewDeleteAWSAccountsMixin0TooManyRequests()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 500:
		result := NewDeleteAWSAccountsMixin0InternalServerError()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	default:
		result := NewDeleteAWSAccountsMixin0Default(response.Code())
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		if response.Code()/100 == 2 {
			return result, nil
		}
		return nil, result
	}
}
func NewDeleteAWSAccountsMixin0OK() *DeleteAWSAccountsMixin0OK {
	return &DeleteAWSAccountsMixin0OK{}
}
type DeleteAWSAccountsMixin0OK struct {
	XCSTRACEID string
	XRateLimitLimit int64
	XRateLimitRemaining int64
	Payload *models.MsaMetaInfo
}
func (o *DeleteAWSAccountsMixin0OK) Error() string {
	return fmt.Sprintf("[DELETE /kubernetes-protection/entities/accounts/aws/v1][%d] deleteAWSAccountsMixin0OK  %+v", 200, o.Payload)
}
func (o *DeleteAWSAccountsMixin0OK) GetPayload() *models.MsaMetaInfo {
	return o.Payload
}
func (o *DeleteAWSAccountsMixin0OK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	hdrXCSTRACEID := response.GetHeader("X-CS-TRACEID")
	if hdrXCSTRACEID != "" {
		o.XCSTRACEID = hdrXCSTRACEID
	}
	hdrXRateLimitLimit := response.GetHeader("X-RateLimit-Limit")
	if hdrXRateLimitLimit != "" {
		valxRateLimitLimit, err := swag.ConvertInt64(hdrXRateLimitLimit)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Limit", "header", "int64", hdrXRateLimitLimit)
		}
		o.XRateLimitLimit = valxRateLimitLimit
	}
	hdrXRateLimitRemaining := response.GetHeader("X-RateLimit-Remaining")
	if hdrXRateLimitRemaining != "" {
		valxRateLimitRemaining, err := swag.ConvertInt64(hdrXRateLimitRemaining)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Remaining", "header", "int64", hdrXRateLimitRemaining)
		}
		o.XRateLimitRemaining = valxRateLimitRemaining
	}
	o.Payload = new(models.MsaMetaInfo)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewDeleteAWSAccountsMixin0MultiStatus() *DeleteAWSAccountsMixin0MultiStatus {
	return &DeleteAWSAccountsMixin0MultiStatus{}
}
type DeleteAWSAccountsMixin0MultiStatus struct {
	XCSTRACEID string
	XRateLimitLimit int64
	XRateLimitRemaining int64
	Payload *models.MsaMetaInfo
}
func (o *DeleteAWSAccountsMixin0MultiStatus) Error() string {
	return fmt.Sprintf("[DELETE /kubernetes-protection/entities/accounts/aws/v1][%d] deleteAWSAccountsMixin0MultiStatus  %+v", 207, o.Payload)
}
func (o *DeleteAWSAccountsMixin0MultiStatus) GetPayload() *models.MsaMetaInfo {
	return o.Payload
}
func (o *DeleteAWSAccountsMixin0MultiStatus) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	hdrXCSTRACEID := response.GetHeader("X-CS-TRACEID")
	if hdrXCSTRACEID != "" {
		o.XCSTRACEID = hdrXCSTRACEID
	}
	hdrXRateLimitLimit := response.GetHeader("X-RateLimit-Limit")
	if hdrXRateLimitLimit != "" {
		valxRateLimitLimit, err := swag.ConvertInt64(hdrXRateLimitLimit)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Limit", "header", "int64", hdrXRateLimitLimit)
		}
		o.XRateLimitLimit = valxRateLimitLimit
	}
	hdrXRateLimitRemaining := response.GetHeader("X-RateLimit-Remaining")
	if hdrXRateLimitRemaining != "" {
		valxRateLimitRemaining, err := swag.ConvertInt64(hdrXRateLimitRemaining)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Remaining", "header", "int64", hdrXRateLimitRemaining)
		}
		o.XRateLimitRemaining = valxRateLimitRemaining
	}
	o.Payload = new(models.MsaMetaInfo)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewDeleteAWSAccountsMixin0BadRequest() *DeleteAWSAccountsMixin0BadRequest {
	return &DeleteAWSAccountsMixin0BadRequest{}
}
type DeleteAWSAccountsMixin0BadRequest struct {
	XCSTRACEID string
	XRateLimitLimit int64
	XRateLimitRemaining int64
	Payload *models.MsaMetaInfo
}
func (o *DeleteAWSAccountsMixin0BadRequest) Error() string {
	return fmt.Sprintf("[DELETE /kubernetes-protection/entities/accounts/aws/v1][%d] deleteAWSAccountsMixin0BadRequest  %+v", 400, o.Payload)
}
func (o *DeleteAWSAccountsMixin0BadRequest) GetPayload() *models.MsaMetaInfo {
	return o.Payload
}
func (o *DeleteAWSAccountsMixin0BadRequest) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	hdrXCSTRACEID := response.GetHeader("X-CS-TRACEID")
	if hdrXCSTRACEID != "" {
		o.XCSTRACEID = hdrXCSTRACEID
	}
	hdrXRateLimitLimit := response.GetHeader("X-RateLimit-Limit")
	if hdrXRateLimitLimit != "" {
		valxRateLimitLimit, err := swag.ConvertInt64(hdrXRateLimitLimit)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Limit", "header", "int64", hdrXRateLimitLimit)
		}
		o.XRateLimitLimit = valxRateLimitLimit
	}
	hdrXRateLimitRemaining := response.GetHeader("X-RateLimit-Remaining")
	if hdrXRateLimitRemaining != "" {
		valxRateLimitRemaining, err := swag.ConvertInt64(hdrXRateLimitRemaining)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Remaining", "header", "int64", hdrXRateLimitRemaining)
		}
		o.XRateLimitRemaining = valxRateLimitRemaining
	}
	o.Payload = new(models.MsaMetaInfo)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}