Returns an instance of TeamMembershipState with TeamMembershipState.value equal to the specified value.