func (o *UpdateCSPMPolicySettingsParams) WithBody(body *models.RegistrationPolicyRequestExtV1) *UpdateCSPMPolicySettingsParams {
	o.SetBody(body)
	return o
}
WithBody adds the body to the update c s p m policy settings params
package cspm_registration
import (
	"context"
	"net/http"
	"time"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	cr "github.com/go-openapi/runtime/client"
	"github.com/go-openapi/strfmt"
	"github.com/crowdstrike/gofalcon/falcon/models"
)
func NewUpdateCSPMPolicySettingsParams() *UpdateCSPMPolicySettingsParams {
	return &UpdateCSPMPolicySettingsParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewUpdateCSPMPolicySettingsParamsWithTimeout(timeout time.Duration) *UpdateCSPMPolicySettingsParams {
	return &UpdateCSPMPolicySettingsParams{
		timeout: timeout,
	}
}
func NewUpdateCSPMPolicySettingsParamsWithContext(ctx context.Context) *UpdateCSPMPolicySettingsParams {
	return &UpdateCSPMPolicySettingsParams{
		Context: ctx,
	}
}
func NewUpdateCSPMPolicySettingsParamsWithHTTPClient(client *http.Client) *UpdateCSPMPolicySettingsParams {
	return &UpdateCSPMPolicySettingsParams{
		HTTPClient: client,
	}
}
type UpdateCSPMPolicySettingsParams struct {
	Body *models.RegistrationPolicyRequestExtV1
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *UpdateCSPMPolicySettingsParams) WithDefaults() *UpdateCSPMPolicySettingsParams {
	o.SetDefaults()
	return o
}
func (o *UpdateCSPMPolicySettingsParams) SetDefaults() {
}
func (o *UpdateCSPMPolicySettingsParams) WithTimeout(timeout time.Duration) *UpdateCSPMPolicySettingsParams {
	o.SetTimeout(timeout)
	return o
}
func (o *UpdateCSPMPolicySettingsParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *UpdateCSPMPolicySettingsParams) WithContext(ctx context.Context) *UpdateCSPMPolicySettingsParams {
	o.SetContext(ctx)
	return o
}
func (o *UpdateCSPMPolicySettingsParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *UpdateCSPMPolicySettingsParams) WithHTTPClient(client *http.Client) *UpdateCSPMPolicySettingsParams {
	o.SetHTTPClient(client)
	return o
}
func (o *UpdateCSPMPolicySettingsParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}