// WithLookupOCIHookPath sets the hook path for the binary via a binary name
191871
func WithLookupOCIHookPath(name string) Opts {
	return func(c *config) error {
		path, err := exec.LookPath(name)
		if err != nil {
			return err
		}
		c.OCIHookPath = path
		return nil
	}
}
516587
func (o *PlaceOrderURL) WithBasePath(bp string) *PlaceOrderURL {
	o.SetBasePath(bp)
	return o
}
1113780
func (o *GetFqdnCacheIDURL) WithBasePath(bp string) *GetFqdnCacheIDURL {
	o.SetBasePath(bp)
	return o
}
1219467
func (o *PostIPAMURL) WithBasePath(bp string) *PostIPAMURL {
	o.SetBasePath(bp)
	return o
}
147366
func (o *PutEndpointIDURL) WithBasePath(bp string) *PutEndpointIDURL {
	o.SetBasePath(bp)
	return o
}
238789
func WithLookupEnv(ctx context.Context, f lookupEnvFunc) context.Context {
	return context.WithValue(ctx, ctxOSLookupEnvKey, f)
}
1300202
func (o *DeletePolicyURL) WithBasePath(bp string) *DeletePolicyURL {
	o.SetBasePath(bp)
	return o
}
223927
func (o *ListTasksURL) WithBasePath(bp string) *ListTasksURL {
	o.SetBasePath(bp)
	return o
}
966737
func (o *CreateUserURL) WithBasePath(bp string) *CreateUserURL {
	o.SetBasePath(bp)
	return o
}
710308
func (o *OrderGetURL) WithBasePath(bp string) *OrderGetURL {
	o.SetBasePath(bp)
	return o
}
29364
func WithPath(path string) PrepareDecorator {
	return func(p Preparer) Preparer {
		return PreparerFunc(func(r *http.Request) (*http.Request, error) {
			r, err := p.Prepare(r)
			if err == nil {
				if r.URL == nil {
					return r, NewError("autorest", "WithPath", "Invoked with a nil URL")
				}
				if r.URL, err = parseURL(r.URL, path); err != nil {
					return r, err
				}
			}
			return r, err
		})
	}
}
1340383
func (o *OrderDeleteURL) WithBasePath(bp string) *OrderDeleteURL {
	o.SetBasePath(bp)
	return o
}
403880
func (o *PetGetURL) WithBasePath(bp string) *PetGetURL {
	o.SetBasePath(bp)
	return o
}
35074
func (o *CreateUsersWithListInputURL) WithBasePath(bp string) *CreateUsersWithListInputURL {
	o.SetBasePath(bp)
	return o
}
493645
func (o *GetMapURL) WithBasePath(bp string) *GetMapURL {
	o.SetBasePath(bp)
	return o
}
921065
func (o *GetFqdnCacheURL) WithBasePath(bp string) *GetFqdnCacheURL {
	o.SetBasePath(bp)
	return o
}
292730
func (o *AddOneURL) WithBasePath(bp string) *AddOneURL {
	o.SetBasePath(bp)
	return o
}