// setrem removes members from a set. Returns nr of deleted keys.
510175
func (db *RedisDB) setRem(k string, fields ...string) int {
	s, ok := db.setKeys[k]
	if !ok {
		return 0
	}
	removed := 0
	for _, f := range fields {
		if _, ok := s[f]; ok {
			removed++
			delete(s, f)
		}
	}
	if len(s) == 0 {
		db.del(k, true)
	} else {
		db.setKeys[k] = s
	}
	db.keyVersion[k]++
	return removed
}
544529
func (s *ReservationUtilizationGroup) SetKey(v string) *ReservationUtilizationGroup {
	s.Key = &v
	return s
}
237935
func (s *MapFilter) SetKey(v string) *MapFilter {
	s.Key = &v
	return s
}
910108
func (s *PutObjectLegalHoldInput) SetKey(v string) *PutObjectLegalHoldInput {
	s.Key = &v
	return s
}
1064354
func (s *AutomationExecutionFilter) SetKey(v string) *AutomationExecutionFilter {
	s.Key = &v
	return s
}
734507
func (s *S3Location) SetKey(v string) *S3Location {
	s.Key = &v
	return s
}
1111117
func (s *AccessLevelFilter) SetKey(v string) *AccessLevelFilter {
	s.Key = &v
	return s
}
1074335
func (s *InstanceInformationStringFilter) SetKey(v string) *InstanceInformationStringFilter {
	s.Key = &v
	return s
}
1022283
func (s *S3SignedObject) SetKey(v string) *S3SignedObject {
	s.Key = &v
	return s
}
820460
func (s *DimensionValues) SetKey(v string) *DimensionValues {
	s.Key = &v
	return s
}
705162
func (s *TagDescription) SetKey(v string) *TagDescription {
	s.Key = &v
	return s
}
928516
func (s *Attribute) SetKey(v string) *Attribute {
	s.Key = &v
	return s
}
273212
func (s *StepExecutionFilter) SetKey(v string) *StepExecutionFilter {
	s.Key = &v
	return s
}
466204
func (s *ReviewResultDetail) SetKey(v string) *ReviewResultDetail {
	s.Key = &v
	return s
}
107809
func (s *AssociationFilter) SetKey(v string) *AssociationFilter {
	s.Key = &v
	return s
}
1306254
func (s *CommandFilter) SetKey(v string) *CommandFilter {
	s.Key = &v
	return s
}
430837
func (s *AwsSecurityFinding) SetRemediation(v *Remediation) *AwsSecurityFinding {
	s.Remediation = v
	return s
}