// SetModelName implements the ModelCommand interface.
173031
func (c *ModelCommandBase) SetModelName(modelName string, allowDefault bool) error {
	c._modelName = modelName
	c.allowDefaultModel = allowDefault

	// After setting the model name, we may need to ensure we have access to the
	// other model details if not already done.
	if err := c.maybeInitModel(); err != nil {
		return errors.Trace(err)
	}
	return nil
}
681179
func (s *Command) SetName(v string) *Command {
	s.Name = &v
	return s
}
1326153
func (s *ColumnMetadata) SetName(v string) *ColumnMetadata {
	s.Name = &v
	return s
}
1039265
func (s *DescribeModelPackageOutput) SetModelPackageName(v string) *DescribeModelPackageOutput {
	s.ModelPackageName = &v
	return s
}
766258
func (s *AutoScalingGroup) SetName(v string) *AutoScalingGroup {
	s.Name = &v
	return s
}
475550
func (e *Enforcer) SetModel(m model.Model) {
	e.model = m
	e.fm = model.LoadFunctionMap()
}
930232
func (s *EntityInfo) SetName(v string) *EntityInfo {
	s.Name = &v
	return s
}
693900
func (s *InstanceGroup) SetName(v string) *InstanceGroup {
	s.Name = &v
	return s
}
423967
func (s *UpdateModelOutput) SetModelId(v string) *UpdateModelOutput {
	s.ModelId = &v
	return s
}
1348495
func (s *Instance) SetName(v string) *Instance {
	s.Name = &v
	return s
}
933561
func (s *ActionContext) SetName(v string) *ActionContext {
	s.Name = &v
	return s
}
886337
func (rc *ReadinessCheck) SetName(name string) *ReadinessCheck {
	rc.Name = &name
	return rc
}
622262
func (s *Trait) SetName(v string) *Trait {
	s.Name = &v
	return s
}
485225
func (s *ColumnInfo) SetName(v string) *ColumnInfo {
	s.Name = &v
	return s
}
613761
func (s *Attribute) SetName(v string) *Attribute {
	s.Name = &v
	return s
}
1141337
func (s *CreateGroupMembershipInput) SetMemberName(v string) *CreateGroupMembershipInput {
	s.MemberName = &v
	return s
}
182975
func (s *ParameterHistory) SetName(v string) *ParameterHistory {
	s.Name = &v
	return s
}