func (o *GetComplianceByResourceTypesParams) WithOffset(offset *int64) *GetComplianceByResourceTypesParams {
	o.SetOffset(offset)
	return o
}
WithOffset adds the offset to the get compliance by resource types params
package scans
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 NewGetComplianceByResourceTypesParams() *GetComplianceByResourceTypesParams {
	var (
		maxItemsDefault = int64(100)
		offsetDefault   = int64(0)
	)
	return &GetComplianceByResourceTypesParams{
		MaxItems: &maxItemsDefault,
		Offset:   &offsetDefault,
		timeout: cr.DefaultTimeout,
	}
}
func NewGetComplianceByResourceTypesParamsWithTimeout(timeout time.Duration) *GetComplianceByResourceTypesParams {
	var (
		maxItemsDefault = int64(100)
		offsetDefault   = int64(0)
	)
	return &GetComplianceByResourceTypesParams{
		MaxItems: &maxItemsDefault,
		Offset:   &offsetDefault,
		timeout: timeout,
	}
}
func NewGetComplianceByResourceTypesParamsWithContext(ctx context.Context) *GetComplianceByResourceTypesParams {
	var (
		maxItemsDefault = int64(100)
		offsetDefault   = int64(0)
	)
	return &GetComplianceByResourceTypesParams{
		MaxItems: &maxItemsDefault,
		Offset:   &offsetDefault,
		Context: ctx,
	}
}
func NewGetComplianceByResourceTypesParamsWithHTTPClient(client *http.Client) *GetComplianceByResourceTypesParams {
	var (
		maxItemsDefault = int64(100)
		offsetDefault   = int64(0)
	)
	return &GetComplianceByResourceTypesParams{
		MaxItems:   &maxItemsDefault,
		Offset:     &offsetDefault,
		HTTPClient: client,
	}
}
type GetComplianceByResourceTypesParams struct {
	Family []string
	MaxItems *int64
	Offset *int64
	ResourceType []string
	ScanID string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetComplianceByResourceTypesParams) WithTimeout(timeout time.Duration) *GetComplianceByResourceTypesParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetComplianceByResourceTypesParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetComplianceByResourceTypesParams) WithContext(ctx context.Context) *GetComplianceByResourceTypesParams {
	o.SetContext(ctx)
	return o
}
func (o *GetComplianceByResourceTypesParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *GetComplianceByResourceTypesParams) WithHTTPClient(client *http.Client) *GetComplianceByResourceTypesParams {
	o.SetHTTPClient(client)
	return o
}
func (o *GetComplianceByResourceTypesParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *GetComplianceByResourceTypesParams) WithFamily(family []string) *GetComplianceByResourceTypesParams {
	o.SetFamily(family)
	return o
}
func (o *GetComplianceByResourceTypesParams) SetFamily(family []string) {
	o.Family = family
}
func (o *GetComplianceByResourceTypesParams) WithMaxItems(maxItems *int64) *GetComplianceByResourceTypesParams {
	o.SetMaxItems(maxItems)
	return o
}
func (o *GetComplianceByResourceTypesParams) SetMaxItems(maxItems *int64) {
	o.MaxItems = maxItems
}