// SetLogTypesToEnable sets the LogTypesToEnable field's value.
439454
func (s *PendingCloudwatchLogsExports) SetLogTypesToEnable(v []*string) *PendingCloudwatchLogsExports {
	s.LogTypesToEnable = v
	return s
}
482459
func (s *ResourceIdentifier) SetResourceType(v string) *ResourceIdentifier {
	s.ResourceType = &v
	return s
}
1285921
func (s *Snapshot) SetRestorableNodeTypes(v []*string) *Snapshot {
	s.RestorableNodeTypes = v
	return s
}
940138
func (s *MonitoringConfiguration) SetLogLevel(v string) *MonitoringConfiguration {
	s.LogLevel = &v
	return s
}
240123
func (s *ParallelismConfigurationDescription) SetConfigurationType(v string) *ParallelismConfigurationDescription {
	s.ConfigurationType = &v
	return s
}
1153725
func (s *UpdateDetectorInput) SetEnable(v bool) *UpdateDetectorInput {
	s.Enable = &v
	return s
}
488697
func (s *CheckpointConfiguration) SetConfigurationType(v string) *CheckpointConfiguration {
	s.ConfigurationType = &v
	return s
}
394723
func (s *ParallelismConfiguration) SetConfigurationType(v string) *ParallelismConfiguration {
	s.ConfigurationType = &v
	return s
}
95156
func (s *ManagedResourceSummary) SetResourceType(v string) *ManagedResourceSummary {
	s.ResourceType = &v
	return s
}
326116
func (o *InstanceTypesGKE) SetPreemptible(v []string) *InstanceTypesGKE {
	if o.Preemptible = v; o.Preemptible == nil {
		o.nullFields = append(o.nullFields, "Preemptible")
	}
	return o
}
1351967
func (s *SpamCheckSetting) SetEnable(enable bool) *SpamCheckSetting {
	setEnable := enable
	s.Enable = &setEnable
	return s
}
592857
func (s *InputTemplate) SetFilterEnable(v string) *InputTemplate {
	s.FilterEnable = &v
	return s
}
260157
func (s *ReservedNode) SetReservedNodeOfferingType(v string) *ReservedNode {
	s.ReservedNodeOfferingType = &v
	return s
}
586271
func (s *UpdateAcceleratorAttributesInput) SetFlowLogsEnabled(v bool) *UpdateAcceleratorAttributesInput {
	s.FlowLogsEnabled = &v
	return s
}
20293
func (s *MonitoringConfigurationDescription) SetConfigurationType(v string) *MonitoringConfigurationDescription {
	s.ConfigurationType = &v
	return s
}
1036080
func (s *Resource) SetResourceType(v string) *Resource {
	s.ResourceType = &v
	return s
}
803155
func (c Capabilities) SetLogLevel(typ log.Type, level log.Level) {
	if _, ok := c[log.CapabilitiesKey]; !ok {
		c[log.CapabilitiesKey] = make(log.Capabilities)
	}
	m := c[log.CapabilitiesKey].(log.Capabilities)
	m[typ] = level
}