// SetBrokerState sets the BrokerState field's value.
760887
func (s *BrokerSummary) SetBrokerState(v string) *BrokerSummary {
	s.BrokerState = &v
	return s
}
1015340
func (s *Handshake) SetState(v string) *Handshake {
	s.State = &v
	return s
}
1189564
func (s *UpdateBrokerRequest) SetBrokerId(v string) *UpdateBrokerRequest {
	s.BrokerId = &v
	return s
}
842404
func (s *Connection) SetConnectionState(v string) *Connection {
	s.ConnectionState = &v
	return s
}
462190
func (s *CreateBrokerRequest) SetBrokerName(v string) *CreateBrokerRequest {
	s.BrokerName = &v
	return s
}
908863
func (s *ListUsersInput) SetBrokerId(v string) *ListUsersInput {
	s.BrokerId = &v
	return s
}
342275
func (s *BrokerNodeGroupInfo) SetBrokerAZDistribution(v string) *BrokerNodeGroupInfo {
	s.BrokerAZDistribution = &v
	return s
}
660663
func (s *DescribeBrokerInput) SetBrokerId(v string) *DescribeBrokerInput {
	s.BrokerId = &v
	return s
}
320724
func (s *TargetHealth) SetState(v string) *TargetHealth {
	s.State = &v
	return s
}
1141865
func (c *Client) setConnectionState(currentState, newState ConnectionState) bool {
	return atomic.CompareAndSwapInt32(&c.connectionState, int32(currentState), int32(newState))
}
279653
func (s *ReservedElasticsearchInstance) SetState(v string) *ReservedElasticsearchInstance {
	s.State = &v
	return s
}
279831
func (s *LoadBalancerTargetGroupState) SetState(v string) *LoadBalancerTargetGroupState {
	s.State = &v
	return s
}
1291258
func (c ClientCookies) SetState(w http.ResponseWriter, r *http.Request, id string, value string) {
	http.SetCookie(w, &http.Cookie{
		Name:     stateCookiePrefix + id,
		Value:    value,
		MaxAge:   int(saml.MaxIssueDelay.Seconds()),
		HttpOnly: true,
		Secure:   c.Secure || r.URL.Scheme == "https",
		Path:     c.ServiceProvider.AcsURL.Path,
	})
}
28094
func (state *PluginRunState) SetState(nextState PluginState) {
	prevState := PluginState(atomic.SwapInt32(&state.state, int32(nextState)))

	if nextState != prevState {
		stateToMetric[prevState].Dec(1)
		stateToMetric[nextState].Inc(1)
	}
}
320399
func (s *ReplicationJob) SetState(v string) *ReplicationJob {
	s.State = &v
	return s
}
92381
func setFrameState(f *cdp.Frame, fs cdp.FrameState) {
	f.State |= fs
}
1018286
func (s *GatewayInfo) SetGatewayOperationalState(v string) *GatewayInfo {
	s.GatewayOperationalState = &v
	return s
}