// SetFrequency sets the Frequency field's value.
329748
func (s *ScheduledAuditMetadata) SetFrequency(v string) *ScheduledAuditMetadata {
	s.Frequency = &v
	return s
}
820778
func (a *Account) ChangeFrequencyPlan(gatewayID, plan string) error {
	return a.EditGateway(gatewayID, GatewayEdits{
		FrequencyPlan: plan,
	})
}
229753
func (s *GetFunctionOutput) SetConcurrency(v *PutFunctionConcurrencyOutput) *GetFunctionOutput {
	s.Concurrency = v
	return s
}
664160
func (s *InsertableImage) SetDuration(v int64) *InsertableImage {
	s.Duration = &v
	return s
}
538456
func (s *Reservation) SetDuration(v int64) *Reservation {
	s.Duration = &v
	return s
}
1182025
func (s *DescribeOfferingOutput) SetDuration(v int64) *DescribeOfferingOutput {
	s.Duration = &v
	return s
}
575192
func (s *ApplicationMetrics) SetLatency(v *Latency) *ApplicationMetrics {
	s.Latency = v
	return s
}
408647
func (cache *HealthStatusCache) SetPurgeFrequency(interval time.Duration) {
	cache.mu.Lock()
	if cache.stop != nil {
		close(cache.stop)
		// Unlock before the Wait to avoid deadlock with DeleteExpired()
		cache.mu.Unlock()

		cache.wg.Wait()

		// Reacquire the lock because we're about to change something in cache
		cache.mu.Lock()
	}
	defer cache.mu.Unlock()

	if interval > 0 {
		cache.stop = make(chan struct{})
		cache.wg.Add(1)
		go func(stopChannel chan struct{}) {
			defer cache.wg.Done()
			timer := time.NewTimer(interval)
			defer timer.Stop()
			for {
				select {
				case <-timer.C:
					cache.DeleteExpired()
					timer.Reset(interval)
				case <-stopChannel:
					return
				}
			}
		}(cache.stop)
	} else {
		cache.stop = nil
	}
}
162988
func (s *GetTagsInput) SetTimePeriod(v *DateInterval) *GetTagsInput {
	s.TimePeriod = v
	return s
}
229540
func (q *MatchQuery) CutoffFrequency(cutoff float64) *MatchQuery {
	q.cutoffFrequency = &cutoff
	return q
}
107761
func (s *CreateListenerOutput) SetListener(v *Listener) *CreateListenerOutput {
	s.Listener = v
	return s
}
379107
func (s *ForecastResult) SetTimePeriod(v *DateInterval) *ForecastResult {
	s.TimePeriod = v
	return s
}
205103
func (s *Offering) SetDuration(v int64) *Offering {
	s.Duration = &v
	return s
}
921745
func (s *UpdateListenerOutput) SetListener(v *Listener) *UpdateListenerOutput {
	s.Listener = v
	return s
}
292082
func (s *GetMaintenanceWindowOutput) SetDuration(v int64) *GetMaintenanceWindowOutput {
	s.Duration = &v
	return s
}
1174897
func (s *ServerReplicationParameters) SetFrequency(v int64) *ServerReplicationParameters {
	s.Frequency = &v
	return s
}
521055
func (s *ModifyClusterMaintenanceInput) SetDeferMaintenanceDuration(v int64) *ModifyClusterMaintenanceInput {
	s.DeferMaintenanceDuration = &v
	return s
}