// SetType will set the format string of a column based on the type that you want to set it to.
// This function does not really make a lot of sense.
502443
func (c *Col) SetType(cellType CellType) {
	switch cellType {
	case CellTypeString:
		c.numFmt = builtInNumFmt[builtInNumFmtIndex_STRING]
	case CellTypeNumeric:
		c.numFmt = builtInNumFmt[builtInNumFmtIndex_INT]
	case CellTypeBool:
		c.numFmt = builtInNumFmt[builtInNumFmtIndex_GENERAL] //TEMP
	case CellTypeInline:
		c.numFmt = builtInNumFmt[builtInNumFmtIndex_STRING]
	case CellTypeError:
		c.numFmt = builtInNumFmt[builtInNumFmtIndex_GENERAL] //TEMP
	case CellTypeDate:
		// Cells that are stored as dates are not properly supported in this library.
		// They should instead be stored as a Numeric with a date format.
		c.numFmt = builtInNumFmt[builtInNumFmtIndex_GENERAL]
	case CellTypeStringFormula:
		c.numFmt = builtInNumFmt[builtInNumFmtIndex_STRING]
	}
}
652906
func (s *Trigger) SetType(v string) *Trigger {
	s.Type = &v
	return s
}
432893
func (s *Entity) SetType(v string) *Entity {
	s.Type = &v
	return s
}
1245689
func (s *Item) SetType(v string) *Item {
	s.Type = &v
	return s
}
1033705
func (s *HostedZoneLimit) SetType(v string) *HostedZoneLimit {
	s.Type = &v
	return s
}
895679
func (s *UnmappedAttribute) SetType(v string) *UnmappedAttribute {
	s.Type = &v
	return s
}
331981
func (s *User) SetType(v string) *User {
	s.Type = &v
	return s
}
366689
func (s *ProxyConfiguration) SetType(v string) *ProxyConfiguration {
	s.Type = &v
	return s
}
208675
func (s *FieldToMatch) SetType(v string) *FieldToMatch {
	s.Type = &v
	return s
}
584224
func (s *Operation) SetType(v string) *Operation {
	s.Type = &v
	return s
}
443015
func (s *ComplianceStringFilter) SetType(v string) *ComplianceStringFilter {
	s.Type = &v
	return s
}
237509
func (s *WafAction) SetType(v string) *WafAction {
	s.Type = &v
	return s
}
243363
func (s *EncryptionKey) SetType(v string) *EncryptionKey {
	s.Type = &v
	return s
}
458933
func (s *ArtifactLocation) SetType(v string) *ArtifactLocation {
	s.Type = &v
	return s
}
1201719
func (s *CreateUploadInput) SetType(v string) *CreateUploadInput {
	s.Type = &v
	return s
}
1357808
func (s *ActivatedRule) SetType(v string) *ActivatedRule {
	s.Type = &v
	return s
}
400108
func (s *Input) SetType(v string) *Input {
	s.Type = &v
	return s
}