func (m *SessionToken_Body) SetLifetime(v *SessionToken_Body_TokenLifetime) {
	if m != nil {
		m.Lifetime = v
	}
}
SetLifetime sets lifetime of the session token.
package session
import (
	acl "github.com/nspcc-dev/neofs-api-go/v2/acl/grpc"
	refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc"
)
func (m *XHeader) SetKey(v string) {
	if m != nil {
		m.Key = v
	}
}
func (m *XHeader) SetValue(v string) {
	if m != nil {
		m.Value = v
	}
}
func (m *SessionToken_Body_TokenLifetime) SetExp(v uint64) {
	if m != nil {
		m.Exp = v
	}
}
func (m *SessionToken_Body_TokenLifetime) SetNbf(v uint64) {
	if m != nil {
		m.Nbf = v
	}
}
func (m *SessionToken_Body_TokenLifetime) SetIat(v uint64) {
	if m != nil {
		m.Iat = v
	}
}
func (m *SessionToken_Body) SetId(v []byte) {
	if m != nil {
		m.Id = v
	}
}
func (m *SessionToken_Body) SetOwnerId(v *refs.OwnerID) {
	if m != nil {
		m.OwnerId = v
	}
}