func (o *GetIOAEventsParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
SetContext adds the context 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
}