// setState sets the internal state monitor with the given state.
966230
func (nm *NodeMonitor) setState(state *models.MonitorStatus) {
	nm.Mutex.Lock()
	nm.state = state
	nm.Mutex.Unlock()
}
623351
func (s *DescribeResourceOutput) SetState(v string) *DescribeResourceOutput {
	s.State = &v
	return s
}
818922
func (s *ReservedDBInstance) SetState(v string) *ReservedDBInstance {
	s.State = &v
	return s
}
201608
func (s *Service) SetState(v string) *Service {
	s.State = &v
	return s
}
230333
func (s *DescribeHapgOutput) SetState(v string) *DescribeHapgOutput {
	s.State = &v
	return s
}
855896
func (s *Malware) SetState(v string) *Malware {
	s.State = &v
	return s
}
847321
func (s *DescribeSessionsInput) SetState(v string) *DescribeSessionsInput {
	s.State = &v
	return s
}
373677
func (s *DeleteClusterOutput) SetState(v string) *DeleteClusterOutput {
	s.State = &v
	return s
}
829275
func (s *Crawler) SetState(v string) *Crawler {
	s.State = &v
	return s
}
399231
func (s *ExportSnapshotRecord) SetState(v string) *ExportSnapshotRecord {
	s.State = &v
	return s
}
469322
func (s *InstancePortState) SetState(v string) *InstancePortState {
	s.State = &v
	return s
}
1188981
func (s *DescribeRuleOutput) SetState(v string) *DescribeRuleOutput {
	s.State = &v
	return s
}
217509
func (s *AvailBlanking) SetState(v string) *AvailBlanking {
	s.State = &v
	return s
}
537395
func (s *GetVaultLockOutput) SetState(v string) *GetVaultLockOutput {
	s.State = &v
	return s
}
230406
func (s *ModificationState) SetState(v string) *ModificationState {
	s.State = &v
	return s
}
1203000
func (s *DescribeChannelOutput) SetState(v string) *DescribeChannelOutput {
	s.State = &v
	return s
}
500027
func (s *InstanceStatus) SetState(v string) *InstanceStatus {
	s.State = &v
	return s
}