// SetNaN sets z to a signaling NaN if signal is true or quiet NaN otherwise and
// returns z. No conditions are raised.
555628
func (z *Big) SetNaN(signal bool) *Big {
	if signal {
		z.form = snan
	} else {
		z.form = qnan
	}
	z.compact = 0 // payload
	return z
}
1002055
func (s *Rule) SetArn(v string) *Rule {
	s.Arn = &v
	return s
}
1088199
func (s *UserSummary) SetArn(v string) *UserSummary {
	s.Arn = &v
	return s
}
109636
func (s *Order) SetColumn(v string) *Order {
	s.Column = &v
	return s
}
504624
func (s *ChannelSummary) SetArn(v string) *ChannelSummary {
	s.Arn = &v
	return s
}
282087
func (s *NewPrivateVirtualInterface) SetAsn(v int64) *NewPrivateVirtualInterface {
	s.Asn = &v
	return s
}
899171
func (s *Stack) SetArn(v string) *Stack {
	s.Arn = &v
	return s
}
814769
func (h *Handle) SetAny(serial bool) (uint64, error) {
	if h.Unselected() == 0 {
		return invalidPos, ErrNoBitAvailable
	}
	return h.set(0, 0, h.bits-1, true, false, serial)
}
55853
func (s *UntagInput) SetArn(v string) *UntagInput {
	s.Arn = &v
	return s
}
1113171
func (s *SmsConfigurationType) SetSnsCallerArn(v string) *SmsConfigurationType {
	s.SnsCallerArn = &v
	return s
}
27595
func (s *Pipeline) SetArn(v string) *Pipeline {
	s.Arn = &v
	return s
}
902090
func (s *Offering) SetArn(v string) *Offering {
	s.Arn = &v
	return s
}
1311529
func (d *TSL2561Driver) SetGain(gain TSL2561Gain) error {
	if err := d.enable(); err != nil {
		return err
	}

	timeGainVal := uint8(d.integrationTime) | uint8(gain)
	if err := d.connection.WriteByteData(tsl2561CommandBit|tsl2561RegisterTiming, timeGainVal); err != nil {
		return err
	}
	d.gain = gain

	return d.disable()
}
639596
func (s *Type) SetArn(v string) *Type {
	s.Arn = &v
	return s
}
1254232
func SetN(n int) Option {
	return func(ngram *NGramIndex) error {
		if n < 2 || n > maxN {
			return errors.New("bad 'n' value for n-gram index")
		}
		ngram.n = n
		return nil
	}
}
139273
func (s *Event) SetArn(v string) *Event {
	s.Arn = &v
	return s
}
994135
func (s *GeoLocation) SetLon(v float64) *GeoLocation {
	s.Lon = &v
	return s
}