func (ao *AggregateOptions) SetAllowDiskUse(b bool) *AggregateOptions {
	ao.AllowDiskUse = &b
	return ao
}
SetAllowDiskUse sets the value for the AllowDiskUse field.
package options
import "time"
type AggregateOptions struct {
	AllowDiskUse *bool
	BatchSize *int32
	BypassDocumentValidation *bool
	Collation *Collation
	MaxTime *time.Duration
	MaxAwaitTime *time.Duration
	Comment *string
	Hint interface{}
}
func Aggregate() *AggregateOptions {
	return &AggregateOptions{}
}