// toValue converts any value to reflect.Value
177658
func toValue(p interface{}) reflect.Value {
	v := reflect.ValueOf(p)
	if v.Kind() == reflect.Ptr {
		v = v.Elem()
	}
	return v
}
886411
func (s *Setting) SetValue(v string) *Setting {
	s.Value = &v
	return s
}
1133322
func (s *Eyeglasses) SetValue(v bool) *Eyeglasses {
	s.Value = &v
	return s
}
656680
func (s *MappingRule) SetValue(v string) *MappingRule {
	s.Value = &v
	return s
}
317472
func (s *EyeOpen) SetValue(v bool) *EyeOpen {
	s.Value = &v
	return s
}
1331394
func (s *HandshakeResource) SetValue(v string) *HandshakeResource {
	s.Value = &v
	return s
}
204603
func (s *MetricDimension) SetValue(v string) *MetricDimension {
	s.Value = &v
	return s
}
1046827
func (ctx *Context) WithValue(key, val interface{}) context.Context {
	return context.WithValue(ctx._ctx, key, val)
}
281398
func (s *AssociationExecutionFilter) SetValue(v string) *AssociationExecutionFilter {
	s.Value = &v
	return s
}
627214
func (s *ListAccountSettingsInput) SetValue(v string) *ListAccountSettingsInput {
	s.Value = &v
	return s
}
963393
func (s *MessageData) SetValue(v string) *MessageData {
	s.Value = &v
	return s
}
965114
func (s *OptionSetting) SetValue(v string) *OptionSetting {
	s.Value = &v
	return s
}
405581
func (s *DimensionFilter) SetValue(v string) *DimensionFilter {
	s.Value = &v
	return s
}
452143
func (s *ResourceRequirement) SetValue(v string) *ResourceRequirement {
	s.Value = &v
	return s
}
1327202
func AsValue(v interface{}) (out Value, ok bool) {
	if v == nil {
		return nil, true
	}
	switch v := v.(type) {
	case Value:
		out = v
	case string:
		out = String(v)
	case int:
		out = Int(v)
	case int8:
		out = Int(v)
	case int16:
		out = Int(v)
	case int32:
		out = Int(v)
	case int64:
		out = Int(v)
	case uint:
		out = Int(v)
	case uint8:
		out = Int(v)
	case uint16:
		out = Int(v)
	case uint32:
		out = Int(v)
	case uint64:
		out = Int(v)
	case float64:
		out = Float(v)
	case float32:
		out = Float(v)
	case bool:
		out = Bool(v)
	case time.Time:
		out = Time(v)
	default:
		return nil, false
	}
	return out, true
}
441443
func (s *TagRef) SetValue(v string) *TagRef {
	s.Value = &v
	return s
}
382721
func (s *ReservationUtilizationGroup) SetValue(v string) *ReservationUtilizationGroup {
	s.Value = &v
	return s
}