func (o *ListAuditLogEventsParams) SetOrderDirection(orderDirection *string) {
	o.OrderDirection = orderDirection
}
SetOrderDirection adds the orderDirection to the list audit log events params
package audit_log
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 NewListAuditLogEventsParams() *ListAuditLogEventsParams {
	var (
		maxItemsDefault       = int64(100)
		orderDirectionDefault = string("desc")
	)
	return &ListAuditLogEventsParams{
		MaxItems:       &maxItemsDefault,
		OrderDirection: &orderDirectionDefault,
		timeout: cr.DefaultTimeout,
	}
}
func NewListAuditLogEventsParamsWithTimeout(timeout time.Duration) *ListAuditLogEventsParams {
	var (
		maxItemsDefault       = int64(100)
		orderDirectionDefault = string("desc")
	)
	return &ListAuditLogEventsParams{
		MaxItems:       &maxItemsDefault,
		OrderDirection: &orderDirectionDefault,
		timeout: timeout,
	}
}
func NewListAuditLogEventsParamsWithContext(ctx context.Context) *ListAuditLogEventsParams {
	var (
		maxItemsDefault       = int64(100)
		orderDirectionDefault = string("desc")
	)
	return &ListAuditLogEventsParams{
		MaxItems:       &maxItemsDefault,
		OrderDirection: &orderDirectionDefault,
		Context: ctx,
	}
}
func NewListAuditLogEventsParamsWithHTTPClient(client *http.Client) *ListAuditLogEventsParams {
	var (
		maxItemsDefault       = int64(100)
		orderDirectionDefault = string("desc")
	)
	return &ListAuditLogEventsParams{
		MaxItems:       &maxItemsDefault,
		OrderDirection: &orderDirectionDefault,
		HTTPClient:     client,
	}
}
type ListAuditLogEventsParams struct {
	MaxItems *int64
	NextToken *string
	OrderDirection *string
	RangeFrom *strfmt.DateTime
	RangeTo *strfmt.DateTime
	SubjectKind *string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *ListAuditLogEventsParams) WithTimeout(timeout time.Duration) *ListAuditLogEventsParams {
	o.SetTimeout(timeout)
	return o
}
func (o *ListAuditLogEventsParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *ListAuditLogEventsParams) WithContext(ctx context.Context) *ListAuditLogEventsParams {
	o.SetContext(ctx)
	return o
}
func (o *ListAuditLogEventsParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *ListAuditLogEventsParams) WithHTTPClient(client *http.Client) *ListAuditLogEventsParams {
	o.SetHTTPClient(client)
	return o
}
func (o *ListAuditLogEventsParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *ListAuditLogEventsParams) WithMaxItems(maxItems *int64) *ListAuditLogEventsParams {
	o.SetMaxItems(maxItems)
	return o
}
func (o *ListAuditLogEventsParams) SetMaxItems(maxItems *int64) {
	o.MaxItems = maxItems
}
func (o *ListAuditLogEventsParams) WithNextToken(nextToken *string) *ListAuditLogEventsParams {
	o.SetNextToken(nextToken)
	return o
}
func (o *ListAuditLogEventsParams) SetNextToken(nextToken *string) {
	o.NextToken = nextToken
}
func (o *ListAuditLogEventsParams) WithOrderDirection(orderDirection *string) *ListAuditLogEventsParams {
	o.SetOrderDirection(orderDirection)
	return o
}