// SetEntities sets the Entities field's value.
978395
func (s *DetectEntitiesOutput) SetEntities(v []*Entity) *DetectEntitiesOutput {
	s.Entities = v
	return s
}
1092655
func (s *DescribeEntityAggregatesOutput) SetEntityAggregates(v []*EntityAggregate) *DescribeEntityAggregatesOutput {
	s.EntityAggregates = v
	return s
}
461283
func (s *ListEmailIdentitiesOutput) SetEmailIdentities(v []*IdentityInfo) *ListEmailIdentitiesOutput {
	s.EmailIdentities = v
	return s
}
237034
func (s *HadoopJarStepConfig) SetProperties(v []*KeyValue) *HadoopJarStepConfig {
	s.Properties = v
	return s
}
1196245
func (s *ListActivitiesOutput) SetActivities(v []*ActivityListItem) *ListActivitiesOutput {
	s.Activities = v
	return s
}
740699
func (s *PutEventsOutput) SetEntries(v []*PutEventsResultEntry) *PutEventsOutput {
	s.Entries = v
	return s
}
1027191
func (s *PutEventsInput) SetEntries(v []*PutEventsRequestEntry) *PutEventsInput {
	s.Entries = v
	return s
}
1322976
func (s *ListTaskDefinitionFamiliesOutput) SetFamilies(v []*string) *ListTaskDefinitionFamiliesOutput {
	s.Families = v
	return s
}
345058
func (c *edgeCollection) SetProperties(ctx context.Context, options SetCollectionPropertiesOptions) error {
	if err := c.rawCollection().SetProperties(ctx, options); err != nil {
		return WithStack(err)
	}
	return nil
}
912040
func (s *EntityRecognizerInputDataConfig) SetEntityTypes(v []*EntityTypesListItem) *EntityRecognizerInputDataConfig {
	s.EntityTypes = v
	return s
}
519567
func (s *EventFilter) SetEntityArns(v []*string) *EventFilter {
	s.EntityArns = v
	return s
}
1369564
func (s *ListOperationsOutput) SetOperations(v []*OperationSummary) *ListOperationsOutput {
	s.Operations = v
	return s
}
425295
func (s *GetIdentityMailFromDomainAttributesInput) SetIdentities(v []*string) *GetIdentityMailFromDomainAttributesInput {
	s.Identities = v
	return s
}
805247
func (s *GetIdentityVerificationAttributesInput) SetIdentities(v []*string) *GetIdentityVerificationAttributesInput {
	s.Identities = v
	return s
}
565023
func (e *RegisteredEntity) SetFieldValues(entity DomainObject, fieldValues map[string]FieldValue, fieldsToRead []string) {
	r := reflect.ValueOf(entity).Elem()
	if fieldsToRead == nil {
		for columnName := range fieldValues {
			fieldsToRead = append(fieldsToRead, columnName)
		}
	}
	//for columnName, fieldValue := range fieldValues {
	for _, columnName := range fieldsToRead {
		// column name may be different from the entity's field name, so we
		// have to look it up along the way.
		fieldName, ok := e.table.ColToField[columnName]
		if !ok {
			continue // we ignore fields that we don't know about
		}
		fieldValue := fieldValues[columnName]
		val := r.FieldByName(fieldName)
		if !val.IsValid() {
			panic("Field " + fieldName + " is is not a valid field for " + e.table.StructName)
		}

		var fv reflect.Value
		if fieldValue != nil {
			fv = reflect.ValueOf(fieldValue)
		}
		if !fv.IsValid() || fv.Kind() == reflect.Ptr && fv.IsNil() {
			val.Set(reflect.Zero(val.Type()))
			continue
		}

		switch val.Type() {
		case uuidType, boolType, int64Type, stringType, int32Type, doubleType, timestampType, blobType:
			val.Set(reflect.Indirect(fv))
		case nullUUIDType, nullStringType, nullInt32Type, nullInt64Type, nullDoubleType, nullBoolType, nullTimeType:
			if fv.CanAddr() {
				val.Set(fv.Addr())
			} else {
				val.Set(fv)
			}
		}

	}
}
1138833
func (s *GetIdentityNotificationAttributesInput) SetIdentities(v []*string) *GetIdentityNotificationAttributesInput {
	s.Identities = v
	return s
}
1309389
func (s *Block) SetRelationships(v []*Relationship) *Block {
	s.Relationships = v
	return s
}