func (o *CreatePolicyParams) WithTimeout(timeout time.Duration) *CreatePolicyParams {
	o.SetTimeout(timeout)
	return o
}
WithTimeout adds the timeout to the create policy params
package metadata
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/fugue/fugue-client/models"
)
func NewCreatePolicyParams() *CreatePolicyParams {
	var ()
	return &CreatePolicyParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewCreatePolicyParamsWithTimeout(timeout time.Duration) *CreatePolicyParams {
	var ()
	return &CreatePolicyParams{
		timeout: timeout,
	}
}
func NewCreatePolicyParamsWithContext(ctx context.Context) *CreatePolicyParams {
	var ()
	return &CreatePolicyParams{
		Context: ctx,
	}
}
func NewCreatePolicyParamsWithHTTPClient(client *http.Client) *CreatePolicyParams {
	var ()
	return &CreatePolicyParams{
		HTTPClient: client,
	}
}
type CreatePolicyParams struct {
	Input *models.CreatePolicyInput
	Provider string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}