// SetSession sets the Session field's value.
18786
func (s *AdminRespondToAuthChallengeOutput) SetSession(v string) *AdminRespondToAuthChallengeOutput {
	s.Session = &v
	return s
}
1176068
func (r *Room) SetSessionData(ctx context.Context, data *SessionData) ([]byte, error) {
	s := pitaya.GetSessionFromCtx(ctx)
	err := s.SetData(data.Data)
	if err != nil {
		return nil, err
	}
	err = s.PushToFront(ctx)
	if err != nil {
		return nil, err
	}
	return []byte("success"), nil
}
71966
func (s *MatchmakingConfiguration) SetGameSessionData(v string) *MatchmakingConfiguration {
	s.GameSessionData = &v
	return s
}
566245
func (s *ListRecordsOutput) SetSyncSessionToken(v string) *ListRecordsOutput {
	s.SyncSessionToken = &v
	return s
}
936924
func StartSession(ctx context.Context) context.Context {
	sessionTrackerOnce.Do(startSessionTracking)
	return sessionTracker.StartSession(ctx)
}
1357922
func (s *UpdateRecordsInput) SetSyncSessionToken(v string) *UpdateRecordsInput {
	s.SyncSessionToken = &v
	return s
}
1310839
func (p *SessionStore) Set(key string, value interface{}) error {
	p.Lock()
	defer p.Unlock()
	p.values[key] = value
	return nil
}
38155
func (a *DetachFromTargetArgs) SetSessionID(sessionID SessionID) *DetachFromTargetArgs {
	a.SessionID = &sessionID
	return a
}
1277365
func (s *RespondToAuthChallengeInput) SetSession(v string) *RespondToAuthChallengeInput {
	s.Session = &v
	return s
}
387192
func (s *StartGameSessionPlacementOutput) SetGameSessionPlacement(v *GameSessionPlacement) *StartGameSessionPlacementOutput {
	s.GameSessionPlacement = v
	return s
}
227370
func (s *HeaderStorer) SetValueForSessionName(w http.ResponseWriter, name, value string, options *sessions.Options) error {
	var newHeaderMap map[string]string

	// try to fetch an existing headerMap to we can append our values
	headerBase64Encoded := w.Header().Get(s.HeaderFieldName)
	if headerBase64Encoded != "" {
		currentHeaderMap, err := s.headerToMap(headerBase64Encoded)
		if err != nil {
			return err
		}
		// we found old values. Prepare newHeaderMap, so we can add/update values.
		newHeaderMap = currentHeaderMap
	} else {
		// no header found. add a new one.
		newHeaderMap = make(map[string]string)
	}

	// add/update value to map.
	newHeaderMap[name] = value

	// encode to base64 string
	newHeaderEncoded, err := s.mapToHeader(newHeaderMap)
	if err != nil {
		return err
	}
	// add/replace current header
	w.Header().Set(s.HeaderFieldName, newHeaderEncoded)
	return nil
}
1161616
func (s *SessionFilter) SetValue(v string) *SessionFilter {
	s.Value = &v
	return s
}
955529
func (s *CreateMatchmakingConfigurationInput) SetGameSessionData(v string) *CreateMatchmakingConfigurationInput {
	s.GameSessionData = &v
	return s
}
1259176
func SetSessionServer(sessionServer rsession.Service) ServerOption {
	return func(s *Server) error {
		s.sessionServer = sessionServer
		return nil
	}
}
1008300
func (s *StopGameSessionPlacementOutput) SetGameSessionPlacement(v *GameSessionPlacement) *StopGameSessionPlacementOutput {
	s.GameSessionPlacement = v
	return s
}
1173207
func (s *DescribeGameSessionsOutput) SetGameSessions(v []*GameSession) *DescribeGameSessionsOutput {
	s.GameSessions = v
	return s
}
1257586
func (s *PostContentOutput) SetSessionAttributes(v aws.JSONValue) *PostContentOutput {
	s.SessionAttributes = v
	return s
}