// assignValue is used to extract a value ensuring it is a string
967889
func assignValue(params map[string]interface{}, name string, out *string) error {
	if raw, ok := params[name]; ok {
		val, ok := raw.(string)
		if !ok {
			return fmt.Errorf("Expecting %s to be a string", name)
		}
		*out = val
		delete(params, name)
	}
	return nil
}
1009987
func (intstr *IntOrString) IntValue() int {
	if intstr.Type == String {
		i, _ := strconv.Atoi(intstr.StrVal)
		return i
	}
	return int(intstr.IntVal)
}
651699
func (s *FileSystemSize) SetValue(v int64) *FileSystemSize {
	s.Value = &v
	return s
}
170504
func (s *UpdateCondition) SetValue(v string) *UpdateCondition {
	s.Value = &v
	return s
}
769679
func (s *SystemControl) SetValue(v string) *SystemControl {
	s.Value = &v
	return s
}
533345
func (s *ResourceTag) SetValue(v string) *ResourceTag {
	s.Value = &v
	return s
}
1322926
func (s *AdditionalAttribute) SetValue(v string) *AdditionalAttribute {
	s.Value = &v
	return s
}
1340444
func (s *Rule) SetValue(v string) *Rule {
	s.Value = &v
	return s
}
656680
func (s *MappingRule) SetValue(v string) *MappingRule {
	s.Value = &v
	return s
}
395279
func (s *ConfigurationOptionSetting) SetValue(v string) *ConfigurationOptionSetting {
	s.Value = &v
	return s
}
39050
func (s *TargetGroupAttribute) SetValue(v string) *TargetGroupAttribute {
	s.Value = &v
	return s
}
358565
func (s *MapFilter) SetValue(v string) *MapFilter {
	s.Value = &v
	return s
}
279288
func (c *Context) SetValue(key fmt.Stringer, value interface{}) {
	c.values[key] = value
}
889075
func (s *DeletableAttribute) SetValue(v string) *DeletableAttribute {
	s.Value = &v
	return s
}
369480
func (s *EnumerationValue) SetValue(v string) *EnumerationValue {
	s.Value = &v
	return s
}
1303781
func (s *Parameter) SetValue(v string) *Parameter {
	s.Value = &v
	return s
}
719730
func (s *ExtraParam) SetValue(v string) *ExtraParam {
	s.Value = &v
	return s
}