// SetIsNull sets the IsNull field's value.
499727
func (s *Value) SetIsNull(v bool) *Value {
	s.IsNull = &v
	return s
}
632699
func (s *UpdateCsvClassifierRequest) SetQuoteSymbol(v string) *UpdateCsvClassifierRequest {
	s.QuoteSymbol = &v
	return s
}
685699
func (s *Profile) SetIsDefault(v bool) *Profile {
	s.IsDefault = &v
	return s
}
1278481
func (s *EventDestinationDefinition) SetSnsDestination(v *SnsDestination) *EventDestinationDefinition {
	s.SnsDestination = v
	return s
}
105952
func (b *UpdateBuilder) SetFunc(column string, fn *Func) *UpdateBuilder {
	b.assignments = append(b.assignments, assignment{column: column, value: fn})
	return b
}
1095820
func (self *Commands) NotNull(value interface{}) error {
	if value != nil {
		return nil
	} else {
		return fmt.Errorf("Expected non-null value")
	}
}
513600
func (c ColumnElem) SetInner(clause Clause) ColumnElem {
	c.inner = clause
	return c
}
242931
func (s *QualificationType) SetIsRequestable(v bool) *QualificationType {
	s.IsRequestable = &v
	return s
}
1125981
func (section *Section) SetNull(name string) {
	current, err := section.Get(name)

	// Already is a Null, nothing to do
	if err == nil && current.GetType() == NULL {
		return
	}
	section.Set(name, NewNull())
}
619928
func (s *ProjectSource) SetInsecureSsl(v bool) *ProjectSource {
	s.InsecureSsl = &v
	return s
}
597477
func (a *CallFunctionOnArgs) SetSilent(silent bool) *CallFunctionOnArgs {
	a.Silent = &silent
	return a
}
288876
func (s *Expression) SetNot(v *Expression) *Expression {
	s.Not = v
	return s
}
483307
func (dec *Decoder) SQLNullString(v *sql.NullString) error {
	var b *string
	if err := dec.StringNull(&b); err != nil {
		return err
	}
	if b == nil {
		v.Valid = false
	} else {
		v.String = *b
		v.Valid = true
	}
	return nil
}
1199857
func (r *Lexer) IsNull() bool {
	if r.token.kind == tokenUndef && r.Ok() {
		r.FetchToken()
	}
	return r.Ok() && r.token.kind == tokenNull
}
343329
func (o *IntOptions) SetBool(key string, value bool) {
	intValue := OptionDisabled
	if value {
		intValue = OptionEnabled
	}
	o.optsMU.Lock()
	o.Opts[key] = intValue
	o.optsMU.Unlock()
}
257633
func NewNullFunc(key Key, value bool) (Function, error) {
	return &nullFunc{key, value}, nil
}
451027
func encodeNull(buf *bytes.Buffer, name string) error {
	// type
	if err := buf.WriteByte(_NULL_VALUE); err != nil {
		return err
	}

	// name
	return writeCstring(buf, name)
}