func (o *GetIOAEventsParams) SetState(state *string) {
	o.State = state
}
SetState adds the state to the get i o a events 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/go-openapi/swag"
)
func NewGetIOAEventsParams() *GetIOAEventsParams {
	return &GetIOAEventsParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetIOAEventsParamsWithTimeout(timeout time.Duration) *GetIOAEventsParams {
	return &GetIOAEventsParams{
		timeout: timeout,
	}
}
func NewGetIOAEventsParamsWithContext(ctx context.Context) *GetIOAEventsParams {
	return &GetIOAEventsParams{
		Context: ctx,
	}
}
func NewGetIOAEventsParamsWithHTTPClient(client *http.Client) *GetIOAEventsParams {
	return &GetIOAEventsParams{
		HTTPClient: client,
	}
}
type GetIOAEventsParams struct {
	AccountID *string
	AwsAccountID *string
	AzureSubscriptionID *string
	AzureTenantID *string
	CloudProvider string
	Limit *int64
	Offset *int64
	PolicyID string
	State *string
	UserIds []string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetIOAEventsParams) WithDefaults() *GetIOAEventsParams {
	o.SetDefaults()
	return o
}
func (o *GetIOAEventsParams) SetDefaults() {
}
func (o *GetIOAEventsParams) WithTimeout(timeout time.Duration) *GetIOAEventsParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetIOAEventsParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetIOAEventsParams) WithContext(ctx context.Context) *GetIOAEventsParams {
	o.SetContext(ctx)
	return o
}
func (o *GetIOAEventsParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *GetIOAEventsParams) WithHTTPClient(client *http.Client) *GetIOAEventsParams {
	o.SetHTTPClient(client)
	return o
}
func (o *GetIOAEventsParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *GetIOAEventsParams) WithAccountID(accountID *string) *GetIOAEventsParams {
	o.SetAccountID(accountID)
	return o
}
func (o *GetIOAEventsParams) SetAccountID(accountID *string) {
	o.AccountID = accountID
}
func (o *GetIOAEventsParams) WithAwsAccountID(awsAccountID *string) *GetIOAEventsParams {
	o.SetAwsAccountID(awsAccountID)
	return o
}
func (o *GetIOAEventsParams) SetAwsAccountID(awsAccountID *string) {
	o.AwsAccountID = awsAccountID
}
func (o *GetIOAEventsParams) WithAzureSubscriptionID(azureSubscriptionID *string) *GetIOAEventsParams {
	o.SetAzureSubscriptionID(azureSubscriptionID)
	return o
}
func (o *GetIOAEventsParams) SetAzureSubscriptionID(azureSubscriptionID *string) {
	o.AzureSubscriptionID = azureSubscriptionID
}
func (o *GetIOAEventsParams) WithAzureTenantID(azureTenantID *string) *GetIOAEventsParams {
	o.SetAzureTenantID(azureTenantID)
	return o
}
func (o *GetIOAEventsParams) SetAzureTenantID(azureTenantID *string) {
	o.AzureTenantID = azureTenantID
}
func (o *GetIOAEventsParams) WithCloudProvider(cloudProvider string) *GetIOAEventsParams {
	o.SetCloudProvider(cloudProvider)
	return o
}
func (o *GetIOAEventsParams) SetCloudProvider(cloudProvider string) {
	o.CloudProvider = cloudProvider
}
func (o *GetIOAEventsParams) WithLimit(limit *int64) *GetIOAEventsParams {
	o.SetLimit(limit)
	return o
}
func (o *GetIOAEventsParams) SetLimit(limit *int64) {
	o.Limit = limit
}
func (o *GetIOAEventsParams) WithOffset(offset *int64) *GetIOAEventsParams {
	o.SetOffset(offset)
	return o
}
func (o *GetIOAEventsParams) SetOffset(offset *int64) {
	o.Offset = offset
}
func (o *GetIOAEventsParams) WithPolicyID(policyID string) *GetIOAEventsParams {
	o.SetPolicyID(policyID)
	return o
}
func (o *GetIOAEventsParams) SetPolicyID(policyID string) {
	o.PolicyID = policyID
}
func (o *GetIOAEventsParams) WithState(state *string) *GetIOAEventsParams {
	o.SetState(state)
	return o
}